epiforecasts / scoringutils

Utilities for Scoring and Assessing Predictions
https://epiforecasts.io/scoringutils/
Other
47 stars 19 forks source link

Remove `test_columns_not_present` #839

Open nikosbosse opened 1 month ago

nikosbosse commented 1 month ago

The function is not needed, as we can just call test_names directly.

test_columns_not_present <- function(data, columns) {
  test_names(colnames(data), disjunct.from = columns)
}
nikosbosse commented 1 month ago

We might be able to replace the checks for test_columns_present etc. as well