CRAN Package Check Results for Package bayesMig

Last updated on 2024-11-09 01:49:26 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4-6 4.84 47.52 52.36 NOTE
r-devel-linux-x86_64-debian-gcc 0.4-6 3.74 33.37 37.11 ERROR
r-devel-linux-x86_64-fedora-clang 0.4-6 84.16 ERROR
r-devel-linux-x86_64-fedora-gcc 0.4-6 47.83 ERROR
r-devel-windows-x86_64 0.4-6 6.00 73.00 79.00 NOTE
r-patched-linux-x86_64 0.4-6 5.98 45.15 51.13 NOTE
r-release-linux-x86_64 0.4-6 5.01 44.21 49.22 NOTE
r-release-macos-arm64 0.4-6 30.00 NOTE
r-release-macos-x86_64 0.4-6 40.00 NOTE
r-release-windows-x86_64 0.4-6 6.00 74.00 80.00 NOTE
r-oldrel-macos-arm64 0.4-6 28.00 OK
r-oldrel-macos-x86_64 0.4-6 72.00 OK
r-oldrel-windows-x86_64 0.4-6 8.00 77.00 85.00 OK

Check Details

Version: 0.4-6
Check: Rd files
Result: NOTE checkRd: (-1) plot-traj.Rd:71: Lost braces; missing escapes or markup? 71 | the plots are saved into directory {sim.dir}/predictions/migTrajectories.} | ^ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64

