check_duplicates: Check that there are no duplicate forecasts

View source: R/check-input-helpers.R

check_duplicatesR Documentation

Check that there are no duplicate forecasts

Description

Runs get_duplicate_forecasts() and returns a message if an issue is encountered

Usage

check_duplicates(data)

Arguments

data

A data.frame as used for score()

Value

Returns TRUE if the check was successful and a string with an error message otherwise.


epiforecasts/scoringutils documentation built on April 23, 2024, 4:56 p.m.