CRAN Package Check Results for Package psqn

Last updated on 2024-03-28 23:55:16 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 68.63 113.41 182.04 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.1 66.99 117.97 184.96 NOTE
r-devel-linux-x86_64-fedora-clang 0.3.1 296.85 NOTE
r-devel-linux-x86_64-fedora-gcc 0.3.1 333.84 NOTE
r-devel-windows-x86_64 0.3.1 64.00 149.00 213.00 NOTE
r-patched-linux-x86_64 0.3.1 59.31 151.94 211.25 NOTE
r-release-linux-x86_64 0.3.1 55.89 151.12 207.01 NOTE
r-release-macos-arm64 0.3.1 70.00 NOTE
r-release-macos-x86_64 0.3.1 120.00 NOTE
r-release-windows-x86_64 0.3.1 80.00 180.00 260.00 NOTE
r-oldrel-macos-arm64 0.3.1 60.00 NOTE
r-oldrel-windows-x86_64 0.3.1 75.00 173.00 248.00 OK

Check Details

Version: 0.3.1
Check: C++ specification
Result: NOTE Specified C++11: please drop specification unless essential 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

Version: 0.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [37s/42s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(psqn) Loading required package: Matrix > > test_check("psqn") using C++ compiler: ‘Debian clang version 18.1.0 (rc4-1)’ using C++11 make[1]: Entering directory '/tmp/RtmpgVqp6c/sourceCpp-x86_64-pc-linux-gnu-1.0.12/sourcecpp_39b3035ed4329d' clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I../inst/include -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include" -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include" -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include" -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include" -I"/tmp/RtmpgVqp6c/tmp-psqn-cpp-dir" -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c mlogit-ex.cpp -o mlogit-ex.o In file included from mlogit-ex.cpp:23: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn-Rcpp-wrapper.h:6:10: fatal error: 'omp.h' file not found 6 | #include <omp.h> | ^~~~~~~ 1 error generated. make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: mlogit-ex.o] Error 1 make[1]: Leaving directory '/tmp/RtmpgVqp6c/sourceCpp-x86_64-pc-linux-gnu-1.0.12/sourcecpp_39b3035ed4329d' using C++ compiler: ‘Debian clang version 18.1.0 (rc4-1)’ using C++11 make[1]: Entering directory '/tmp/RtmpgVqp6c/sourceCpp-x86_64-pc-linux-gnu-1.0.12/sourcecpp_39b3034cac25e0' clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I../inst/include -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include" -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include" -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include" -I"/tmp/RtmpgVqp6c/tmp-psqn-cpp-dir" -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c poly-ex.cpp -o poly-ex.o In file included from poly-ex.cpp:11: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/psqn.h:6: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/psqn/include/lp.h:12:10: fatal error: 'omp.h' file not found 12 | #include <omp.h> | ^~~~~~~ 1 error generated. make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: poly-ex.o] Error 1 make[1]: Leaving directory '/tmp/RtmpgVqp6c/sourceCpp-x86_64-pc-linux-gnu-1.0.12/sourcecpp_39b3034cac25e0' [ FAIL 2 | WARN 0 | SKIP 1 | PASS 20 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-psqn-generic.R:76:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cpp-api.R:35:3'): mixed logit model gives the same ───────────── Error in `Rcpp::sourceCpp(new_name)`: Error 1 occurred building shared library. Backtrace: ▆ 1. └─psqn:::compile_cpp_file("mlogit-ex.cpp") at test-cpp-api.R:35:3 2. └─Rcpp::sourceCpp(new_name) at tests/testthat/helper.R:30:3 ── Error ('test-poly-ex.R:50:5'): Poly example gives the same ────────────────── Error in `sourceCpp("poly-ex.cpp")`: Error 1 occurred building shared library. Backtrace: ▆ 1. └─(function() {... at test-poly-ex.R:36:3 2. └─Rcpp::sourceCpp("poly-ex.cpp") at test-poly-ex.R:50:5 [ FAIL 2 | WARN 0 | SKIP 1 | PASS 20 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.1
Check: installed package size
Result: NOTE installed size is 12.3Mb sub-directories of 1Mb or more: libs 11.6Mb Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64