knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
The package functionality must respect the following rules:
workflow_run
event based on the success of the validations.validate_model_data(file = )
: validate a single .csv
forecast file.validate_model_metadata(file = )
: validate a single .yml
metadata file.validate_model_folder(path = )
: validate all the .csv
forecast files and the .yml
metadata file in a given folder.validate_repository(path = )
: validate all model folders in a given folder / repositoryvalidate_pr(url = )
: validate all the files edited in a pull request / all the relevant folders. Identifies which files have been modified and dispatch them to the relevant validation functions.validate_model_data()
forecast_date
matches the file namevalidate_model_metadata()
model_abbr
validate_model_folder()
validate_model_data()
validate_model_metadata()
.csv
forecast files and .yml
model metadata file start with the name of the foldervalidate_repository()
primary
modelvalidate_pr()
validate_model_folder()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.