knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

r devtools::as.package(".")$package

R-CMD-check Coverage status

This package aims at providing a simple interface to run validations on data and metadata submitted to a forecast hub. Validation tests can be run at different levels (single file, single folder, whole repository) and locally as well as part of a continuous integration workflow. For more information, please read the "Package design" vignette.

Installation

You can the latest version of this package from GitHub with:

# install.packages("remotes")
remotes::install_github("epiforecasts/HubValidations")

Usage

library(HubValidations)

validate_repository(
 system.file("testdata", package = "HubValidations")
)

Context

This project is part of a larger effort to provide tools to create and run a forecast hub. Please also refer to our other packages:



covid19-forecast-hub-europe/HubValidations documentation built on Oct. 22, 2023, 6:26 p.m.