Last updated on 2026-04-18 01:51:33 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.1.0 | 20.94 | 301.37 | 322.31 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.1.0 | 17.34 | 260.48 | 277.82 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.1.0 | 36.00 | 389.12 | 425.12 | NOTE | |
| r-devel-linux-x86_64-fedora-gcc | 1.1.0 | 40.00 | 556.27 | 596.27 | NOTE | |
| r-devel-macos-arm64 | 1.1.0 | 3.00 | 71.00 | 74.00 | OK | |
| r-devel-windows-x86_64 | 1.1.0 | 22.00 | 181.00 | 203.00 | ERROR | |
| r-patched-linux-x86_64 | 1.1.0 | 21.91 | 340.90 | 362.81 | OK | |
| r-release-linux-x86_64 | 1.1.0 | 21.60 | 328.98 | 350.58 | OK | |
| r-release-macos-arm64 | 1.1.0 | OK | ||||
| r-release-macos-x86_64 | 1.1.0 | 7.00 | 313.00 | 320.00 | OK | |
| r-release-windows-x86_64 | 1.1.0 | 20.00 | 406.00 | 426.00 | OK | |
| r-oldrel-macos-arm64 | 1.1.0 | OK | ||||
| r-oldrel-macos-x86_64 | 1.1.0 | 8.00 | 269.00 | 277.00 | OK | |
| r-oldrel-windows-x86_64 | 1.1.0 | 26.00 | 362.00 | 388.00 | OK |
Version: 1.1.0
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘gridExtra’ ‘loo’ ‘stringr’ ‘xlsx’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.1.0
Check: tests
Result: ERROR
Running 'testthat.R' [67s]
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: D:/RCompile/CRANpkg/lib/4.6/BayesianFitForecast/extdata/option.R
Excel file path: D:/RCompile/CRANpkg/lib/4.6/BayesianFitForecast/extdata/SanFrancisco.xlsx
Output path: D:\temp\2026_04_17_01_50_00_1722\RtmpQFtx3s
Loading required package: StanHeaders
rstan version 2.32.7 (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)
Do not specify '-march=native' in 'LOCAL_CPPFLAGS' or a Makevars file
specified C++17
make cmd is
make -f "D:/RCompile/recent/R/etc/x64/Makeconf" -f "D:/RCompile/recent/R/share/make/winshlib.mk" CXX='$(CXX17) $(CXX17STD)' CXXFLAGS='$(CXX17FLAGS)' CXXPICFLAGS='$(CXX17PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX17LDFLAGS)' SHLIB_LD='$(SHLIB_CXX17LD)' SHLIB="filec670235340ff.dll" WIN=64 TCLBIN= OBJECTS="filec670235340ff.o"
make would use
make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpQFtx3s'
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/" -I"D:/temp/2026_04_17_01_50_00_1722/Rtmp63drdV/RLIBS_149a02274743e/RcppEigen/include/" -I"D:/temp/2026_04_17_01_50_00_1722/Rtmp63drdV/RLIBS_149a02274743e/RcppEigen/include/unsupported" -I"D:/temp/2026_04_17_01_50_00_1722/Rtmp63drdV/RLIBS_149a02274743e/BH/include" -I"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/" -I"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/" -I"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include/" -DRCPP_PARALLEL_USE_TBB=1 -I"D:/RCompile/CRANpkg/lib/4.6/rstan/include" -DEIGEN_NO_DEBUG -DBOOST_DISABLE_ASSERTS -DBOOST_PENDING_INTEGER_LOG2_HPP -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_HAS_AUTO_PTR_ETC=0 -include "D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/Eigen.hpp" -std=c++1y -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c filec670235340ff.cpp -o filec670235340ff.o
if test "zfilec670235340ff.o" != "z"; then \
if test -e "filec670235340ff-win.def"; then \
echo g++ -shared -s -static-libgcc -o filec670235340ff.dll filec670235340ff-win.def filec670235340ff.o "D:/RCompile/CRANpkg/lib/4.6/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64" -ltbb -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/libs/x64" -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \
g++ -shared -s -static-libgcc -o filec670235340ff.dll filec670235340ff-win.def filec670235340ff.o "D:/RCompile/CRANpkg/lib/4.6/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64" -ltbb -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/libs/x64" -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \
else \
echo EXPORTS > tmp.def; \
nm filec670235340ff.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \
echo g++ -shared -s -static-libgcc -o filec670235340ff.dll tmp.def filec670235340ff.o "D:/RCompile/CRANpkg/lib/4.6/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64" -ltbb -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/libs/x64" -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \
g++ -shared -s -static-libgcc -o filec670235340ff.dll tmp.def filec670235340ff.o "D:/RCompile/CRANpkg/lib/4.6/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64" -ltbb -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/libs/x64" -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \
rm -f tmp.def; \
fi \
fi
make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpQFtx3s'
Saving _problems/test-Run_MCMC-27.R
Data file path: D:/RCompile/CRANpkg/lib/4.6/BayesianFitForecast/extdata
Option file path: D:/RCompile/CRANpkg/lib/4.6/BayesianFitForecast/extdata/option.R
Excel file path: D:/RCompile/CRANpkg/lib/4.6/BayesianFitForecast/extdata/SanFrancisco.xlsx
Output path: D:\temp\2026_04_17_01_50_00_1722\RtmpQFtx3s
This is bayesplot version 1.15.0
- Online documentation and vignettes at mc-stan.org/bayesplot
- bayesplot theme set to bayesplot::theme_default()
* Does _not_ affect other ggplot2 plots
* See ?bayesplot_theme_set for details on theme setting
This is loo version 2.9.0
- Online documentation and vignettes at mc-stan.org/loo
- As of v2.0.0 loo defaults to 1 core but we recommend using as many as possible. Use the 'cores' argument or set options(mc.cores = NUM_CORES) for an entire session.
- Windows 10 users: loo may be very slow if 'mc.cores' is set in your .Rprofile file (see https://github.com/stan-dev/loo/issues/94).
Attaching package: 'loo'
The following object is masked from 'package:rstan':
loo
The following object is masked from 'package:testthat':
compare
Attaching package: 'openxlsx'
The following objects are masked from 'package:xlsx':
createWorkbook, loadWorkbook, read.xlsx, saveWorkbook, write.xlsx
Loaded file: D:\RCompile\CRANpkg\lib\4.6\BayesianFitForecast\extdata/Bayesian-uniform-cal-17-fcst-0-poisson-sanfrancisco-fit.Rdata
No time-dependent templates provided — skipping time-dependent plots.
[ FAIL 1 | WARN 8 | SKIP 0 | PASS 8 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-Run_MCMC.R:25:5'): Run_MCMC works with example files ───────────
Error in `sink(type = "output")`: invalid connection
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
4. │ │ └─testthat:::expect_no_(...)
5. │ │ └─testthat:::quasi_capture(enquo(object), NULL, capture)
6. │ │ ├─testthat (local) .capture(...)
7. │ │ │ ├─base::withRestarts(...)
8. │ │ │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
9. │ │ │ │ └─base (local) doWithOneRestart(return(expr), restart)
10. │ │ │ └─base::withCallingHandlers(...)
11. │ │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
12. │ └─BayesianFitForecast::Run_MCMC(option_file, excel_file, output_path)
13. │ ├─base::tryCatch(...)
14. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. │ └─base::source(temp_file, local = FALSE)
16. │ ├─base::withVisible(eval(ei, envir))
17. │ └─base::eval(ei, envir)
18. │ └─base::eval(ei, envir)
19. └─rstan::stan_model(file.path(output_path, "ode_model.stan"))
20. └─rstan:::cxxfunctionplus(...)
21. └─base::sink(type = "output")
[ FAIL 1 | WARN 8 | SKIP 0 | PASS 8 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64