R Under development (unstable) (2024-12-04 r87420 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 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(bayesLife) Loading required package: bayesTFR > source('test_functions.R') > > cran <- TRUE > wpp <- 2019 > test.get.wpp.data(wpp) <=== Starting test of getting WPP data (WPP 2019) ==== Loading required package: wpp2019 ==== Test of getting WPP data OK.===> > test.existing.simulation() <=== Starting test of retrieving MCMC results ==== ==== Test of retrieving MCMC results OK.===> <=== Starting test of retrieving projection results ==== ==== Test of retrieving projection results OK.===> > test.e0trajectories() <=== Starting test of plotting e0 trajectories ==== ==== Test of plotting e0 trajectories OK.===> <=== Starting test of tabulating e0 trajectories ==== ==== Test of tabulating e0 trajectories OK.===> > test.get.parameter.traces() <=== Starting test of getting parameter traces ==== ==== Test of getting parameter traces OK.===> > > > ## Time-expensive tests > if(!cran) { + test.DLcurve() + test.plot.density() + test.plot.map() + test.estimate.mcmc(compression='xz') + test.estimate.mcmc.with.suppl.data() + test.estimate.mcmc.with.suppl.data(compression='bz') + test.plot.all() + test.estimate.mcmc.with.overwrites() + test.run.mcmc.simulation.auto() + test.run.mcmc.simulation.auto(compression='gz') + test.run.mcmc.simulation.auto.parallel() + test.imputation() + test.subnational.predictions() + test.my.locations.extra() + test.reproduce.simulation() + for (wpp in c(2019, 2024)){ + test.estimate.mcmc(wpp.year = wpp) + test.run.annual.simulation(wpp.year = wpp) + } + for(wpp.year in c(2010, 2012, 2015, 2017, 2022, 2024)) + test.get.wpp.data(wpp.year) + } > > proc.time() user system elapsed 1.81 1.78 3.57