CRAN Package Check Results for Package psqn

Last updated on 2024-04-19 08:54:51 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 74.64 119.35 193.99 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.1 NOTE
r-devel-linux-x86_64-fedora-clang 0.3.1 292.04 NOTE
r-devel-linux-x86_64-fedora-gcc 0.3.1 329.83 NOTE
r-prerel-macos-arm64 0.3.1 59.00 NOTE
r-prerel-windows-x86_64 0.3.1 59.00 145.00 204.00 NOTE
r-patched-linux-x86_64 0.3.1 59.57 148.36 207.93 NOTE
r-release-linux-x86_64 0.3.1 57.41 155.18 212.59 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 77.00 169.00 246.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-prerel-macos-arm64, r-prerel-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’ [40s/51s] 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/Rtmp66WtTs/sourceCpp-x86_64-pc-linux-gnu-1.0.12/sourcecpp_2fe4064d1e5c96' 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/Rtmp66WtTs/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/Rtmp66WtTs/sourceCpp-x86_64-pc-linux-gnu-1.0.12/sourcecpp_2fe4064d1e5c96' using C++ compiler: ‘Debian clang version 18.1.0 (rc4-1)’ using C++11 make[1]: Entering directory '/tmp/Rtmp66WtTs/sourceCpp-x86_64-pc-linux-gnu-1.0.12/sourcecpp_2fe4062ffba366' 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/Rtmp66WtTs/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/Rtmp66WtTs/sourceCpp-x86_64-pc-linux-gnu-1.0.12/sourcecpp_2fe4062ffba366' [ 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 11.1Mb sub-directories of 1Mb or more: libs 10.4Mb Flavors: r-prerel-macos-arm64, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64