Running ‘testthat.R’ [115s/195s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > library(testthat)
  > library(gppm)
  Loading required package: Rcpp
  > 
  > test_check("gppm")
  
   *** caught segfault ***
  address 0x200000002, cause 'memory not mapped'
  
  Traceback:
   1: .External(list(name = "CppMethod__invoke_notvoid", address = <pointer: 0x41579d0>,     dll = list(name = "Rcpp", path = "/data/gannet/ripley/R/test-clang/Rcpp/libs/Rcpp.so",         dynamicLookup = TRUE, handle = <pointer: 0x42d8340>,         info = <pointer: 0x1d9d8b0>), numParameters = -1L), <pointer: 0x6d69850>,     <pointer: 0x1ecff10>, .pointer, ...)
   2: sampler$call_sampler(c(args, dotlist))
   3: .local(object, ...)
   4: rstan::optimizing(gpModel$stanModel, gpModel$dataForStan, hessian = hessian,     iter = iter, init = init, algorithm = algorithm, as_vector = FALSE)
   5: rstan::optimizing(gpModel$stanModel, gpModel$dataForStan, hessian = hessian,     iter = iter, init = init, algorithm = algorithm, as_vector = FALSE)
   6: withVisible(...elt(i))
   7: outf(gpModel$stanOut <- rstan::optimizing(gpModel$stanModel,     gpModel$dataForStan, hessian = hessian, iter = iter, init = init,     algorithm = algorithm, as_vector = FALSE))
   8: fit.GPPM(lgcm, init = mlValues)
   9: fit(lgcm, init = mlValues)
  10: eval(exprs, env)
  11: eval(exprs, env)
  12: FUN(X[[i]], ...)
  13: lapply(files, source_file, env = env, chdir = chdir, wrap = wrap)
  14: source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE)
  15: source_test_setup(".", env)
  16: test_files_setup_state(test_dir, test_package, load_helpers,     env)
  17: test_files(test_dir = test_dir, test_package = test_package,     test_paths = test_paths, load_helpers = load_helpers, reporter = reporter,     env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning,     wrap = wrap, load_package = load_package)
  18: test_files(test_dir = path, test_paths = test_paths, test_package = package,     reporter = reporter, load_helpers = load_helpers, env = env,     stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning,     wrap = wrap, load_package = load_package, parallel = parallel)
  19: test_dir("testthat", package = package, reporter = reporter,     ..., load_package = "installed")
  20: test_check("gppm")
  An irrecoverable exception occurred. R is aborting now ...