- using R Under development (unstable) (2025-02-21 r87787)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
- running under: Fedora Linux 40 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘bayesPop/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘bayesPop’ version ‘11.0-2’
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘bayesPop’ can be installed ... [71s/181s] OK
See the install log for details.
- used C compiler: ‘gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)’
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [16s/44s] OK
- checking whether the package can be loaded with stated dependencies ... [15s/36s] OK
- checking whether the package can be unloaded cleanly ... [16s/41s] OK
- checking whether the namespace can be loaded with stated dependencies ... [16s/38s] OK
- checking whether the namespace can be unloaded cleanly ... [17s/40s] OK
- checking loading without being on the library search path ... [18s/46s] OK
- checking whether startup messages can be suppressed ... [18s/44s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [125s/283s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking examples ... [27s/65s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [41s/103s] ERROR
Running ‘run_tests.R’ [23s/59s]
Running ‘test_functions.R’ [18s/43s]
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:1198544:0:1198544] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x1)
==== backtrace (tid:1198544) ====
0 /lib64/libucs.so.0(ucs_handle_error+0x2e4) [0x7fb0caa90144]
1 /lib64/libucs.so.0(+0x2880d) [0x7fb0caa9180d]
2 /lib64/libucs.so.0(+0x289dd) [0x7fb0caa919dd]
3 /lib64/libc.so.6(+0x40fd0) [0x7fb0e344efd0]
4 /data/gannet/ripley/R/packages/tests-devel/bayesPop.Rcheck/bayesPop/libs/bayesPop.so(CCM+0x6fe) [0x7fb0caa11abe]
5 /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4ac448]
6 /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4ea795]
7 /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e3dd6]
8 /data/gannet/ripley/R/R-devel/bin/exec/R(Rf_eval+0x173) [0x4d3893]
9 /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4d771f]
10 /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4d33c1]
11 /data/gannet/ripley/R/R-devel/bin/exec/R(Rf_eval+0x24b) [0x4d396b]
12 /data/gannet/ripley/R/R-devel/bin/exec/R() [0x5238b0]
13 /data/gannet/ripley/R/R-devel/bin/exec/R(run_Rmainloop+0x4b) [0x528aab]
14 /data/gannet/ripley/R/R-devel/bin/exec/R() [0x528af4]
15 /data/gannet/ripley/R/R-devel/bin/exec/R() [0x41884f]
16 /lib64/libc.so.6(+0x2a088) [0x7fb0e3438088]
17 /lib64/libc.so.6(__libc_start_main+0x8b) [0x7fb0e343814b]
18 /data/gannet/ripley/R/R-devel/bin/exec/R(_start+0x25) [0x418875]
=================================
*** caught segfault ***
address 0x4d2001249d0, 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 ...
- checking PDF version of manual ... [11s/29s] OK
- checking HTML version of manual ... [5s/12s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR