Running ‘tinytest.R’ [0s/286s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > 
  > if (requireNamespace("tinytest", quietly=TRUE) &&
  +     utils::packageVersion("tinytest") >= "1.0.0") {
  + 
  +     ## Set a seed to make the test deterministic
  +     set.seed(42)
  + 
  +     ## R makes us to this
  +     Sys.setenv("R_TESTS"="")
  + 
  +     ## there are several more granular ways to test files in a tinytest directory,
  +     ## see its package vignette; tests can also run once the package is installed
  +     ## using the same command `test_package(pkgName)`, or by director or file
  +     tinytest::test_package("RcppArmadillo", ncpu=getOption("Ncpus", 1))
  + }
  starting worker pid=43624 on localhost:11250 at 15:01:01.267
  
  Running test_Rlapack.R................    7 tests [0;32mOK[0m 
  OMP: Warning #96: Cannot form a team with 10 threads, using 2 instead.
  OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  
  Running test_complex.R................   11 tests [0;32mOK[0m 
  
  Running test_cube.R...................   18 tests [0;32mOK[0m 
  
  Running test_fastLm.R.................   25 tests [0;32mOK[0m 
  
  Running test_rcpparmadillo.R..........   48 tests [0;32mOK[0m 
  
  Running test_rmultinom.R..............    9 tests [0;32mOK[0m 
  
  Running test_rng.R....................   10 tests [0;32mOK[0m 
  
  Running test_sample.R.................   21 tests [0;32mOK[0m 
  
  Running test_scipy2r.R................    4 tests [0;32mOK[0m 
  In file included from sparse.cpp:23:
  In file included from /data/gannet/ripley/R/packages/tests-clang/RcppArmadillo.Rcheck/RcppArmadillo/include/RcppArmadillo.h:31:
  In file included from /data/gannet/ripley/R/packages/tests-clang/RcppArmadillo.Rcheck/RcppArmadillo/include/RcppArmadilloForward.h:49:
  /data/gannet/ripley/R/packages/tests-clang/RcppArmadillo.Rcheck/RcppArmadillo/include/armadillo:96:12: fatal error: 'omp.h' file not found
    #include <omp.h>
             ^~~~~~~
  1 error generated.
  make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:171: sparse.o] Error 1
  make[1]: Target 'all' not remade because of errors.
  make[1]: Entering directory '/tmp/RtmprOHx6u/working_dir/RtmpX6twBc/sourceCpp-x86_64-pc-linux-gnu-1.0.4.6/sourcecpp_aa686d53ab8f'
  clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include -fopenmp  -I"/data/gannet/ripley/R/test-clang/Rcpp/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppArmadillo.Rcheck/RcppArmadillo/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppArmadillo.Rcheck/RcppArmadillo/tinytest/cpp" -isystem /usr/local/clang/include   -fpic  -g -O3 -Wall -pedantic -frtti  -c sparse.cpp -o sparse.o
  make[1]: Leaving directory '/tmp/RtmprOHx6u/working_dir/RtmpX6twBc/sourceCpp-x86_64-pc-linux-gnu-1.0.4.6/sourcecpp_aa686d53ab8f'
  Error in checkForRemoteErrors(val) : 
    one node produced an error: Error 1 occurred building shared library.
  Calls: <Anonymous> ... clusterApply -> staticClusterApply -> checkForRemoteErrors
  Execution halted