R Under development (unstable) (2023-08-08 r84908 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(bayesPop) Loading required package: bayesTFR Loading required package: bayesLife Loading required package: MortCast Loading required package: wpp2017 The legacy packages maptools, rgdal, and rgeos, underpinning the sp package, which was just loaded, will retire in October 2023. Please refer to R-spatial evolution reports for details, especially https://r-spatial.org/r/2023/05/15/evolution4.html. It may be desirable to make the sf package available; package maintainers should consider adding sf to Suggests:. The sp package is now running under evolution status 2 (status 2 uses the sf package in place of rgdal) Please note that 'maptools' will be retired during October 2023, plan transition at your earliest convenience (see https://r-spatial.org/r/2023/05/15/evolution4.html and earlier blogs for guidance);some functionality will be moved to 'sp'. Checking rgeos availability: FALSE > source('test_functions.R') > > CRAN <- TRUE > > test.expressions() <=== Starting test of Population expressions ==== Loading required package: wpp2019 Prediction stored into D:\temp\Rtmp4GS5sQ\file25b806302daa/predictions Creating summary file for expression PXXX[1] / PXXX ... Stored into: D:\temp\Rtmp4GS5sQ\file25b806302daa/projection_summary_expression.csv Creating summary file for expression GXXX[1:10] ... Stored into: D:\temp\Rtmp4GS5sQ\file25b806302daa/projection_summary_expression.csv Aggregations stored into D:\temp\Rtmp4GS5sQ\file25b806302daa/aggregations_country Creating summary file for expression PXXX_M / P900_M ... Stored into: D:\temp\Rtmp4GS5sQ\file25b806302daa/projection_summary_expression.csv ==== Test of Population expressions OK.===> > > if(!CRAN) { + # longer tests + warn <- options('warn') + options(warn=2) + test.expressions(parallel = TRUE) + test.prediction() + test.prediction(parallel = TRUE) + test.prediction.with.prob.migration() + test.prediction.with.prob.migration(parallel = TRUE) + test.expressions.with.VE(map=FALSE) + test.regional.aggregation() + test.regional.aggregation(parallel = TRUE) + test.life.table() + test.life.table(parallel = TRUE) + test.adjustment() + test.subnat() + options(warn=warn$warn) + test.subnat.with.subnat.tfr.e0() + test.prediction.with.patterns() + test.expressions.with.VE(map=TRUE, parallel = TRUE) # generates warnings + } > > proc.time() user system elapsed 11.23 0.64 11.85