CRAN Package Check Results for Maintainer ‘Stephan Wojciekowski <stephan.wojciekowski at boehringer-ingelheim.com>’

Last updated on 2022-04-24 03:53:05 CEST.

Package ERROR OK
bhmbasket 2 10

Package bhmbasket

Current CRAN status: ERROR: 2, OK: 10

Version: 0.9.5
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:
     doFuture::registerDoFuture()
     future::plan(future::multisession)
    
    21-Apr-2022 Performing Analyses
     Analyzing Scenario 1 (10 unique trial realizations)
     06:31 - 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
Flavors: r-release-macos-x86_64, r-oldrel-macos-x86_64