Running ‘tinytest.R’ [16s/30s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > 
  > if (requireNamespace("tinytest", quietly=TRUE) &&
  +   utils::packageVersion("tinytest") >= "1.1.0") {
  + 
  +   ## Set a seed to make the tests deterministic
  +   set.seed(42)
  + 
  +   tinytest::test_package("inline")
  + }
  
  Running test_cfunction.R..............    0 tests    
  Running test_cfunction.R..............    0 tests    
  Running test_cfunction.R..............    0 tests    
  Running test_cfunction.R..............    0 tests    
  Running test_cfunction.R..............    0 tests    
  Running test_cfunction.R..............    0 tests    
  Running test_cfunction.R..............    0 tests    
  Running test_cfunction.R..............    1 tests [0;32mOK[0m 
  Running test_cfunction.R..............    1 tests [0;32mOK[0m 
  Running test_cfunction.R..............    2 tests [0;32mOK[0m 
  Running test_cfunction.R..............    3 tests [0;32mOK[0m 
  Running test_cfunction.R..............    3 tests [0;32mOK[0m 
  Running test_cfunction.R..............    3 tests [0;32mOK[0m 
  Running test_cfunction.R..............    3 tests [0;32mOK[0m 
  Running test_cfunction.R..............    4 tests [0;32mOK[0m 
  Running test_cfunction.R..............    4 tests [0;32mOK[0m 
  Running test_cfunction.R..............    4 tests [0;32mOK[0m 
  Running test_cfunction.R..............    4 tests [0;32mOK[0m 
  Running test_cfunction.R..............    5 tests [0;32mOK[0m 
  Running test_cfunction.R..............    5 tests [0;32mOK[0m 
  Running test_cfunction.R..............    5 tests [0;32mOK[0m 
  Running test_cfunction.R..............    5 tests [0;32mOK[0m 
  Running test_cfunction.R..............    6 tests [0;32mOK[0m 
  Running test_cfunction.R..............    6 tests [0;32mOK[0m 
  Running test_cfunction.R..............    6 tests [0;32mOK[0m 
  Running test_cfunction.R..............    6 tests [0;32mOK[0m 
  Running test_cfunction.R..............    6 tests [0;32mOK[0m 
  Running test_cfunction.R..............    7 tests [0;32mOK[0m 
  Running test_cfunction.R..............    7 tests [0;32mOK[0m 
  Running test_cfunction.R..............    7 tests [0;32mOK[0m 
  Running test_cfunction.R..............    7 tests [0;32mOK[0m 
  Running test_cfunction.R..............    7 tests [0;32mOK[0m 
  Running test_cfunction.R..............    7 tests [0;32mOK[0m 
  Running test_cfunction.R..............    7 tests [0;32mOK[0m 
  Running test_cfunction.R..............    7 tests [0;32mOK[0m 
   *** caught segfault ***
  address f91509c0, cause 'memory not mapped'
  
  Traceback:
   1: .Primitive(".C")(<pointer: f91509c0>, n = as.integer(n), x = as.double(x))
   2: fns[["squarefn"]](n, x)
   3: eval(expr, envir = e)
   4: eval(expr, envir = e)
   5: FUN(X[[i]], ...)
   6: lapply(basename(testfiles), run_test_file, at_home = at_home,     verbose = verbose, color = color, remove_side_effects = remove_side_effects,     ...)
   7: run_test_dir(testdir, at_home = at_home, cluster = cluster, ...)
   8: tinytest::test_package("inline")
  An irrecoverable exception occurred. R is aborting now ...