Skip to content

Commit

Permalink
Update forecast_output_validator.R
Browse files Browse the repository at this point in the history
  • Loading branch information
rqthomas authored Jan 14, 2024
1 parent 9ce6ec0 commit 0a32771
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/forecast_output_validator.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ forecast_output_validator <- function(forecast_file){
if(lexists(out, c("project_id"))){
usethis::ui_done("file has project_id column")
}else{
usethis::ui_warn("file missing project_id column (use `vera4cast` as the project_id")
usethis::ui_warn("file missing project_id column (use `neon4cast` as the project_id")
}

if(lexists(out, c("reference_datetime"))){
Expand All @@ -110,4 +110,4 @@ forecast_output_validator <- function(forecast_file){

lexists <- function(list,name){
any(!is.na(match(name, names(list))))
}
}

0 comments on commit 0a32771

Please sign in to comment.