Running ‘run_tests.R’ [24s/77s]
  Running ‘test_functions.R’ [19s/55s]
Running the tests in ‘tests/run_tests.R’ failed.
Complete output:
  > library(bayesPop)
  Loading required package: bayesTFR
  Loading required package: bayesLife
  Loading required package: MortCast
  Loading required package: wpp2017
  > source('test_functions.R')
  > 
  > CRAN <- TRUE
  > 
  > test.expressions()
  
  <=== Starting test of Population expressions  ====
  Loading required package: wpp2019
  [gannet:1309048:0:1309048] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x1)
  ==== backtrace (tid:1309048) ====
   0  /lib64/libucs.so.0(ucs_handle_error+0x2e4) [0x7f2801f0b144]
   1  /lib64/libucs.so.0(+0x2880d) [0x7f2801f0c80d]
   2  /lib64/libucs.so.0(+0x289dd) [0x7f2801f0c9dd]
   3  /lib64/libc.so.6(+0x40fd0) [0x7f281b24efd0]
   4  /data/gannet/ripley/R/packages/tests-devel/bayesPop.Rcheck/bayesPop/libs/bayesPop.so(CCM+0x6fe) [0x7f2801b16abe]
   5  /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4ac4c8]
   6  /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4ea935]
   7  /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e3f56]
   8  /data/gannet/ripley/R/R-devel/bin/exec/R(Rf_eval+0x173) [0x4d3973]
   9  /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4d763f]
  10  /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4d34a1]
  11  /data/gannet/ripley/R/R-devel/bin/exec/R(Rf_eval+0x24b) [0x4d3a4b]
  12  /data/gannet/ripley/R/R-devel/bin/exec/R() [0x523690]
  13  /data/gannet/ripley/R/R-devel/bin/exec/R(run_Rmainloop+0x4b) [0x52887b]
  14  /data/gannet/ripley/R/R-devel/bin/exec/R() [0x5288c4]
  15  /data/gannet/ripley/R/R-devel/bin/exec/R() [0x41883f]
  16  /lib64/libc.so.6(+0x2a088) [0x7f281b238088]
  17  /lib64/libc.so.6(__libc_start_main+0x8b) [0x7f281b23814b]
  18  /data/gannet/ripley/R/R-devel/bin/exec/R(_start+0x25) [0x418865]
  =================================
  
   *** caught segfault ***
  address 0x4d20013f978, cause 'unknown'
  
  Traceback:
   1: StoPopProj(npred, inpc, LTres, asfr, migpred, inpc$MIGtype, mig.rate.code = inp$mig.rate.code[2],     country.name = UNlocations[country.idx, "name"], keep.vital.events = keep.vital.events,     annual = inp$annual)
   2: predict.one.country(cidx, nr.traj, nr_project)
   3: do.pop.predict(country.codes, inp, outdir, nr.traj, ages, pred = if (prediction.exist) pred else NULL,     keep.vital.events = keep.vital.events, fixed.mx = inp$fixed.mx,     fixed.pasfr = fixed.pasfr, function.inputs = inputs, verbose = verbose,     ...)
   4: pop.predict(countries = c(528, 218, 450, 242, 458), nr.traj = 3,     verbose = FALSE, output.dir = sim.dir, parallel = parallel)
   5: test.expressions()
  An irrecoverable exception occurred. R is aborting now ...