CRAN Package Check Results for Package bnns

Last updated on 2026-04-17 20:51:21 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.2 2.61 704.63 707.24 NOTE
r-devel-linux-x86_64-debian-gcc 0.1.2 1.91 652.73 654.64 NOTE
r-devel-linux-x86_64-fedora-clang 0.1.2 599.68 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.2 1288.68 NOTE
r-devel-macos-arm64 0.1.2 1.00 131.00 132.00 NOTE
r-devel-windows-x86_64 0.1.2 5.00 400.00 405.00 ERROR
r-patched-linux-x86_64 0.1.2 3.03 857.90 860.93 NOTE
r-release-linux-x86_64 0.1.2 2.32 808.37 810.69 NOTE
r-release-macos-arm64 0.1.2 NOTE
r-release-macos-x86_64 0.1.2 2.00 745.00 747.00 NOTE
r-release-windows-x86_64 0.1.2 4.00 1185.00 1189.00 NOTE
r-oldrel-macos-arm64 0.1.2 OK
r-oldrel-macos-x86_64 0.1.2 2.00 338.00 340.00 OK
r-oldrel-windows-x86_64 0.1.2 6.00 748.00 754.00 OK

Check Details

Version: 0.1.2
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: ‘bnns.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-macos-arm64, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-windows-x86_64

