Running examples in ‘bioinactivation-Ex.R’ failed
The error most likely occurred in:

> ### Name: fit_dynamic_inactivation
> ### Title: Fitting of Dynamic Inactivation Models
> ### Aliases: fit_dynamic_inactivation
> 
> ### ** Examples
> 
> ## EXAMPLE 1 ------
> 
> data(dynamic_inactivation)  # The example data set is used.
> 
> get_model_data()  # Retrieve the valid model keys.
[1] "Bigelow"   "Mafart"    "Metselaar" "Geeraerd"  "Peleg"     "Arrhenius"
> 
> simulation_model <- "Peleg"  # Peleg's model will be used
> 
> model_data <- get_model_data(simulation_model)
> model_data$parameters  # Set the model parameters
[1] "k_b"       "temp_crit" "n"        
> 
> dummy_temp <- data.frame(time = c(0, 1.25, 2.25, 4.6),
+                          temperature = c(70, 105, 105, 70))  # Dummy temp. profile
> 
> ## Set known parameters and initial points/bounds for unknown ones
> 
> known_params = c(temp_crit = 100)
> 
> starting_points <- c(n = 1, k_b = 0.25, N0 = 1e+05)
> upper_bounds <- c(n = 2, k_b = 1, N0 = Inf)
> lower_bounds <- c(n = 0, k_b = 0, N0 = 1e4)
> 
> dynamic_fit <- fit_dynamic_inactivation(dynamic_inactivation, simulation_model,
+                                         dummy_temp, starting_points,
+                                         upper_bounds, lower_bounds,
+                                         known_params)
Warning: `mutate_()` was deprecated in dplyr 0.7.0.
Please use `mutate()` instead.
See vignette('programming') for more help
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.
Warning: `select_()` was deprecated in dplyr 0.7.0.
Please use `select()` instead.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.
Error in xy.coords(x, y, setLab = FALSE) : 
  'list' object cannot be coerced to type 'double'
Calls: fit_dynamic_inactivation ... modCost -> approx -> regularize.values -> xy.coords
Execution halted