CRAN Package Check Results for Package bhmbasket

Last updated on 2022-01-22 05:10:10 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.4 5.31 80.00 85.31 OK
r-devel-linux-x86_64-debian-gcc 0.9.4 3.79 58.38 62.17 OK
r-devel-linux-x86_64-fedora-clang 0.9.4 83.13 OK
r-devel-linux-x86_64-fedora-gcc 0.9.4 55.56 OK
r-devel-windows-x86_64-new-UL 0.9.4 74.00 108.00 182.00 OK
r-devel-windows-x86_64-new-TK 0.9.3 OK
r-patched-linux-x86_64 0.9.3 5.46 71.23 76.69 OK
r-release-linux-x86_64 0.9.4 4.98 76.32 81.30 OK
r-release-macos-arm64 0.9.3 OK
r-release-macos-x86_64 0.9.4 ERROR
r-release-windows-ix86+x86_64 0.9.4 9.00 92.00 101.00 OK
r-oldrel-macos-x86_64 0.9.3 OK
r-oldrel-windows-ix86+x86_64 0.9.4 9.00 93.00 102.00 OK

Check Details

Version: 0.9.4
Check: examples
Result: ERROR
    Running examples in ‘bhmbasket-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: continueRecruitment
    > ### Title: continueRecruitment
    > ### Aliases: continueRecruitment
    >
    > ### ** Examples
    >
    > interim_scenarios <- simulateScenarios(
    + n_subjects_list = list(c(10, 20, 30)),
    + response_rates_list = list(rep(0.9, 3)),
    + n_trials = 10)
    >
    > interim_analyses <- performAnalyses(
    + scenario_list = interim_scenarios,
    + target_rates = rep(0.5, 3),
    + n_mcmc_iterations = 100)
    
    Caution: No parallel backend detected for the 'foreach' framework. For execution in parallel, register a parallel backend, e.g. with:
     n_cores <- parallel::detectCores() - 1L
     cl <- parallel::makeCluster(n_cores)
     doParallel::registerDoParallel(cl)
    
    20-Jan-2022 Performing Analyses
     Analyzing Scenario 1 (10 unique trial realizations)
     06:26 - with Berry ...........
    Loading required package: rjags
    Loading required package: coda
    Error: package or namespace load failed for ‘rjags’:
     .onLoad failed in loadNamespace() for 'rjags', details:
     call: dyn.load(file, DLLpath = DLLpath, ...)
     error: unable to load shared object '/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/rjags/libs/rjags.so':
     dlopen(/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/rjags/libs/rjags.so, 10): Library not loaded: /usr/local/lib/libjags.4.dylib
     Referenced from: /Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/rjags/libs/rjags.so
     Reason: image not found
    Error: package ‘rjags’ could not be loaded
    Execution halted
Flavor: r-release-macos-x86_64