Version: 0.1.2
Check: dependencies in R code
Result: NOTE Namespaces in Imports field not imported from: ‘BH’ ‘RcppEigen’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.1.2
Check: tests
Result: ERROR Running 'testthat.R' [270s] 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(bnns) > > test_check("bnns") 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="file115c45b3470a1.dll" WIN=64 TCLBIN= OBJECTS="file115c45b3470a1.o" make would use make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpMXyGmR' 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/RtmpM57o5l/RLIBS_bba0572f9ce/RcppEigen/include/" -I"D:/temp/2026_04_17_01_50_00_1722/RtmpM57o5l/RLIBS_bba0572f9ce/RcppEigen/include/unsupported" -I"D:/temp/2026_04_17_01_50_00_1722/RtmpM57o5l/RLIBS_bba0572f9ce/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 file115c45b3470a1.cpp -o file115c45b3470a1.o if test "zfile115c45b3470a1.o" != "z"; then \ if test -e "file115c45b3470a1-win.def"; then \ echo g++ -shared -s -static-libgcc -o file115c45b3470a1.dll file115c45b3470a1-win.def file115c45b3470a1.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 file115c45b3470a1.dll file115c45b3470a1-win.def file115c45b3470a1.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 file115c45b3470a1.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 file115c45b3470a1.dll tmp.def file115c45b3470a1.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 file115c45b3470a1.dll tmp.def file115c45b3470a1.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/RtmpMXyGmR' Saving _problems/test-bnns-6.R 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="file115c411476565.dll" WIN=64 TCLBIN= OBJECTS="file115c411476565.o" make would use make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpMXyGmR' 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/RtmpM57o5l/RLIBS_bba0572f9ce/RcppEigen/include/" -I"D:/temp/2026_04_17_01_50_00_1722/RtmpM57o5l/RLIBS_bba0572f9ce/RcppEigen/include/unsupported" -I"D:/temp/2026_04_17_01_50_00_1722/RtmpM57o5l/RLIBS_bba0572f9ce/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 file115c411476565.cpp -o file115c411476565.o if test "zfile115c411476565.o" != "z"; then \ if test -e "file115c411476565-win.def"; then \ echo g++ -shared -s -static-libgcc -o file115c411476565.dll file115c411476565-win.def file115c411476565.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 file115c411476565.dll file115c411476565-win.def file115c411476565.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 file115c411476565.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 file115c411476565.dll tmp.def file115c411476565.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 file115c411476565.dll tmp.def file115c411476565.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/RtmpMXyGmR' Saving _problems/test-bnns-58.R 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="file115c456ee1e4.dll" WIN=64 TCLBIN= OBJECTS="file115c456ee1e4.o" make would use make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpMXyGmR' 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/RtmpM57o5l/RLIBS_bba0572f9ce/RcppEigen/include/" -I"D:/temp/2026_04_17_01_50_00_1722/RtmpM57o5l/RLIBS_bba0572f9ce/RcppEigen/include/unsupported" -I"D:/temp/2026_04_17_01_50_00_1722/RtmpM57o5l/RLIBS_bba0572f9ce/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 file115c456ee1e4.cpp -o file115c456ee1e4.o if test "zfile115c456ee1e4.o" != "z"; then \ if test -e "file115c456ee1e4-win.def"; then \ echo g++ -shared -s -static-libgcc -o file115c456ee1e4.dll file115c456ee1e4-win.def file115c456ee1e4.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 file115c456ee1e4.dll file115c456ee1e4-win.def file115c456ee1e4.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 file115c456ee1e4.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 file115c456ee1e4.dll tmp.def file115c456ee1e4.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 file115c456ee1e4.dll tmp.def file115c456ee1e4.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/RtmpMXyGmR' Saving _problems/test-bnns-90.R 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="file115c43c6b7a33.dll" WIN=64 TCLBIN= OBJECTS="file115c43c6b7a33.o" make would use make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpMXyGmR' 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/RtmpM57o5l/RLIBS_bba0572f9ce/RcppEigen/include/" -I"D:/temp/2026_04_17_01_50_00_1722/RtmpM57o5l/RLIBS_bba0572f9ce/RcppEigen/include/unsupported" -I"D:/temp/2026_04_17_01_50_00_1722/RtmpM57o5l/RLIBS_bba0572f9ce/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 file115c43c6b7a33.cpp -o file115c43c6b7a33.o if test "zfile115c43c6b7a33.o" != "z"; then \ if test -e "file115c43c6b7a33-win.def"; then \ echo g++ -shared -s -static-libgcc -o file115c43c6b7a33.dll file115c43c6b7a33-win.def file115c43c6b7a33.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 file115c43c6b7a33.dll file115c43c6b7a33-win.def file115c43c6b7a33.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 file115c43c6b7a33.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 file115c43c6b7a33.dll tmp.def file115c43c6b7a33.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 file115c43c6b7a33.dll tmp.def file115c43c6b7a33.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/RtmpMXyGmR' Saving _problems/test-bnns-137.R Setting levels: control = 0, case = 1 Setting direction: controls < cases [ FAIL 8 | WARN 0 | SKIP 0 | PASS 56 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-bnns.R:6:3'): bnns works for regression (linear output with/without normalization(including constant)) ── Error in `compileCode(f, code, language = language, verbose = verbose)`: l = model115c42cf6704e__namespace::model115c42cf6704e_; 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/etc/x64/Makeconf:304: file115c45b3470a1.o] Error 1 Backtrace: ▆ 1. ├─bnns::bnns(...) at test-bnns.R:6:3 2. └─bnns:::bnns.default(...) 3. └─bnns::bnns_train(...) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─rstan::stan(...) 7. └─rstan::stan_model(...) 8. └─rstan:::cxxfunctionplus(...) 9. ├─pkgbuild::with_build_tools(...) 10. │ └─pkgbuild:::withr_with_path(rtools_path(), code) 11. │ └─base::force(code) 12. └─inline::cxxfunction(...) 13. └─inline:::compileCode(f, code, language = language, verbose = verbose) ── Error ('test-bnns.R:6:3'): bnns works for regression (linear output with/without normalization(including constant)) ── Error in `sink(type = "output")`: invalid connection Backtrace: ▆ 1. ├─bnns::bnns(...) at test-bnns.R:6:3 2. └─bnns:::bnns.default(...) 3. └─bnns::bnns_train(...) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─rstan::stan(...) 7. └─rstan::stan_model(...) 8. └─rstan:::cxxfunctionplus(...) 9. └─base::sink(type = "output") ── Error ('test-bnns.R:52:3'): bnns works for regression (with custom prior_weights, prior_bias and prior_sigma) ── Error in `compileCode(f, code, language = language, verbose = verbose)`: l = model115c423406a95__namespace::model115c423406a95_; 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/etc/x64/Makeconf:304: file115c411476565.o] Error 1 Backtrace: ▆ 1. ├─bnns::bnns(...) at test-bnns.R:52:3 2. └─bnns:::bnns.default(...) 3. └─bnns::bnns_train(...) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─rstan::stan(...) 7. └─rstan::stan_model(...) 8. └─rstan:::cxxfunctionplus(...) 9. ├─pkgbuild::with_build_tools(...) 10. │ └─pkgbuild:::withr_with_path(rtools_path(), code) 11. │ └─base::force(code) 12. └─inline::cxxfunction(...) 13. └─inline:::compileCode(f, code, language = language, verbose = verbose) ── Error ('test-bnns.R:52:3'): bnns works for regression (with custom prior_weights, prior_bias and prior_sigma) ── Error in `sink(type = "output")`: invalid connection Backtrace: ▆ 1. ├─bnns::bnns(...) at test-bnns.R:52:3 2. └─bnns:::bnns.default(...) 3. └─bnns::bnns_train(...) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─rstan::stan(...) 7. └─rstan::stan_model(...) 8. └─rstan:::cxxfunctionplus(...) 9. └─base::sink(type = "output") ── Error ('test-bnns.R:90:3'): bnns works for binary classification (sigmoid output) ── Error in `compileCode(f, code, language = language, verbose = verbose)`: el = model115c44430198a__namespace::model115c44430198a_; 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/etc/x64/Makeconf:304: file115c456ee1e4.o] Error 1 Backtrace: ▆ 1. ├─bnns::bnns(...) at test-bnns.R:90:3 2. └─bnns:::bnns.default(...) 3. └─bnns::bnns_train(...) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─rstan::stan(...) 7. └─rstan::stan_model(...) 8. └─rstan:::cxxfunctionplus(...) 9. ├─pkgbuild::with_build_tools(...) 10. │ └─pkgbuild:::withr_with_path(rtools_path(), code) 11. │ └─base::force(code) 12. └─inline::cxxfunction(...) 13. └─inline:::compileCode(f, code, language = language, verbose = verbose) ── Error ('test-bnns.R:90:3'): bnns works for binary classification (sigmoid output) ── Error in `sink(type = "output")`: invalid connection Backtrace: ▆ 1. ├─bnns::bnns(...) at test-bnns.R:90:3 2. └─bnns:::bnns.default(...) 3. └─bnns::bnns_train(...) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─rstan::stan(...) 7. └─rstan::stan_model(...) 8. └─rstan:::cxxfunctionplus(...) 9. └─base::sink(type = "output") ── Error ('test-bnns.R:137:3'): bnns works for multiclass classification (softmax output) ── Error in `compileCode(f, code, language = language, verbose = verbose)`: l = model115c4597658ca__namespace::model115c4597658ca_; 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/etc/x64/Makeconf:304: file115c43c6b7a33.o] Error 1 Backtrace: ▆ 1. ├─bnns::bnns(...) at test-bnns.R:137:3 2. └─bnns:::bnns.default(...) 3. └─bnns::bnns_train(...) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─rstan::stan(...) 7. └─rstan::stan_model(...) 8. └─rstan:::cxxfunctionplus(...) 9. ├─pkgbuild::with_build_tools(...) 10. │ └─pkgbuild:::withr_with_path(rtools_path(), code) 11. │ └─base::force(code) 12. └─inline::cxxfunction(...) 13. └─inline:::compileCode(f, code, language = language, verbose = verbose) ── Error ('test-bnns.R:137:3'): bnns works for multiclass classification (softmax output) ── Error in `sink(type = "output")`: invalid connection Backtrace: ▆ 1. ├─bnns::bnns(...) at test-bnns.R:137:3 2. └─bnns:::bnns.default(...) 3. └─bnns::bnns_train(...) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─rstan::stan(...) 7. └─rstan::stan_model(...) 8. └─rstan:::cxxfunctionplus(...) 9. └─base::sink(type = "output") [ FAIL 8 | WARN 0 | SKIP 0 | PASS 56 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

Version: 0.1.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'bnns.Rmd' using rmarkdown 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="file66647da62df8.dll" WIN=64 TCLBIN= OBJECTS="file66647da62df8.o" make would use make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpIN6Lnw' 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/RtmpM57o5l/RLIBS_bba0572f9ce/RcppEigen/include/" -I"D:/temp/2026_04_17_01_50_00_1722/RtmpM57o5l/RLIBS_bba0572f9ce/RcppEigen/include/unsupported" -I"D:/temp/2026_04_17_01_50_00_1722/RtmpM57o5l/RLIBS_bba0572f9ce/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 file66647da62df8.cpp -o file66647da62df8.o if test "zfile66647da62df8.o" != "z"; then \ if test -e "file66647da62df8-win.def"; then \ echo g++ -shared -s -static-libgcc -o file66647da62df8.dll file66647da62df8-win.def file66647da62df8.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 file66647da62df8.dll file66647da62df8-win.def file66647da62df8.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 file66647da62df8.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 file66647da62df8.dll tmp.def file66647da62df8.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 file66647da62df8.dll tmp.def file66647da62df8.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/RtmpIN6Lnw' Quitting from bnns.Rmd:76-88 [unnamed-chunk-6] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `sink()`: ! invalid connection --- Backtrace: ▆ 1. ├─bnns::bnns(...) 2. └─bnns:::bnns.default(...) 3. └─bnns::bnns_train(...) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─rstan::stan(...) 7. └─rstan::stan_model(...) 8. └─rstan:::cxxfunctionplus(...) 9. └─base::sink(type = "output") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'bnns.Rmd' failed with diagnostics: invalid connection --- failed re-building 'bnns.Rmd' SUMMARY: processing the following file failed: 'bnns.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-devel-windows-x86_64

Version: 0.1.2
Check: DESCRIPTION meta-information
Result: NOTE Missing dependency on R >= 4.1.0 because package code uses the pipe |> or function shorthand \(...) syntax added in R 4.1.0. File(s) using such syntax: ‘bnns.R’ ‘measure.R’ Flavor: r-release-macos-x86_64