Version: 0.4-6
Check: examples
Result: ERROR Running examples in ‘bayesMig-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: mig.predict > ### Title: Generate posterior trajectories of net migration rates > ### Aliases: mig.predict bayesMig.prediction > > ### ** Examples > > # Toy simulation for US states > us.mig.file <- file.path(find.package("bayesMig"), "extdata", "USmigrates.txt") > sim.dir <- tempfile() > m <- run.mig.mcmc(nr.chains = 2, iter = 30, thin = 1, my.mig.file = us.mig.file, + output.dir = sim.dir, present.year = 2017, annual = TRUE) Starting Bayesian Hierarchical Model Migration. ======================================================== Initialize simulation - 2 chain(s) in total. Chain nr. 1 ************ Starting values: mu a -0.1 1.1 Store initial values into mc1 Flushing results into disk. Start sampling - 30 iterations in total. Iteration: 10 -- Fri Nov 8 16:10:39 2024 Iteration: 20 -- Fri Nov 8 16:10:39 2024 Iteration: 30 -- Fri Nov 8 16:10:39 2024 Flushing results into disk. Chain nr. 2 ************ Starting values: mu a 0.1 5.0 Store initial values into mc2 Flushing results into disk. Start sampling - 30 iterations in total. Iteration: 10 -- Fri Nov 8 16:10:39 2024 Iteration: 20 -- Fri Nov 8 16:10:39 2024 Iteration: 30 -- Fri Nov 8 16:10:39 2024 Flushing results into disk. Results stored in /tmp/RtmpCbV0q3/file2730f45303c24 Simulation successfully finished!!! > > # Prediction > pred <- mig.predict(sim.dir = sim.dir, burnin = 5, end.year = 2050) Loading chain 1 from disk. (mcmc.list[[ 1 ]]). Loading chain 2 from disk. (mcmc.list[[ 2 ]]). Prediction from 2018 until 2050 (i.e. 33 projections) Storing thinned mcmc: Storing country-independent parameters ...done. Storing country-specific parameters ...done. Migration projection trajectory 1 Migration projection trajectory 2 Migration projection trajectory 3 Migration projection trajectory 4 Migration projection trajectory 5 Migration projection trajectory 6 Migration projection trajectory 7 Migration projection trajectory 8 Migration projection trajectory 9 Migration projection trajectory 10 Migration projection trajectory 11 Migration projection trajectory 12 Migration projection trajectory 13 Migration projection trajectory 14 Migration projection trajectory 15 Migration projection trajectory 16 Migration projection trajectory 17 Migration projection trajectory 18 Migration projection trajectory 19 Migration projection trajectory 20 Migration projection trajectory 21 Migration projection trajectory 22 Migration projection trajectory 23 Migration projection trajectory 24 Migration projection trajectory 25 Migration projection trajectory 26 Migration projection trajectory 27 Migration projection trajectory 28 Migration projection trajectory 29 Migration projection trajectory 30 Migration projection trajectory 31 Migration projection trajectory 32 Migration projection trajectory 33 Migration projection trajectory 34 Migration projection trajectory 35 Migration projection trajectory 36 Migration projection trajectory 37 Migration projection trajectory 38 Migration projection trajectory 39 Migration projection trajectory 40 Migration projection trajectory 41 Migration projection trajectory 42 Migration projection trajectory 43 Migration projection trajectory 44 Migration projection trajectory 45 Migration projection trajectory 46 Migration projection trajectory 47 Migration projection trajectory 48 Migration projection trajectory 49 Migration projection trajectory 50 Creating summary files ... Error in cbind(this.result1, proj.result) : number of rows of matrices must match (see arg 2) Calls: mig.predict ... mig.write.projection.summary -> <Anonymous> -> cbind Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.4-6
Check: tests
Result: ERROR Running ‘run_tests.R’ [2s/3s] Running ‘test_functions.R’ [0s/0s] Running the tests in ‘tests/run_tests.R’ failed. Complete output: > library(bayesMig) Loading required package: bayesTFR > source('test_functions.R') > > #options(error=quote(dump.frames("last.dump", TRUE))) > > cran <- TRUE > > test.run.annual.simulation() <=== Starting test of running annual migration MCMC for US states ==== Starting Bayesian Hierarchical Model Migration. ======================================================== Initialize simulation - 2 chain(s) in total. Chain nr. 1 ************ Starting values: mu a -0.1 1.1 Store initial values into mc1 Flushing results into disk. Start sampling - 30 iterations in total. Iteration: 10 -- Fri Nov 8 16:10:42 2024 Iteration: 20 -- Fri Nov 8 16:10:42 2024 Iteration: 30 -- Fri Nov 8 16:10:42 2024 Flushing results into disk. Chain nr. 2 ************ Starting values: mu a 0.1 5.0 Store initial values into mc2 Flushing results into disk. Start sampling - 30 iterations in total. Iteration: 10 -- Fri Nov 8 16:10:42 2024 Iteration: 20 -- Fri Nov 8 16:10:43 2024 Iteration: 30 -- Fri Nov 8 16:10:43 2024 Flushing results into disk. Results stored in /tmp/RtmpT2lXgq/file27cd17f683a5a Simulation successfully finished!!! ==== Test of running annual migration MCMC for US states OK.===> <=== Starting test of running annual projections ==== Loading chain 1 from disk. (mcmc.list[[ 1 ]]). Loading chain 2 from disk. (mcmc.list[[ 2 ]]). Prediction from 2018 until 2050 (i.e. 33 projections) Storing thinned mcmc: Storing country-independent parameters ...done. Storing country-specific parameters ...done. Migration projection trajectory 1 Migration projection trajectory 2 Migration projection trajectory 3 Migration projection trajectory 4 Migration projection trajectory 5 Migration projection trajectory 6 Migration projection trajectory 7 Migration projection trajectory 8 Migration projection trajectory 9 Migration projection trajectory 10 Migration projection trajectory 11 Migration projection trajectory 12 Migration projection trajectory 13 Migration projection trajectory 14 Migration projection trajectory 15 Migration projection trajectory 16 Migration projection trajectory 17 Migration projection trajectory 18 Migration projection trajectory 19 Migration projection trajectory 20 Migration projection trajectory 21 Migration projection trajectory 22 Migration projection trajectory 23 Migration projection trajectory 24 Migration projection trajectory 25 Migration projection trajectory 26 Migration projection trajectory 27 Migration projection trajectory 28 Migration projection trajectory 29 Migration projection trajectory 30 Migration projection trajectory 31 Migration projection trajectory 32 Migration projection trajectory 33 Migration projection trajectory 34 Migration projection trajectory 35 Migration projection trajectory 36 Migration projection trajectory 37 Migration projection trajectory 38 Migration projection trajectory 39 Migration projection trajectory 40 Creating summary files ... Error in cbind(this.result1, proj.result) : number of rows of matrices must match (see arg 2) Calls: test.run.annual.simulation ... mig.write.projection.summary -> <Anonymous> -> cbind Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.4-6
Check: examples
Result: ERROR Running examples in ‘bayesMig-Ex.R’ failed The error most likely occurred in: > ### Name: mig.predict > ### Title: Generate posterior trajectories of net migration rates > ### Aliases: mig.predict bayesMig.prediction > > ### ** Examples > > # Toy simulation for US states > us.mig.file <- file.path(find.package("bayesMig"), "extdata", "USmigrates.txt") > sim.dir <- tempfile() > m <- run.mig.mcmc(nr.chains = 2, iter = 30, thin = 1, my.mig.file = us.mig.file, + output.dir = sim.dir, present.year = 2017, annual = TRUE) Starting Bayesian Hierarchical Model Migration. ======================================================== Initialize simulation - 2 chain(s) in total. Chain nr. 1 ************ Starting values: mu a -0.1 1.1 Store initial values into mc1 Flushing results into disk. Start sampling - 30 iterations in total. Iteration: 10 -- Fri Nov 8 10:30:49 2024 Iteration: 20 -- Fri Nov 8 10:30:49 2024 Iteration: 30 -- Fri Nov 8 10:30:49 2024 Flushing results into disk. Chain nr. 2 ************ Starting values: mu a 0.1 5.0 Store initial values into mc2 Flushing results into disk. Start sampling - 30 iterations in total. Iteration: 10 -- Fri Nov 8 10:30:49 2024 Iteration: 20 -- Fri Nov 8 10:30:50 2024 Iteration: 30 -- Fri Nov 8 10:30:50 2024 Flushing results into disk. Results stored in /tmp/RtmpTLVVNQ/working_dir/RtmpT6aTOC/file38af5d7ed6bc6b Simulation successfully finished!!! > > # Prediction > pred <- mig.predict(sim.dir = sim.dir, burnin = 5, end.year = 2050) Loading chain 1 from disk. (mcmc.list[[ 1 ]]). Loading chain 2 from disk. (mcmc.list[[ 2 ]]). Prediction from 2018 until 2050 (i.e. 33 projections) Storing thinned mcmc: Storing country-independent parameters ...done. Storing country-specific parameters ...done. Migration projection trajectory 1 Migration projection trajectory 2 Migration projection trajectory 3 Migration projection trajectory 4 Migration projection trajectory 5 Migration projection trajectory 6 Migration projection trajectory 7 Migration projection trajectory 8 Migration projection trajectory 9 Migration projection trajectory 10 Migration projection trajectory 11 Migration projection trajectory 12 Migration projection trajectory 13 Migration projection trajectory 14 Migration projection trajectory 15 Migration projection trajectory 16 Migration projection trajectory 17 Migration projection trajectory 18 Migration projection trajectory 19 Migration projection trajectory 20 Migration projection trajectory 21 Migration projection trajectory 22 Migration projection trajectory 23 Migration projection trajectory 24 Migration projection trajectory 25 Migration projection trajectory 26 Migration projection trajectory 27 Migration projection trajectory 28 Migration projection trajectory 29 Migration projection trajectory 30 Migration projection trajectory 31 Migration projection trajectory 32 Migration projection trajectory 33 Migration projection trajectory 34 Migration projection trajectory 35 Migration projection trajectory 36 Migration projection trajectory 37 Migration projection trajectory 38 Migration projection trajectory 39 Migration projection trajectory 40 Migration projection trajectory 41 Migration projection trajectory 42 Migration projection trajectory 43 Migration projection trajectory 44 Migration projection trajectory 45 Migration projection trajectory 46 Migration projection trajectory 47 Migration projection trajectory 48 Migration projection trajectory 49 Migration projection trajectory 50 Creating summary files ... Error in cbind(this.result1, proj.result) : number of rows of matrices must match (see arg 2) Calls: mig.predict ... mig.write.projection.summary -> <Anonymous> -> cbind Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4-6
Check: tests
Result: ERROR Running ‘run_tests.R’ Running ‘test_functions.R’ Running the tests in ‘tests/run_tests.R’ failed. Complete output: > library(bayesMig) Loading required package: bayesTFR > source('test_functions.R') > > #options(error=quote(dump.frames("last.dump", TRUE))) > > cran <- TRUE > > test.run.annual.simulation() <=== Starting test of running annual migration MCMC for US states ==== Starting Bayesian Hierarchical Model Migration. ======================================================== Initialize simulation - 2 chain(s) in total. Chain nr. 1 ************ Starting values: mu a -0.1 1.1 Store initial values into mc1 Flushing results into disk. Start sampling - 30 iterations in total. Iteration: 10 -- Fri Nov 8 10:30:56 2024 Iteration: 20 -- Fri Nov 8 10:30:56 2024 Iteration: 30 -- Fri Nov 8 10:30:57 2024 Flushing results into disk. Chain nr. 2 ************ Starting values: mu a 0.1 5.0 Store initial values into mc2 Flushing results into disk. Start sampling - 30 iterations in total. Iteration: 10 -- Fri Nov 8 10:30:57 2024 Iteration: 20 -- Fri Nov 8 10:30:57 2024 Iteration: 30 -- Fri Nov 8 10:30:57 2024 Flushing results into disk. Results stored in /tmp/RtmpTLVVNQ/working_dir/RtmpPS0nKV/file38b2033a5158ae Simulation successfully finished!!! ==== Test of running annual migration MCMC for US states OK.===> <=== Starting test of running annual projections ==== Loading chain 1 from disk. (mcmc.list[[ 1 ]]). Loading chain 2 from disk. (mcmc.list[[ 2 ]]). Prediction from 2018 until 2050 (i.e. 33 projections) Storing thinned mcmc: Storing country-independent parameters ...done. Storing country-specific parameters ...done. Migration projection trajectory 1 Migration projection trajectory 2 Migration projection trajectory 3 Migration projection trajectory 4 Migration projection trajectory 5 Migration projection trajectory 6 Migration projection trajectory 7 Migration projection trajectory 8 Migration projection trajectory 9 Migration projection trajectory 10 Migration projection trajectory 11 Migration projection trajectory 12 Migration projection trajectory 13 Migration projection trajectory 14 Migration projection trajectory 15 Migration projection trajectory 16 Migration projection trajectory 17 Migration projection trajectory 18 Migration projection trajectory 19 Migration projection trajectory 20 Migration projection trajectory 21 Migration projection trajectory 22 Migration projection trajectory 23 Migration projection trajectory 24 Migration projection trajectory 25 Migration projection trajectory 26 Migration projection trajectory 27 Migration projection trajectory 28 Migration projection trajectory 29 Migration projection trajectory 30 Migration projection trajectory 31 Migration projection trajectory 32 Migration projection trajectory 33 Migration projection trajectory 34 Migration projection trajectory 35 Migration projection trajectory 36 Migration projection trajectory 37 Migration projection trajectory 38 Migration projection trajectory 39 Migration projection trajectory 40 Creating summary files ... Error in cbind(this.result1, proj.result) : number of rows of matrices must match (see arg 2) Calls: test.run.annual.simulation ... mig.write.projection.summary -> <Anonymous> -> cbind Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4-6
Check: examples
Result: ERROR Running examples in ‘bayesMig-Ex.R’ failed The error most likely occurred in: > ### Name: mig.predict > ### Title: Generate posterior trajectories of net migration rates > ### Aliases: mig.predict bayesMig.prediction > > ### ** Examples > > # Toy simulation for US states > us.mig.file <- file.path(find.package("bayesMig"), "extdata", "USmigrates.txt") > sim.dir <- tempfile() > m <- run.mig.mcmc(nr.chains = 2, iter = 30, thin = 1, my.mig.file = us.mig.file, + output.dir = sim.dir, present.year = 2017, annual = TRUE) Starting Bayesian Hierarchical Model Migration. ======================================================== Initialize simulation - 2 chain(s) in total. Chain nr. 1 ************ Starting values: mu a -0.1 1.1 Store initial values into mc1 Flushing results into disk. Start sampling - 30 iterations in total. Iteration: 10 -- Fri Nov 8 10:10:59 2024 Iteration: 20 -- Fri Nov 8 10:10:59 2024 Iteration: 30 -- Fri Nov 8 10:11:00 2024 Flushing results into disk. Chain nr. 2 ************ Starting values: mu a 0.1 5.0 Store initial values into mc2 Flushing results into disk. Start sampling - 30 iterations in total. Iteration: 10 -- Fri Nov 8 10:11:00 2024 Iteration: 20 -- Fri Nov 8 10:11:00 2024 Iteration: 30 -- Fri Nov 8 10:11:00 2024 Flushing results into disk. Results stored in /tmp/RtmpKBHFDK/working_dir/RtmpHpXBHa/file37ee1b3d0d839d Simulation successfully finished!!! > > # Prediction > pred <- mig.predict(sim.dir = sim.dir, burnin = 5, end.year = 2050) Loading chain 1 from disk. (mcmc.list[[ 1 ]]). Loading chain 2 from disk. (mcmc.list[[ 2 ]]). Prediction from 2018 until 2050 (i.e. 33 projections) Storing thinned mcmc: Storing country-independent parameters ...done. Storing country-specific parameters ...done. Migration projection trajectory 1 Migration projection trajectory 2 Migration projection trajectory 3 Migration projection trajectory 4 Migration projection trajectory 5 Migration projection trajectory 6 Migration projection trajectory 7 Migration projection trajectory 8 Migration projection trajectory 9 Migration projection trajectory 10 Migration projection trajectory 11 Migration projection trajectory 12 Migration projection trajectory 13 Migration projection trajectory 14 Migration projection trajectory 15 Migration projection trajectory 16 Migration projection trajectory 17 Migration projection trajectory 18 Migration projection trajectory 19 Migration projection trajectory 20 Migration projection trajectory 21 Migration projection trajectory 22 Migration projection trajectory 23 Migration projection trajectory 24 Migration projection trajectory 25 Migration projection trajectory 26 Migration projection trajectory 27 Migration projection trajectory 28 Migration projection trajectory 29 Migration projection trajectory 30 Migration projection trajectory 31 Migration projection trajectory 32 Migration projection trajectory 33 Migration projection trajectory 34 Migration projection trajectory 35 Migration projection trajectory 36 Migration projection trajectory 37 Migration projection trajectory 38 Migration projection trajectory 39 Migration projection trajectory 40 Migration projection trajectory 41 Migration projection trajectory 42 Migration projection trajectory 43 Migration projection trajectory 44 Migration projection trajectory 45 Migration projection trajectory 46 Migration projection trajectory 47 Migration projection trajectory 48 Migration projection trajectory 49 Migration projection trajectory 50 Creating summary files ... Error in cbind(this.result1, proj.result) : number of rows of matrices must match (see arg 2) Calls: mig.predict ... mig.write.projection.summary -> <Anonymous> -> cbind Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.4-6
Check: tests
Result: ERROR Running ‘run_tests.R’ Running ‘test_functions.R’ Running the tests in ‘tests/run_tests.R’ failed. Complete output: > library(bayesMig) Loading required package: bayesTFR > source('test_functions.R') > > #options(error=quote(dump.frames("last.dump", TRUE))) > > cran <- TRUE > > test.run.annual.simulation() <=== Starting test of running annual migration MCMC for US states ==== Starting Bayesian Hierarchical Model Migration. ======================================================== Initialize simulation - 2 chain(s) in total. Chain nr. 1 ************ Starting values: mu a -0.1 1.1 Store initial values into mc1 Flushing results into disk. Start sampling - 30 iterations in total. Iteration: 10 -- Fri Nov 8 10:11:03 2024 Iteration: 20 -- Fri Nov 8 10:11:03 2024 Iteration: 30 -- Fri Nov 8 10:11:03 2024 Flushing results into disk. Chain nr. 2 ************ Starting values: mu a 0.1 5.0 Store initial values into mc2 Flushing results into disk. Start sampling - 30 iterations in total. Iteration: 10 -- Fri Nov 8 10:11:04 2024 Iteration: 20 -- Fri Nov 8 10:11:04 2024 Iteration: 30 -- Fri Nov 8 10:11:04 2024 Flushing results into disk. Results stored in /tmp/RtmpKBHFDK/working_dir/Rtmpo6RD8u/file37ef0c8550b45 Simulation successfully finished!!! ==== Test of running annual migration MCMC for US states OK.===> <=== Starting test of running annual projections ==== Loading chain 1 from disk. (mcmc.list[[ 1 ]]). Loading chain 2 from disk. (mcmc.list[[ 2 ]]). Prediction from 2018 until 2050 (i.e. 33 projections) Storing thinned mcmc: Storing country-independent parameters ...done. Storing country-specific parameters ...done. Migration projection trajectory 1 Migration projection trajectory 2 Migration projection trajectory 3 Migration projection trajectory 4 Migration projection trajectory 5 Migration projection trajectory 6 Migration projection trajectory 7 Migration projection trajectory 8 Migration projection trajectory 9 Migration projection trajectory 10 Migration projection trajectory 11 Migration projection trajectory 12 Migration projection trajectory 13 Migration projection trajectory 14 Migration projection trajectory 15 Migration projection trajectory 16 Migration projection trajectory 17 Migration projection trajectory 18 Migration projection trajectory 19 Migration projection trajectory 20 Migration projection trajectory 21 Migration projection trajectory 22 Migration projection trajectory 23 Migration projection trajectory 24 Migration projection trajectory 25 Migration projection trajectory 26 Migration projection trajectory 27 Migration projection trajectory 28 Migration projection trajectory 29 Migration projection trajectory 30 Migration projection trajectory 31 Migration projection trajectory 32 Migration projection trajectory 33 Migration projection trajectory 34 Migration projection trajectory 35 Migration projection trajectory 36 Migration projection trajectory 37 Migration projection trajectory 38 Migration projection trajectory 39 Migration projection trajectory 40 Creating summary files ... Error in cbind(this.result1, proj.result) : number of rows of matrices must match (see arg 2) Calls: test.run.annual.simulation ... mig.write.projection.summary -> <Anonymous> -> cbind Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.