Skip to content

Commit

Permalink
Update generate_forecast_score_arrow.R
Browse files Browse the repository at this point in the history
  • Loading branch information
rqthomas authored Sep 20, 2024
1 parent 559a4f3 commit df7954f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/generate_forecast_score_arrow.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ generate_forecast_score_arrow <- function(targets_df,
vars <- arrow_env_vars()
output_directory <- arrow::s3_bucket(bucket = bucket,
endpoint_override = endpoint)
unset_arrow_vars(vars)
on.exit(unset_arrow_vars(vars))
}else{
if(is.null(local_directory)){
stop("scoring function needs local_directory if use_s3=FALSE")
Expand Down

0 comments on commit df7954f

Please sign in to comment.