Package: finalsize Check: re-building of vignette outputs New result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘compare_sir_model.Rmd’ using rmarkdown --- finished re-building ‘compare_sir_model.Rmd’ --- re-building ‘demographic_turnover.Rmd’ using rmarkdown --- finished re-building ‘demographic_turnover.Rmd’ --- re-building ‘finalsize.Rmd’ using rmarkdown --- finished re-building ‘finalsize.Rmd’ --- re-building ‘susceptibility_matrices.Rmd’ using rmarkdown --- finished re-building ‘susceptibility_matrices.Rmd’ --- re-building ‘theoretical_background.Rmd’ using rmarkdown --- finished re-building ‘theoretical_background.Rmd’ --- re-building ‘uncertainty_params.Rmd’ using rmarkdown Quitting from uncertainty_params.Rmd:65-86 [unnamed-chunk-2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `wpp_age()`: ! The wpp2017 package is required but not installed. ℹ Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. --- Backtrace: ▆ 1. └─socialmixr::contact_matrix(...) 2. └─socialmixr:::survey_pop_year(...) 3. └─socialmixr:::survey_pop_from_countries(...) 4. ├─data.table::data.table(wpp_age(survey_countries)) 5. └─socialmixr::wpp_age(survey_countries) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'uncertainty_params.Rmd' failed with diagnostics: The wpp2017 package is required but not installed. ℹ Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. --- failed re-building ‘uncertainty_params.Rmd’ --- re-building ‘varying_contacts.Rmd’ using rmarkdown Quitting from varying_contacts.Rmd:89-122 [unnamed-chunk-4] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `wpp_age()`: ! The wpp2017 package is required but not installed. ℹ Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. --- Backtrace: ▆ 1. └─socialmixr::contact_matrix(...) 2. └─socialmixr:::survey_pop_year(...) 3. └─socialmixr:::survey_pop_from_countries(...) 4. ├─data.table::data.table(wpp_age(survey_countries)) 5. └─socialmixr::wpp_age(survey_countries) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'varying_contacts.Rmd' failed with diagnostics: The wpp2017 package is required but not installed. ℹ Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. --- failed re-building ‘varying_contacts.Rmd’ --- re-building ‘varying_susceptibility.Rmd’ using rmarkdown Quitting from varying_susceptibility.Rmd:77-98 [unnamed-chunk-2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `wpp_age()`: ! The wpp2017 package is required but not installed. ℹ Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. --- Backtrace: ▆ 1. └─socialmixr::contact_matrix(...) 2. └─socialmixr:::survey_pop_year(...) 3. └─socialmixr:::survey_pop_from_countries(...) 4. ├─data.table::data.table(wpp_age(survey_countries)) 5. └─socialmixr::wpp_age(survey_countries) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'varying_susceptibility.Rmd' failed with diagnostics: The wpp2017 package is required but not installed. ℹ Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. --- failed re-building ‘varying_susceptibility.Rmd’ SUMMARY: processing the following files failed: ‘uncertainty_params.Rmd’ ‘varying_contacts.Rmd’ ‘varying_susceptibility.Rmd’ Error: Vignette re-building failed. Execution halted Package: finalsize Check: tests New result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [3s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > # nolint start > library(testthat) > library(finalsize) > # nolint end > > test_check("finalsize") Saving _problems/test-basic-36.R Saving _problems/test-messages-11.R Saving _problems/test-newton_solver-11.R Saving _problems/test-solver_options-11.R Saving _problems/test-solver_speedups-11.R Saving _problems/test-statistical_correctness-200.R [ FAIL 6 | WARN 1 | SKIP 0 | PASS 67 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-basic.R:31:1'): (code run outside of `test_that()`) ──────────── Error in `wpp_age(survey_countries)`: The wpp2017 package is required but not installed. i Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. Backtrace: ▆ 1. └─socialmixr::contact_matrix(...) at test-basic.R:31:1 2. └─socialmixr:::survey_pop_year(...) 3. └─socialmixr:::survey_pop_from_countries(...) 4. ├─data.table::data.table(wpp_age(survey_countries)) 5. └─socialmixr::wpp_age(survey_countries) 6. └─cli::cli_abort(...) 7. └─rlang::abort(...) ── Error ('test-messages.R:6:1'): (code run outside of `test_that()`) ────────── Error in `wpp_age(survey_countries)`: The wpp2017 package is required but not installed. i Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. Backtrace: ▆ 1. └─socialmixr::contact_matrix(...) at test-messages.R:6:1 2. └─socialmixr:::survey_pop_year(...) 3. └─socialmixr:::survey_pop_from_countries(...) 4. ├─data.table::data.table(wpp_age(survey_countries)) 5. └─socialmixr::wpp_age(survey_countries) 6. └─cli::cli_abort(...) 7. └─rlang::abort(...) ── Error ('test-newton_solver.R:6:1'): (code run outside of `test_that()`) ───── Error in `wpp_age(survey_countries)`: The wpp2017 package is required but not installed. i Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. Backtrace: ▆ 1. └─socialmixr::contact_matrix(...) at test-newton_solver.R:6:1 2. └─socialmixr:::survey_pop_year(...) 3. └─socialmixr:::survey_pop_from_countries(...) 4. ├─data.table::data.table(wpp_age(survey_countries)) 5. └─socialmixr::wpp_age(survey_countries) 6. └─cli::cli_abort(...) 7. └─rlang::abort(...) ── Error ('test-solver_options.R:6:1'): (code run outside of `test_that()`) ──── Error in `wpp_age(survey_countries)`: The wpp2017 package is required but not installed. i Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. Backtrace: ▆ 1. └─socialmixr::contact_matrix(...) at test-solver_options.R:6:1 2. └─socialmixr:::survey_pop_year(...) 3. └─socialmixr:::survey_pop_from_countries(...) 4. ├─data.table::data.table(wpp_age(survey_countries)) 5. └─socialmixr::wpp_age(survey_countries) 6. └─cli::cli_abort(...) 7. └─rlang::abort(...) ── Error ('test-solver_speedups.R:6:1'): (code run outside of `test_that()`) ─── Error in `wpp_age(survey_countries)`: The wpp2017 package is required but not installed. i Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. Backtrace: ▆ 1. └─socialmixr::contact_matrix(...) at test-solver_speedups.R:6:1 2. └─socialmixr:::survey_pop_year(...) 3. └─socialmixr:::survey_pop_from_countries(...) 4. ├─data.table::data.table(wpp_age(survey_countries)) 5. └─socialmixr::wpp_age(survey_countries) 6. └─cli::cli_abort(...) 7. └─rlang::abort(...) ── Error ('test-statistical_correctness.R:195:1'): (code run outside of `test_that()`) ── Error in `wpp_age(survey_countries)`: The wpp2017 package is required but not installed. i Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. Backtrace: ▆ 1. └─socialmixr::contact_matrix(...) at test-statistical_correctness.R:195:1 2. └─socialmixr:::survey_pop_year(...) 3. └─socialmixr:::survey_pop_from_countries(...) 4. ├─data.table::data.table(wpp_age(survey_countries)) 5. └─socialmixr::wpp_age(survey_countries) 6. └─cli::cli_abort(...) 7. └─rlang::abort(...) [ FAIL 6 | WARN 1 | SKIP 0 | PASS 67 ] Error: ! Test failures. Execution halted Package: multigroup.vaccine Check: examples New result: ERROR Running examples in ‘multigroup.vaccine-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: contactMatrixAgeSchool > ### Title: Calculate a contact matrix for age groups and schools > ### Aliases: contactMatrixAgeSchool > > ### ** Examples > > contactMatrixAgeSchool(agelims = c(0, 5, 18), agepops = c(500, 1300, 8200), + schoolagegroups = c(2, 2), schoolpops = c(600, 700), schportion = 0.7) Error in `wpp_age()`: ! The wpp2017 package is required but not installed. ℹ Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. Backtrace: ▆ 1. └─multigroup.vaccine::contactMatrixAgeSchool(...) 2. └─multigroup.vaccine::contactMatrixPolymod(agelims, agepops) 3. ├─base::suppressMessages(...) 4. │ └─base::withCallingHandlers(...) 5. ├─base::suppressWarnings(...) 6. │ └─base::withCallingHandlers(...) 7. └─socialmixr::contact_matrix(...) 8. └─socialmixr:::survey_pop_year(...) 9. └─socialmixr:::survey_pop_from_countries(...) 10. ├─data.table::data.table(wpp_age(survey_countries)) 11. └─socialmixr::wpp_age(survey_countries) 12. └─cli::cli_abort(...) 13. └─rlang::abort(...) Execution halted Package: multigroup.vaccine Check: re-building of vignette outputs New result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘census_functions_demo.Rmd’ using rmarkdown --- finished re-building ‘census_functions_demo.Rmd’ --- re-building ‘contact_matrix_examples.Rmd’ using rmarkdown Quitting from contact_matrix_examples.Rmd:33-36 [unnamed-chunk-3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `wpp_age()`: ! The wpp2017 package is required but not installed. ℹ Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. --- Backtrace: ▆ 1. └─multigroup.vaccine::contactMatrixPolymod(agelims, agepops) 2. ├─base::suppressMessages(...) 3. │ └─base::withCallingHandlers(...) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─socialmixr::contact_matrix(...) 7. └─socialmixr:::survey_pop_year(...) 8. └─socialmixr:::survey_pop_from_countries(...) 9. ├─data.table::data.table(wpp_age(survey_countries)) 10. └─socialmixr::wpp_age(survey_countries) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'contact_matrix_examples.Rmd' failed with diagnostics: The wpp2017 package is required but not installed. ℹ Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. --- failed re-building ‘contact_matrix_examples.Rmd’ --- re-building ‘measles_agemodel.Rmd’ using rmarkdown Quitting from measles_agemodel.Rmd:71-76 [unnamed-chunk-6] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `wpp_age()`: ! The wpp2017 package is required but not installed. ℹ Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. --- Backtrace: ▆ 1. └─multigroup.vaccine::contactMatrixPolymod(age_limits, popsize) 2. ├─base::suppressMessages(...) 3. │ └─base::withCallingHandlers(...) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─socialmixr::contact_matrix(...) 7. └─socialmixr:::survey_pop_year(...) 8. └─socialmixr:::survey_pop_from_countries(...) 9. ├─data.table::data.table(wpp_age(survey_countries)) 10. └─socialmixr::wpp_age(survey_countries) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'measles_agemodel.Rmd' failed with diagnostics: The wpp2017 package is required but not installed. ℹ Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. --- failed re-building ‘measles_agemodel.Rmd’ --- re-building ‘run_model_on_command_line.Rmd’ using rmarkdown --- finished re-building ‘run_model_on_command_line.Rmd’ SUMMARY: processing the following files failed: ‘contact_matrix_examples.Rmd’ ‘measles_agemodel.Rmd’ Error: Vignette re-building failed. Execution halted Package: multigroup.vaccine Check: tests New result: ERROR Running ‘testthat.R’ [230s/230s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(multigroup.vaccine) > > test_check("multigroup.vaccine") Saving _problems/test-contactMatrixAgeSchool-4.R Saving _problems/test-contactMatrixAgeSchool-35.R Saving _problems/test-contactMatrixAgeSchool-85.R Saving _problems/test-contactMatrixPolymod-10.R Saving _problems/test-contactMatrixPolymod-54.R [ FAIL 7 | WARN 0 | SKIP 0 | PASS 1401 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-contactMatrixAgeSchool.R:4:3'): contactMatrixAgeSchool() works correctly for one school age group with two schools ── Error in `wpp_age(survey_countries)`: The wpp2017 package is required but not installed. i Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. Backtrace: ▆ 1. └─multigroup.vaccine::contactMatrixPolymod(agelims, agepops) at test-contactMatrixAgeSchool.R:4:3 2. ├─base::suppressMessages(...) 3. │ └─base::withCallingHandlers(...) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─socialmixr::contact_matrix(...) 7. └─socialmixr:::survey_pop_year(...) 8. └─socialmixr:::survey_pop_from_countries(...) 9. ├─data.table::data.table(wpp_age(survey_countries)) 10. └─socialmixr::wpp_age(survey_countries) 11. └─cli::cli_abort(...) 12. └─rlang::abort(...) ── Error ('test-contactMatrixAgeSchool.R:35:3'): contactMatrixAgeSchool() works correctly for one school age group with three schools and two pre-school age groups ── Error in `wpp_age(survey_countries)`: The wpp2017 package is required but not installed. i Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. Backtrace: ▆ 1. └─multigroup.vaccine::contactMatrixPolymod(agelims, agepops) at test-contactMatrixAgeSchool.R:35:3 2. ├─base::suppressMessages(...) 3. │ └─base::withCallingHandlers(...) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─socialmixr::contact_matrix(...) 7. └─socialmixr:::survey_pop_year(...) 8. └─socialmixr:::survey_pop_from_countries(...) 9. ├─data.table::data.table(wpp_age(survey_countries)) 10. └─socialmixr::wpp_age(survey_countries) 11. └─cli::cli_abort(...) 12. └─rlang::abort(...) ── Error ('test-contactMatrixAgeSchool.R:85:3'): contactMatrixAgeSchool() works correctly for two school age groups each with two schools ── Error in `wpp_age(survey_countries)`: The wpp2017 package is required but not installed. i Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. Backtrace: ▆ 1. └─multigroup.vaccine::contactMatrixPolymod(agelims, agepops) at test-contactMatrixAgeSchool.R:85:3 2. ├─base::suppressMessages(...) 3. │ └─base::withCallingHandlers(...) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─socialmixr::contact_matrix(...) 7. └─socialmixr:::survey_pop_year(...) 8. └─socialmixr:::survey_pop_from_countries(...) 9. ├─data.table::data.table(wpp_age(survey_countries)) 10. └─socialmixr::wpp_age(survey_countries) 11. └─cli::cli_abort(...) 12. └─rlang::abort(...) ── Error ('test-contactMatrixPolymod.R:7:3'): contactMatrixPolymod() warns and adjusts when age limits exceed 90 ── Error in `wpp_age(survey_countries)`: The wpp2017 package is required but not installed. i Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-contactMatrixPolymod.R:7:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─multigroup.vaccine::contactMatrixPolymod(agelims, agepops) 8. ├─base::suppressMessages(...) 9. │ └─base::withCallingHandlers(...) 10. ├─base::suppressWarnings(...) 11. │ └─base::withCallingHandlers(...) 12. └─socialmixr::contact_matrix(...) 13. └─socialmixr:::survey_pop_year(...) 14. └─socialmixr:::survey_pop_from_countries(...) 15. ├─data.table::data.table(wpp_age(survey_countries)) 16. └─socialmixr::wpp_age(survey_countries) 17. └─cli::cli_abort(...) 18. └─rlang::abort(...) ── Error ('test-contactMatrixPolymod.R:27:3'): contactMatrixPolymod() adjusts populations correctly when exceeding 90 ── Error in `wpp_age(survey_countries)`: The wpp2017 package is required but not installed. i Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. Backtrace: ▆ 1. ├─testthat::expect_silent(...) at test-contactMatrixPolymod.R:27:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─multigroup.vaccine::contactMatrixPolymod(agelims_valid, agepops_valid) 10. ├─base::suppressMessages(...) 11. │ └─base::withCallingHandlers(...) 12. ├─base::suppressWarnings(...) 13. │ └─base::withCallingHandlers(...) 14. └─socialmixr::contact_matrix(...) 15. └─socialmixr:::survey_pop_year(...) 16. └─socialmixr:::survey_pop_from_countries(...) 17. ├─data.table::data.table(wpp_age(survey_countries)) 18. └─socialmixr::wpp_age(survey_countries) 19. └─cli::cli_abort(...) 20. └─rlang::abort(...) ── Error ('test-contactMatrixPolymod.R:51:3'): contactMatrixPolymod() works without agepops when exceeding 90 ── Error in `wpp_age(survey_countries)`: The wpp2017 package is required but not installed. i Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-contactMatrixPolymod.R:51:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─multigroup.vaccine::contactMatrixPolymod(agelims, agepops = NULL) 8. ├─base::suppressMessages(...) 9. │ └─base::withCallingHandlers(...) 10. ├─base::suppressWarnings(...) 11. │ └─base::withCallingHandlers(...) 12. └─socialmixr::contact_matrix(...) 13. └─socialmixr:::survey_pop_year(...) 14. └─socialmixr:::survey_pop_from_countries(...) 15. ├─data.table::data.table(wpp_age(survey_countries)) 16. └─socialmixr::wpp_age(survey_countries) 17. └─cli::cli_abort(...) 18. └─rlang::abort(...) ── Error ('test-contactMatrixPolymod.R:66:3'): contactMatrixPolymod() works correctly with valid age limits ── Error in `wpp_age(survey_countries)`: The wpp2017 package is required but not installed. i Install it with: `install.packages("wpp2017")`, or use more recent data from wpp2024 (GitHub only) and pass it directly via the `survey_pop` argument. Backtrace: ▆ 1. ├─testthat::expect_silent(...) at test-contactMatrixPolymod.R:66:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─multigroup.vaccine::contactMatrixPolymod(agelims, agepops) 10. ├─base::suppressMessages(...) 11. │ └─base::withCallingHandlers(...) 12. ├─base::suppressWarnings(...) 13. │ └─base::withCallingHandlers(...) 14. └─socialmixr::contact_matrix(...) 15. └─socialmixr:::survey_pop_year(...) 16. └─socialmixr:::survey_pop_from_countries(...) 17. ├─data.table::data.table(wpp_age(survey_countries)) 18. └─socialmixr::wpp_age(survey_countries) 19. └─cli::cli_abort(...) 20. └─rlang::abort(...) [ FAIL 7 | WARN 0 | SKIP 0 | PASS 1401 ] Error: ! Test failures. Execution halted