* using log directory ‘/srv/hornik/tmp/CRAN_pretest/BayesianFitForecast.Rcheck’ * using R Under development (unstable) (2024-11-29 r87406) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.1 (1) Debian flang-new version 19.1.1 (1) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘BayesianFitForecast/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘BayesianFitForecast’ version ‘1.0.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/4s] NOTE Maintainer: ‘Gerardo Chowell ’ New submission Possibly misspelled words in DESCRIPTION: Grinsztajn (12:382) Karami (12:324) al (12:334, 12:396) et (12:331, 12:393) The Description field should not start with the package name, 'This package' or similar. * 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 ‘BayesianFitForecast’ can be installed ... [11s/11s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ 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 ... [2s/1s] OK * checking whether the package can be loaded with stated dependencies ... [2s/1s] OK * checking whether the package can be unloaded cleanly ... [2s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s/1s] OK * checking whether the namespace can be unloaded cleanly ... [2s/1s] OK * checking loading without being on the library search path ... [3s/3s] 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 ... [9s/6s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [4s/4s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [4s/4s] ERROR Running ‘testthat.R’ [4s/4s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(BayesianFitForecast) > > test_check("BayesianFitForecast") Option file path: /srv/hornik/tmp/CRAN_pretest/BayesianFitForecast.Rcheck/BayesianFitForecast/extdata/option.R Excel file path: /srv/hornik/tmp/CRAN_pretest/BayesianFitForecast.Rcheck/BayesianFitForecast/extdata/SanFrancisco.xlsx Output path: /tmp/Rtmpmthm9e/working_dir/RtmpbX0Gpc Loading required package: StanHeaders rstan version 2.32.6 (Stan version 2.32.2) For execution on a local, multicore CPU with excess RAM we recommend calling options(mc.cores = parallel::detectCores()). To avoid recompilation of unchanged Stan programs, we recommend calling rstan_options(auto_write = TRUE) For within-chain threading using `reduce_sum()` or `map_rect()` Stan functions, change `threads_per_chain` option: rstan_options(threads_per_chain = 1) Error in file(fname, "rt") : cannot open the connection Option file path: /srv/hornik/tmp/CRAN_pretest/BayesianFitForecast.Rcheck/BayesianFitForecast/extdata/option.R Excel file path: /srv/hornik/tmp/CRAN_pretest/BayesianFitForecast.Rcheck/BayesianFitForecast/extdata/SanFrancisco.xlsx Output path: /tmp/Rtmpmthm9e/working_dir/RtmpbX0Gpc Error in file(fname, "rt") : cannot open the connection [ FAIL 2 | WARN 4 | SKIP 0 | PASS 8 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-Run_MCMC.R:25:5'): Run_MCMC works with example files ───────── Expected `Run_MCMC(option_file, excel_file, output_path)` to run without any errors. i Actually got a with text: cannot open model file "/tmp/Rtmpmthm9e/working_dir/RtmpbX0Gpc/ode_model.stan" Backtrace: ▆ 1. └─base::eval(...) 2. └─base::eval(...) 3. └─testthat::expect_no_error(Run_MCMC(option_file, excel_file, output_path)) at test-Run_MCMC.R:25:5 ── Failure ('test-Run_analyzeResults.R:20:5'): Run_MCMC works with example files ── Expected `Run_MCMC(option_file, excel_file, output_path)` to run without any errors. i Actually got a with text: cannot open model file "/tmp/Rtmpmthm9e/working_dir/RtmpbX0Gpc/ode_model.stan" Backtrace: ▆ 1. └─base::eval(...) 2. └─base::eval(...) 3. └─testthat::expect_no_error(Run_MCMC(option_file, excel_file, output_path)) at test-Run_analyzeResults.R:20:5 [ FAIL 2 | WARN 4 | SKIP 0 | PASS 8 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [1s/1s] OK * checking PDF version of manual ... [2s/2s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE