mrc-ide / helios

Simulating far UVC for pathogen control
https://mrc-ide.github.io/helios/
Other
5 stars 0 forks source link

Failing unit test due to no `as_tibble` function #96

Open athowes opened 5 months ago

athowes commented 5 months ago

See fails here:

Error (test-model.R:45:3): run_simulations_from_table() run_simulations_from_table() returns list of parameters when output_type set to simulations
Error in `as_tibble(parameters_table[i, ])`: could not find function "as_tibble"
Backtrace:
    ▆
 1. └─helios::run_simulations_from_table(...) at test-model.R:45:3
 2.   └─dplyr::bind_cols(...) at helios/R/model.R:84:7
 3.     └─rlang::list2(...)

Error (test-model.R:61:3): run_simulations_from_table() run_simulations_from_table() returns list of parameters and simulation outputs when output_type set to both
Error in `as_tibble(parameters_table[i, ])`: could not find function "as_tibble"
Backtrace:
    ▆
 1. └─helios::run_simulations_from_table(...) at test-model.R:61:3
 2.   └─dplyr::bind_cols(...) at helios/R/model.R:84:7
 3.     └─rlang::list2(...)