diff --git a/R/generate_forecast_score_arrow.R b/R/generate_forecast_score_arrow.R index 20de297..5f841d3 100644 --- a/R/generate_forecast_score_arrow.R +++ b/R/generate_forecast_score_arrow.R @@ -19,10 +19,10 @@ generate_forecast_score_arrow <- function(targets_df, if(is.null(bucket) | is.null(endpoint)){ stop("scoring function needs bucket and endpoint if use_s3=TRUE") } - vars <- arrow_env_vars() + #vars <- arrow_env_vars() output_directory <- arrow::s3_bucket(bucket = bucket, endpoint_override = endpoint) - unset_arrow_vars(vars) + #unset_arrow_vars(vars) }else{ if(is.null(local_directory)){ stop("scoring function needs local_directory if use_s3=FALSE") @@ -44,4 +44,4 @@ generate_forecast_score_arrow <- function(targets_df, arrow::write_dataset(df, path = output_directory, partitioning = c("site_id","model_id","reference_date")) -} \ No newline at end of file +}