- using R version 3.6.3 (2020-02-29)
- using platform: x86_64-w64-mingw32 (64-bit)
- using session charset: ISO8859-1
- checking for file 'bridgesampling/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'bridgesampling' version '1.0-0'
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'bridgesampling' can be installed ... OK
- checking installed package size ... OK
- checking package directory ... 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 R 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 ... [10s] OK
- 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 contents of 'data' directory ... OK
- checking data for non-ASCII characters ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking sizes of PDF files under 'inst/doc' ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [4s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [123s] ERROR
Running 'testthat.R' [122s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> Sys.setenv("R_TESTS" = "")
> library(testthat)
>
> test_check("bridgesampling")
Loading required package: bridgesampling
Median of 10 bridge sampling estimates
of the log marginal likelihood: 4293.156
Range of estimates: 4290.976 to 4294.028
Interquartile range: 1.62594
Method: normal
make cmd is
make -f "D:/RCompile/recent/R-36~1.3/etc/x64/Makeconf" -f "D:/RCompile/recent/R-36~1.3/etc/x64/Makevars.site" -f "D:/RCompile/recent/R-36~1.3/share/make/winshlib.mk" CXX='$(CXX11) $(CXX11STD)' CXXFLAGS='$(CXX11FLAGS)' CXXPICFLAGS='$(CXX11PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX11LDFLAGS)' SHLIB_LD='$(SHLIB_CXX11LD)' SHLIB="file19878b81358d.dll" WIN=64 TCLBIN=64 OBJECTS="file19878b81358d.o"
make would use
make[1]: Entering directory `/cygdrive/d/temp/RtmpKQWpqz'
if test "zfile19878b81358d.o" != "z"; then \
if test -e "file19878b81358d-win.def"; then \
echo d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -shared -s -static-libgcc -o file19878b81358d.dll file19878b81358d-win.def file19878b81358d.o -L"d:/Compiler/gcc-4.9.3/local330/lib/x64" -L"d:/Compiler/gcc-4.9.3/local330/lib" -L"D:/RCompile/recent/R-36~1.3/bin/x64" -lR ; \
d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -shared -s -static-libgcc -o file19878b81358d.dll file19878b81358d-win.def file19878b81358d.o -L"d:/Compiler/gcc-4.9.3/local330/lib/x64" -L"d:/Compiler/gcc-4.9.3/local330/lib" -L"D:/RCompile/recent/R-36~1.3/bin/x64" -lR ; \
else \
echo EXPORTS > tmp.def; \
d:/Compiler/gcc-4.9.3/mingw_64/bin/nm file19878b81358d.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \
echo d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -shared -s -static-libgcc -o file19878b81358d.dll tmp.def file19878b81358d.o -L"d:/Compiler/gcc-4.9.3/local330/lib/x64" -L"d:/Compiler/gcc-4.9.3/local330/lib" -L"D:/RCompile/recent/R-36~1.3/bin/x64" -lR ; \
d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -shared -s -static-libgcc -o file19878b81358d.dll tmp.def file19878b81358d.o -L"d:/Compiler/gcc-4.9.3/local330/lib/x64" -L"d:/Compiler/gcc-4.9.3/local330/lib" -L"D:/RCompile/recent/R-36~1.3/bin/x64" -lR ; \
rm -f tmp.def; \
fi \
fi
make[1]: Leaving directory `/cygdrive/d/temp/RtmpKQWpqz'
starting worker pid=20760 on localhost:11125 at 02:11:53.974
starting worker pid=26076 on localhost:11125 at 02:11:54.239
SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
Chain 1:
Chain 1: Gradient evaluation took 0 seconds
Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
Chain 1: Adjust your expectations accordingly!
Chain 1:
Chain 1:
Chain 1: Iteration: 1 / 5000 [ 0%] (Warmup)
Chain 1: Iteration: 500 / 5000 [ 10%] (Warmup)
Chain 1: Iteration: 1000 / 5000 [ 20%] (Warmup)
Chain 1: Iteration: 1500 / 5000 [ 30%] (Warmup)
Chain 1: Iteration: 2000 / 5000 [ 40%] (Warmup)
Chain 1: Iteration: 2500 / 5000 [ 50%] (Warmup)
Chain 1: Iteration: 2501 / 5000 [ 50%] (Sampling)
Chain 1: Iteration: 3000 / 5000 [ 60%] (Sampling)
SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
Chain 2:
Chain 2: Gradient evaluation took 0 seconds
Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
Chain 2: Adjust your expectations accordingly!
Chain 2:
Chain 2:
Chain 2: Iteration: 1 / 5000 [ 0%] (Warmup)
Chain 2: Iteration: 500 / 5000 [ 10%] (Warmup)
Chain 1: Iteration: 3500 / 5000 [ 70%] (Sampling)
Chain 2: Iteration: 1000 / 5000 [ 20%] (Warmup)
Chain 2: Iteration: 1500 / 5000 [ 30%] (Warmup)
Chain 2: Iteration: 2000 / 5000 [ 40%] (Warmup)
Chain 1: Iteration: 4000 / 5000 [ 80%] (Sampling)
Chain 2: Iteration: 2500 / 5000 [ 50%] (Warmup)
Chain 2: Iteration: 2501 / 5000 [ 50%] (Sampling)
Chain 1: Iteration: 4500 / 5000 [ 90%] (Sampling)
Chain 2: Iteration: 3000 / 5000 [ 60%] (Sampling)
Chain 1: Iteration: 5000 / 5000 [100%] (Sampling)
Chain 1:
Chain 1: Elapsed Time: 0.359 seconds (Warm-up)
Chain 1: 1.455 seconds (Sampling)
Chain 1: 1.814 seconds (Total)
Chain 1:
Chain 2: Iteration: 3500 / 5000 [ 70%] (Sampling)
Chain 2: Iteration: 4000 / 5000 [ 80%] (Sampling)
Chain 2: Iteration: 4500 / 5000 [ 90%] (Sampling)
Chain 2: Iteration: 5000 / 5000 [100%] (Sampling)
Chain 2:
Chain 2: Elapsed Time: 0.515 seconds (Warm-up)
Chain 2: 1.466 seconds (Sampling)
Chain 2: 1.981 seconds (Total)
Chain 2:
Iteration: 1
Iteration: 2
Iteration: 3
Iteration: 4
Iteration: 5
starting worker pid=26964 on localhost:11125 at 02:12:12.239
starting worker pid=37080 on localhost:11125 at 02:12:12.598
SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
Chain 1:
Chain 1: Gradient evaluation took 0 seconds
Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
Chain 1: Adjust your expectations accordingly!
Chain 1:
Chain 1:
Chain 1: Iteration: 1 / 5000 [ 0%] (Warmup)
Chain 1: Iteration: 500 / 5000 [ 10%] (Warmup)
Chain 1: Iteration: 1000 / 5000 [ 20%] (Warmup)
Chain 1: Iteration: 1500 / 5000 [ 30%] (Warmup)
Chain 1: Iteration: 2000 / 5000 [ 40%] (Warmup)
Chain 1: Iteration: 2500 / 5000 [ 50%] (Warmup)
Chain 1: Iteration: 2501 / 5000 [ 50%] (Sampling)
SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
Chain 2:
Chain 2: Gradient evaluation took 0 seconds
Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
Chain 2: Adjust your expectations accordingly!
Chain 2:
Chain 2:
Chain 2: Iteration: 1 / 5000 [ 0%] (Warmup)
Chain 2: Iteration: 500 / 5000 [ 10%] (Warmup)
Chain 1: Iteration: 3000 / 5000 [ 60%] (Sampling)
Chain 2: Iteration: 1000 / 5000 [ 20%] (Warmup)
Chain 2: Iteration: 1500 / 5000 [ 30%] (Warmup)
Chain 1: Iteration: 3500 / 5000 [ 70%] (Sampling)
Chain 2: Iteration: 2000 / 5000 [ 40%] (Warmup)
Chain 2: Iteration: 2500 / 5000 [ 50%] (Warmup)
Chain 2: Iteration: 2501 / 5000 [ 50%] (Sampling)
Chain 1: Iteration: 4000 / 5000 [ 80%] (Sampling)
Chain 2: Iteration: 3000 / 5000 [ 60%] (Sampling)
Chain 1: Iteration: 4500 / 5000 [ 90%] (Sampling)
Chain 2: Iteration: 3500 / 5000 [ 70%] (Sampling)
Chain 1: Iteration: 5000 / 5000 [100%] (Sampling)
Chain 1:
Chain 1: Elapsed Time: 0.733 seconds (Warm-up)
Chain 1: 1.669 seconds (Sampling)
Chain 1: 2.402 seconds (Total)
Chain 1:
Chain 2: Iteration: 4000 / 5000 [ 80%] (Sampling)
Chain 2: Iteration: 4500 / 5000 [ 90%] (Sampling)
Chain 2: Iteration: 5000 / 5000 [100%] (Sampling)
Chain 2:
Chain 2: Elapsed Time: 0.764 seconds (Warm-up)
Chain 2: 1.685 seconds (Sampling)
Chain 2: 2.449 seconds (Total)
Chain 2:
Iteration: 1
Iteration: 2
Iteration: 3
Iteration: 4
== Skipped tests ===============================================================
* On CRAN (13)
== Failed tests ================================================================
-- Error (???): stan_bridge_sampler --------------------------------------------
Error: file19878b81358d.o:file19878b81358d.cpp:(.text$_ZN3tbb8internal26task_scheduler_observer_v3D1Ev[_ZN3tbb8internal26task_scheduler_observer_v3D1Ev]+0x14): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'file19878b81358d.o:file19878b81358d.cpp:(.text$_ZN3tbb8internal26task_scheduler_observer_v3D0Ev[_ZN3tbb8internal26task_scheduler_observer_v3D0Ev]+0x1c): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'file19878b81358d.o:file19878b81358d.cpp:(.text$_ZN4stan4math16ad_tape_observerD1Ev[_ZN4stan4math16ad_tape_observerD1Ev]+0x15): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'file19878b81358d.o:file19878b81358d.cpp:(.text$_ZN4stan4math16ad_tape_observerD1Ev[_ZN4stan4math16ad_tape_observerD1Ev]+0x47): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'file19878b81358d.o:file19878b81358d.cpp:(.text$_ZN4stan4math16ad_tape_observerD0Ev[_ZN4stan4math16ad_tape_observerD0Ev]+0x15): more undefined references to `tbb::internal::task_scheduler_observer_v3::observe(bool)' followcollect2.exe: error: ld returned 1 exit status
Backtrace:
x
1. +-base::suppressMessages(...)
2. | \-base::withCallingHandlers(expr, message = function(c) invokeRestart("muffleMessage"))
3. \-rstan::stan_model(model_code = stancodeH0, model_name = "stanmodel")
4. \-rstan:::cxxfunctionplus(...)
5. +-pkgbuild::with_build_tools(...)
6. | \-withr::with_path(rtools_path(), code)
7. | \-base::force(code)
8. \-inline::cxxfunction(...)
9. \-inline:::compileCode(f, code, language = language, verbose = verbose)
-- Error (???): stan_bridge_sampler --------------------------------------------
Error: invalid connection
Backtrace:
x
1. +-base::suppressMessages(...)
2. | \-base::withCallingHandlers(expr, message = function(c) invokeRestart("muffleMessage"))
3. \-rstan::stan_model(model_code = stancodeH0, model_name = "stanmodel")
4. \-rstan:::cxxfunctionplus(...)
5. \-base::sink(type = "output")
[ FAIL 2 | WARN 0 | SKIP 13 | PASS 64 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in 'inst/doc' ... OK
- checking re-building of vignette outputs ... [20s] OK
- checking PDF version of manual ... OK
- DONE
Status: 1 ERROR