* using log directory ‘/Users/ripley/R/packages/tests-devel/BayesBrainMap.Rcheck’ * using R Under development (unstable) (2026-09-18 r90566) * using platform: aarch64-apple-darwin27.0.0 * R was compiled by Apple clang version 21.0.0 (clang-2100.3.34.2) GNU Fortran (GCC) 14.2.0 * running under: macOS Golden Gate 27.0 * using session charset: UTF-8 * current time: 2026-09-28 15:31:38 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘BayesBrainMap/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘BayesBrainMap’ version ‘0.2.0’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘BayesBrainMap’ can be installed ... WARNING Found the following significant warnings: Note: possible error in 'dual_reg(BOLD, prior$mean, ': argument 4 matches multiple formal arguments See ‘/Users/ripley/R/packages/tests-devel/BayesBrainMap.Rcheck/00install.out’ for details. Information on the location(s) of code generating the ‘Note’s can be obtained by re-running with environment variable R_KEEP_PKG_SOURCE set to ‘yes’. * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE fit_BBM: warning in dual_reg(BOLD, prior$mean, GSR = FALSE, scale = FALSE, hpf = 0): partial argument match of 'scale' to 'scale_by' fit_BBM: possible error in dual_reg(BOLD, prior$mean, GSR = FALSE, scale = FALSE, hpf = 0): argument 4 matches multiple formal arguments * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... ERROR Running examples in ‘BayesBrainMap-Ex.R’ failed The error most likely occurred in: > ### Name: estimate_prior > ### Title: Estimate prior > ### Aliases: estimate_prior estimate_prior.cifti estimate_prior.gifti > ### estimate_prior.nifti > > ### ** Examples > > nT <- 21 > nV <- 140 > nQ <- 6 > mU <- matrix(rnorm(nV*nQ), nrow=nV) > mS <- mU %*% diag(seq(nQ, 1)) %*% matrix(rnorm(nQ*nT), nrow=nQ) > BOLD <- list(B1=mS, B2=mS, B3=mS) > BOLD <- lapply(BOLD, function(x){x + rnorm(nV*nT, sd=.05)}) > template <- mU > estimate_prior(BOLD=BOLD, template=mU, FC_nSamp=2000, usePar=FALSE) Setting `scale_sm_FWHM == 0`. Data input format: numeric matrix Image dimensions: 140 Initial in-mask locations: 140 Number of networks: 6 Number of training subjects: 3 Number of covariates: 0 Including Cholesky-based FC prior with 2000 samples (100 random pivots x 20 samples per pivot). Subject 1 of 3. Reading in data... Dual regression... Error in fMRItools::dual_reg(GICA = template, ...) : argument 3 matches multiple formal arguments Subject 1 was skipped (error). Error in fMRItools::dual_reg(GICA = template, ...) : argument 3 matches multiple formal arguments Error in estimate_prior(BOLD = BOLD, template = mU, FC_nSamp = 2000, usePar = FALSE) : Error on first subject. Check data? Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘run_BayesBrainMap_tests.R’ Running ‘testthat.R’ OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 WARNING, 1 NOTE See ‘/Users/ripley/R/packages/tests-devel/BayesBrainMap.Rcheck/00check.log’ for details. 37.67 real 29.17 user 6.48 sys