Last updated on 2026-09-11 17:50:25 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.2.0 | 51.20 | 932.89 | 984.09 | NOTE | |
| r-devel-linux-x86_64-debian-gcc | 0.2.0 | 37.90 | 736.62 | 774.52 | NOTE | |
| r-devel-linux-x86_64-fedora-clang | 0.2.0 | 42.00 | 605.07 | 647.07 | NOTE | |
| r-devel-linux-x86_64-fedora-gcc | 0.2.0 | 41.00 | 644.64 | 685.64 | NOTE | |
| r-devel-windows-x86_64 | 0.2.0 | 57.00 | 788.00 | 845.00 | ERROR | |
| r-patched-linux-x86_64 | 0.2.0 | 52.60 | 937.26 | 989.86 | NOTE | |
| r-release-linux-x86_64 | 0.2.0 | 47.45 | 911.24 | 958.69 | NOTE | |
| r-release-macos-arm64 | 0.2.0 | 14.00 | 210.00 | 224.00 | NOTE | |
| r-release-macos-x86_64 | 0.2.0 | 37.00 | 954.00 | 991.00 | NOTE | |
| r-release-windows-x86_64 | 0.2.0 | 55.00 | 771.00 | 826.00 | ERROR | |
| r-oldrel-macos-arm64 | 0.2.0 | NOTE | ||||
| r-oldrel-macos-x86_64 | 0.2.0 | 33.00 | 1168.00 | 1201.00 | NOTE | |
| r-oldrel-windows-x86_64 | 0.2.0 | 75.00 | 1112.00 | 1187.00 | ERROR |
Version: 0.2.0
Check: DESCRIPTION meta-information
Result: NOTE
Missing dependency on R >= 4.2.0 because package code uses the pipe
placeholder syntax added in R 4.2.0.
File(s) using such syntax:
‘predict.R’ ‘sensitivity.R’ ‘treatment_profile.R’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 0.2.0
Check: tests
Result: ERROR
Running 'testthat.R' [100s]
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(multimedia)
Loading required package: brms
Loading required package: Rcpp
Loading 'brms' package (version 2.23.0). Useful instructions
can be found by typing help('brms'). A more detailed introduction
to the package is available through vignette('brms_overview').
Attaching package: 'brms'
The following object is masked from 'package:stats':
ar
Loading required package: glmnetUtils
Loading required package: ranger
Loading required package: tidyselect
>
> test_check("multimedia")
Bootstrapping direct
Bootstrapping direct
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Compiling Stan program...
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="file3f4a86cb41281.dll" WIN=64 TCLBIN= OBJECTS="file3f4a86cb41281.o"
make would use
make[1]: Entering directory '/d/temp/2026_09_07_09_29_56_3012/Rtmp2N4GOZ'
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.7/Rcpp/include/" -I"D:/temp/2026_09_07_09_29_56_3012/RtmpGQnJR8/RLIBS_411d85de222c7/RcppEigen/include/" -I"D:/temp/2026_09_07_09_29_56_3012/RtmpGQnJR8/RLIBS_411d85de222c7/RcppEigen/include/unsupported" -I"D:/temp/2026_09_07_09_29_56_3012/RtmpGQnJR8/RLIBS_411d85de222c7/BH/include" -I"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/include/src/" -I"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/include/" -I"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/include/" -DRCPP_PARALLEL_USE_TBB=1 -DTBB_INTERFACE_NEW -ID:/RCompile/CRANpkg/lib/4.7/RcppParallel/include -I"D:/RCompile/CRANpkg/lib/4.7/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.7/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 file3f4a86cb41281.cpp -o file3f4a86cb41281.o
if test "zfile3f4a86cb41281.o" != "z"; then \
if test -e "file3f4a86cb41281-win.def"; then \
echo g++ -shared -s -static-libgcc -o file3f4a86cb41281.dll file3f4a86cb41281-win.def file3f4a86cb41281.o "D:/RCompile/CRANpkg/lib/4.7/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.7/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 file3f4a86cb41281.dll file3f4a86cb41281-win.def file3f4a86cb41281.o "D:/RCompile/CRANpkg/lib/4.7/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.7/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 file3f4a86cb41281.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 file3f4a86cb41281.dll tmp.def file3f4a86cb41281.o "D:/RCompile/CRANpkg/lib/4.7/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.7/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 file3f4a86cb41281.dll tmp.def file3f4a86cb41281.o "D:/RCompile/CRANpkg/lib/4.7/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.7/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_09_07_09_29_56_3012/Rtmp2N4GOZ'
Saving _problems/test-estimators-29.R
Fitting the nullified model...
Generating synthetic data...
Fitting the full model on synthetic data...
Estimating effects on real and synthetic data...
Fitting the nullified model...
Generating synthetic data...
Fitting the full model on synthetic data...
Estimating effects on real and synthetic data...
Fitting the nullified model...
Generating synthetic data...
Fitting the full model on synthetic data...
Estimating effects on real and synthetic data...
Fitting the nullified model...
Generating synthetic data...
Fitting the full model on synthetic data...
Estimating effects on real and synthetic data...
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
[ FAIL 2 | WARN 11 | SKIP 0 | PASS 86 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-estimators.R:29:5'): Can compile and estimate a BRMS model. ────
Error in `compileCode(f, code, language = language, verbose = verbose)`: l = model3f4a83ff67b1a__namespace::model3f4a83ff67b1a_; BaseRNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >]'
22 | return 0.5 * z.p.transpose() * z.inv_e_metric_ * z.p;
D:/RCompile/CRANpkg/lib/4.7/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/dense_e_metric.hpp:21:0: required from here
21 | double T(dense_e_point& z) {
D:/RCompile/CRANpkg/lib/4.7/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: file3f4a86cb41281.o] Error 1
Backtrace:
▆
1. └─multimedia::estimate(model, exper) at test-estimators.R:29:5
2. └─multimedia (local) outcome_est(f, data)
3. ├─rlang::inject(brm_cache(fmla, data, !!!params))
4. └─multimedia:::brm_cache(fmla, data, chains = 1, refresh = 0, silent = 0)
5. └─brms::brm(sub_formula(formula, ys[1]), data, ...)
6. └─brms::do_call(compile_model, compile_args)
7. └─brms:::eval2(call, envir = args, enclos = envir)
8. └─base::eval(expr, envir, ...)
9. └─base::eval(expr, envir, ...)
10. └─brms (local) .fun(...)
11. └─brms (local) .compile_model(model, ...)
12. ├─brms:::eval_silent(...)
13. │ └─base::eval(expr, envir)
14. │ └─base::eval(expr, envir)
15. └─brms::do_call(rstan::stan_model, args)
16. └─brms:::eval2(call, envir = args, enclos = envir)
17. └─base::eval(expr, envir, ...)
18. └─base::eval(expr, envir, ...)
19. └─rstan (local) .fun(model_code = .x1)
20. └─rstan:::cxxfunctionplus(...)
21. ├─pkgbuild::with_build_tools(...)
22. │ └─pkgbuild:::withr_with_path(rtools_path(), code)
23. │ └─base::force(code)
24. └─inline::cxxfunction(...)
25. └─inline:::compileCode(f, code, language = language, verbose = verbose)
── Error ('test-estimators.R:29:5'): Can compile and estimate a BRMS model. ────
Error in `sink(type = "output")`: invalid connection
Backtrace:
▆
1. └─multimedia::estimate(model, exper) at test-estimators.R:29:5
2. └─multimedia (local) outcome_est(f, data)
3. ├─rlang::inject(brm_cache(fmla, data, !!!params))
4. └─multimedia:::brm_cache(fmla, data, chains = 1, refresh = 0, silent = 0)
5. └─brms::brm(sub_formula(formula, ys[1]), data, ...)
6. └─brms::do_call(compile_model, compile_args)
7. └─brms:::eval2(call, envir = args, enclos = envir)
8. └─base::eval(expr, envir, ...)
9. └─base::eval(expr, envir, ...)
10. └─brms (local) .fun(...)
11. └─brms (local) .compile_model(model, ...)
12. ├─brms:::eval_silent(...)
13. │ └─base::eval(expr, envir)
14. │ └─base::eval(expr, envir)
15. └─brms::do_call(rstan::stan_model, args)
16. └─brms:::eval2(call, envir = args, enclos = envir)
17. └─base::eval(expr, envir, ...)
18. └─base::eval(expr, envir, ...)
19. └─rstan (local) .fun(model_code = .x1)
20. └─rstan:::cxxfunctionplus(...)
21. └─base::sink(type = "output")
[ FAIL 2 | WARN 11 | SKIP 0 | PASS 86 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.2.0
Check: tests
Result: ERROR
Running 'testthat.R' [98s]
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(multimedia)
Loading required package: brms
Loading required package: Rcpp
Loading 'brms' package (version 2.23.0). Useful instructions
can be found by typing help('brms'). A more detailed introduction
to the package is available through vignette('brms_overview').
Attaching package: 'brms'
The following object is masked from 'package:stats':
ar
Loading required package: glmnetUtils
Loading required package: ranger
Loading required package: tidyselect
>
> test_check("multimedia")
Bootstrapping direct
Bootstrapping direct
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Compiling Stan program...
specified C++17
make cmd is
make -f "D:/RCompile/recent/R-4.6.1/etc/x64/Makeconf" -f "D:/RCompile/recent/R-4.6.1/share/make/winshlib.mk" CXX='$(CXX17) $(CXX17STD)' CXXFLAGS='$(CXX17FLAGS)' CXXPICFLAGS='$(CXX17PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX17LDFLAGS)' SHLIB_LD='$(SHLIB_CXX17LD)' SHLIB="file3a3b44eb37ca3.dll" WIN=64 TCLBIN= OBJECTS="file3a3b44eb37ca3.o"
make would use
make[1]: Entering directory '/d/temp/2026_09_09_01_50_00_18435/RtmpOOD1ri'
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpGyUp85/RLIBS_4c4d0183270fe/RcppEigen/include/" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpGyUp85/RLIBS_4c4d0183270fe/RcppEigen/include/unsupported" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpGyUp85/RLIBS_4c4d0183270fe/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 -DTBB_INTERFACE_NEW -ID:/RCompile/CRANpkg/lib/4.6/RcppParallel/include -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 file3a3b44eb37ca3.cpp -o file3a3b44eb37ca3.o
if test "zfile3a3b44eb37ca3.o" != "z"; then \
if test -e "file3a3b44eb37ca3-win.def"; then \
echo g++ -shared -s -static-libgcc -o file3a3b44eb37ca3.dll file3a3b44eb37ca3-win.def file3a3b44eb37ca3.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 -LD:/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-4.6.1/bin/x64" -lR ; \
g++ -shared -s -static-libgcc -o file3a3b44eb37ca3.dll file3a3b44eb37ca3-win.def file3a3b44eb37ca3.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 -LD:/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-4.6.1/bin/x64" -lR ; \
else \
echo EXPORTS > tmp.def; \
nm file3a3b44eb37ca3.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 file3a3b44eb37ca3.dll tmp.def file3a3b44eb37ca3.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 -LD:/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-4.6.1/bin/x64" -lR ; \
g++ -shared -s -static-libgcc -o file3a3b44eb37ca3.dll tmp.def file3a3b44eb37ca3.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 -LD:/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-4.6.1/bin/x64" -lR ; \
rm -f tmp.def; \
fi \
fi
make[1]: Leaving directory '/d/temp/2026_09_09_01_50_00_18435/RtmpOOD1ri'
Saving _problems/test-estimators-29.R
Fitting the nullified model...
Generating synthetic data...
Fitting the full model on synthetic data...
Estimating effects on real and synthetic data...
Fitting the nullified model...
Generating synthetic data...
Fitting the full model on synthetic data...
Estimating effects on real and synthetic data...
Fitting the nullified model...
Generating synthetic data...
Fitting the full model on synthetic data...
Estimating effects on real and synthetic data...
Fitting the nullified model...
Generating synthetic data...
Fitting the full model on synthetic data...
Estimating effects on real and synthetic data...
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
[ FAIL 2 | WARN 1 | SKIP 0 | PASS 86 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-estimators.R:29:5'): Can compile and estimate a BRMS model. ────
Error in `compileCode(f, code, language = language, verbose = verbose)`: del3a3b4389f3ae7__namespace::model3a3b4389f3ae7_; BaseRNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >]'
22 | return 0.5 * z.p.transpose() * z.inv_e_metric_ * z.p;
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/dense_e_metric.hpp:21:0: required from here
21 | double T(dense_e_point& z) {
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
make[1]: *** [D:/RCompile/recent/R-4.6.1/etc/x64/Makeconf:304: file3a3b44eb37ca3.o] Error 1
Backtrace:
▆
1. └─multimedia::estimate(model, exper) at test-estimators.R:29:5
2. └─multimedia (local) outcome_est(f, data)
3. ├─rlang::inject(brm_cache(fmla, data, !!!params))
4. └─multimedia:::brm_cache(fmla, data, chains = 1, refresh = 0, silent = 0)
5. └─brms::brm(sub_formula(formula, ys[1]), data, ...)
6. └─brms::do_call(compile_model, compile_args)
7. └─brms:::eval2(call, envir = args, enclos = envir)
8. └─base::eval(expr, envir, ...)
9. └─base::eval(expr, envir, ...)
10. └─brms (local) .fun(...)
11. └─brms (local) .compile_model(model, ...)
12. ├─brms:::eval_silent(...)
13. │ └─base::eval(expr, envir)
14. │ └─base::eval(expr, envir)
15. └─brms::do_call(rstan::stan_model, args)
16. └─brms:::eval2(call, envir = args, enclos = envir)
17. └─base::eval(expr, envir, ...)
18. └─base::eval(expr, envir, ...)
19. └─rstan (local) .fun(model_code = .x1)
20. └─rstan:::cxxfunctionplus(...)
21. ├─pkgbuild::with_build_tools(...)
22. │ └─pkgbuild:::withr_with_path(rtools_path(), code)
23. │ └─base::force(code)
24. └─inline::cxxfunction(...)
25. └─inline:::compileCode(f, code, language = language, verbose = verbose)
── Error ('test-estimators.R:29:5'): Can compile and estimate a BRMS model. ────
Error in `sink(type = "output")`: invalid connection
Backtrace:
▆
1. └─multimedia::estimate(model, exper) at test-estimators.R:29:5
2. └─multimedia (local) outcome_est(f, data)
3. ├─rlang::inject(brm_cache(fmla, data, !!!params))
4. └─multimedia:::brm_cache(fmla, data, chains = 1, refresh = 0, silent = 0)
5. └─brms::brm(sub_formula(formula, ys[1]), data, ...)
6. └─brms::do_call(compile_model, compile_args)
7. └─brms:::eval2(call, envir = args, enclos = envir)
8. └─base::eval(expr, envir, ...)
9. └─base::eval(expr, envir, ...)
10. └─brms (local) .fun(...)
11. └─brms (local) .compile_model(model, ...)
12. ├─brms:::eval_silent(...)
13. │ └─base::eval(expr, envir)
14. │ └─base::eval(expr, envir)
15. └─brms::do_call(rstan::stan_model, args)
16. └─brms:::eval2(call, envir = args, enclos = envir)
17. └─base::eval(expr, envir, ...)
18. └─base::eval(expr, envir, ...)
19. └─rstan (local) .fun(model_code = .x1)
20. └─rstan:::cxxfunctionplus(...)
21. └─base::sink(type = "output")
[ FAIL 2 | WARN 1 | SKIP 0 | PASS 86 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-windows-x86_64
Version: 0.2.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'illustration.Rmd' using rmarkdown
Warning: stack imbalance in '::', 112 then 114
Warning: stack imbalance in 'list', 108 then 110
Warning: stack imbalance in '=', 106 then 108
Warning: stack imbalance in '{', 102 then 104
Warning: stack imbalance in 'names', 99 then 101
Warning: stack imbalance in '{', 90 then 92
Warning: stack imbalance in 'if', 88 then 90
Warning: stack imbalance in '{', 84 then 86
Warning: stack imbalance in 'if', 82 then 84
Warning: stack imbalance in '{', 78 then 80
Warning: stack imbalance in '=', 73 then 75
Warning: stack imbalance in '{', 69 then 71
Warning: stack imbalance in 'withVisible', 59 then 61
Quitting from illustration.Rmd:236-248 [bootstraps]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<1b>[1m<1b>[34m<error/rlang_error><1b>[39m<1b>[22m
<1b>[1m<1b>[33mError<1b>[39m in <1b>[1m<1b>[94m`readRDS()`<1b>[39m<1b>[1m:<1b>[22m
<1b>[33m!<1b>[39m unknown input format
---
<1b>[1mBacktrace:<1b>[22m
<1b>[90m <1b>[39m▆
<1b>[90m 1. <1b>[39m└─<1b>[1mbase<1b>[22m::readRDS(url("https://go.wisc.edu/977l04"))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'illustration.Rmd' failed with diagnostics:
unknown input format
--- failed re-building 'illustration.Rmd'
--- re-building 'random.Rmd' using rmarkdown
Warning: stack imbalance in '::', 112 then 114
Warning: stack imbalance in 'list', 108 then 110
Warning: stack imbalance in '=', 106 then 108
Warning: stack imbalance in '{', 102 then 104
Warning: stack imbalance in 'names', 99 then 101
Warning: stack imbalance in '{', 90 then 92
Warning: stack imbalance in 'if', 88 then 90
Warning: stack imbalance in '{', 84 then 86
Warning: stack imbalance in 'if', 82 then 84
Warning: stack imbalance in '{', 78 then 80
Warning: stack imbalance in '=', 73 then 75
Warning: stack imbalance in '{', 69 then 71
Warning: stack imbalance in 'withVisible', 59 then 61
--- finished re-building 'random.Rmd'
SUMMARY: processing the following file failed:
'illustration.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavor: r-release-windows-x86_64
Version: 0.2.0
Check: tests
Result: ERROR
Running 'testthat.R' [130s]
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(multimedia)
Loading required package: brms
Loading required package: Rcpp
Loading 'brms' package (version 2.23.0). Useful instructions
can be found by typing help('brms'). A more detailed introduction
to the package is available through vignette('brms_overview').
Attaching package: 'brms'
The following object is masked from 'package:stats':
ar
Loading required package: glmnetUtils
Loading required package: ranger
Loading required package: tidyselect
>
> test_check("multimedia")
Bootstrapping direct
Bootstrapping direct
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Compiling Stan program...
make cmd is
make -f "D:/RCompile/recent/R-4.5.3/etc/x64/Makeconf" -f "D:/RCompile/recent/R-4.5.3/share/make/winshlib.mk" CXX='$(CXX17) $(CXX17STD)' CXXFLAGS='$(CXX17FLAGS)' CXXPICFLAGS='$(CXX17PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX17LDFLAGS)' SHLIB_LD='$(SHLIB_CXX17LD)' SHLIB="file720873736144.dll" WIN=64 TCLBIN= OBJECTS="file720873736144.o"
make would use
make[1]: Entering directory '/d/temp/2026_09_09_01_50_00_18435/Rtmp0CXjtn'
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpyeNdX7/RLIBS_4e8460ae320/RcppEigen/include/" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpyeNdX7/RLIBS_4e8460ae320/RcppEigen/include/unsupported" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpyeNdX7/RLIBS_4e8460ae320/BH/include" -I"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/include/src/" -I"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/include/" -I"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/include/" -DRCPP_PARALLEL_USE_TBB=1 -DTBB_INTERFACE_NEW -ID:/RCompile/CRANpkg/lib/4.5/RcppParallel/include -I"D:/RCompile/CRANpkg/lib/4.5/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.5/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 file720873736144.cpp -o file720873736144.o
if test "zfile720873736144.o" != "z"; then \
if test -e "file720873736144-win.def"; then \
echo g++ -shared -s -static-libgcc -o file720873736144.dll file720873736144-win.def file720873736144.o "D:/RCompile/CRANpkg/lib/4.5/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.5/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-4.5.3/bin/x64" -lR ; \
g++ -shared -s -static-libgcc -o file720873736144.dll file720873736144-win.def file720873736144.o "D:/RCompile/CRANpkg/lib/4.5/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.5/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-4.5.3/bin/x64" -lR ; \
else \
echo EXPORTS > tmp.def; \
nm file720873736144.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 file720873736144.dll tmp.def file720873736144.o "D:/RCompile/CRANpkg/lib/4.5/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.5/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-4.5.3/bin/x64" -lR ; \
g++ -shared -s -static-libgcc -o file720873736144.dll tmp.def file720873736144.o "D:/RCompile/CRANpkg/lib/4.5/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.5/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-4.5.3/bin/x64" -lR ; \
rm -f tmp.def; \
fi \
fi
make[1]: Leaving directory '/d/temp/2026_09_09_01_50_00_18435/Rtmp0CXjtn'
Saving _problems/test-estimators-29.R
Fitting the nullified model...
Generating synthetic data...
Fitting the full model on synthetic data...
Estimating effects on real and synthetic data...
Fitting the nullified model...
Generating synthetic data...
Fitting the full model on synthetic data...
Estimating effects on real and synthetic data...
Fitting the nullified model...
Generating synthetic data...
Fitting the full model on synthetic data...
Estimating effects on real and synthetic data...
Fitting the nullified model...
Generating synthetic data...
Fitting the full model on synthetic data...
Estimating effects on real and synthetic data...
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
Indirect effects for direct setting 1
Indirect effects for direct setting 2
[ FAIL 2 | WARN 1 | SKIP 0 | PASS 86 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-estimators.R:29:5'): Can compile and estimate a BRMS model. ────
Error in `compileCode(f, code, language = language, verbose = verbose)`: model72085e883fec__namespace::model72085e883fec_; BaseRNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >]'
22 | return 0.5 * z.p.transpose() * z.inv_e_metric_ * z.p;
D:/RCompile/CRANpkg/lib/4.5/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/dense_e_metric.hpp:21:0: required from here
21 | double T(dense_e_point& z) {
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
make[1]: *** [D:/RCompile/recent/R-4.5.3/etc/x64/Makeconf:302: file720873736144.o] Error 1
Backtrace:
▆
1. └─multimedia::estimate(model, exper) at test-estimators.R:29:5
2. └─multimedia (local) outcome_est(f, data)
3. ├─rlang::inject(brm_cache(fmla, data, !!!params))
4. └─multimedia:::brm_cache(fmla, data, chains = 1, refresh = 0, silent = 0)
5. └─brms::brm(sub_formula(formula, ys[1]), data, ...)
6. └─brms::do_call(compile_model, compile_args)
7. └─brms:::eval2(call, envir = args, enclos = envir)
8. └─base::eval(expr, envir, ...)
9. └─base::eval(expr, envir, ...)
10. └─brms (local) .fun(...)
11. └─brms (local) .compile_model(model, ...)
12. ├─brms:::eval_silent(...)
13. │ └─base::eval(expr, envir)
14. │ └─base::eval(expr, envir)
15. └─brms::do_call(rstan::stan_model, args)
16. └─brms:::eval2(call, envir = args, enclos = envir)
17. └─base::eval(expr, envir, ...)
18. └─base::eval(expr, envir, ...)
19. └─rstan (local) .fun(model_code = .x1)
20. └─rstan:::cxxfunctionplus(...)
21. ├─pkgbuild::with_build_tools(...)
22. │ └─pkgbuild:::withr_with_path(rtools_path(), code)
23. │ └─base::force(code)
24. └─inline::cxxfunction(...)
25. └─inline:::compileCode(f, code, language = language, verbose = verbose)
── Error ('test-estimators.R:29:5'): Can compile and estimate a BRMS model. ────
Error in `sink(type = "output")`: invalid connection
Backtrace:
▆
1. └─multimedia::estimate(model, exper) at test-estimators.R:29:5
2. └─multimedia (local) outcome_est(f, data)
3. ├─rlang::inject(brm_cache(fmla, data, !!!params))
4. └─multimedia:::brm_cache(fmla, data, chains = 1, refresh = 0, silent = 0)
5. └─brms::brm(sub_formula(formula, ys[1]), data, ...)
6. └─brms::do_call(compile_model, compile_args)
7. └─brms:::eval2(call, envir = args, enclos = envir)
8. └─base::eval(expr, envir, ...)
9. └─base::eval(expr, envir, ...)
10. └─brms (local) .fun(...)
11. └─brms (local) .compile_model(model, ...)
12. ├─brms:::eval_silent(...)
13. │ └─base::eval(expr, envir)
14. │ └─base::eval(expr, envir)
15. └─brms::do_call(rstan::stan_model, args)
16. └─brms:::eval2(call, envir = args, enclos = envir)
17. └─base::eval(expr, envir, ...)
18. └─base::eval(expr, envir, ...)
19. └─rstan (local) .fun(model_code = .x1)
20. └─rstan:::cxxfunctionplus(...)
21. └─base::sink(type = "output")
[ FAIL 2 | WARN 1 | SKIP 0 | PASS 86 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-windows-x86_64