diff --git a/.lintr b/.lintr index 1f40fea..c3272e9 100644 --- a/.lintr +++ b/.lintr @@ -1,5 +1,6 @@ linters: linters_with_defaults( line_length_linter = line_length_linter(120L), commented_code_linter = NULL, - object_length_linter = NULL + object_length_linter = NULL, + indentation_linter = NULL ) diff --git a/DESCRIPTION b/DESCRIPTION index 94489c3..f68a827 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -5,6 +5,11 @@ Authors@R: c( person(given = "Evan L", family = "Ray", email = "elray@umass.edu", + role = c("aut")), + person(given = "Li", + family = "Shandross", + email = "lshandross@umass.edu", + comment = c(ORCID = "0009-0008-1348-1954"), role = c("aut", "cre")), person(given = "Becky", family = "Sweger", @@ -13,19 +18,14 @@ Authors@R: c( person(given = "Lucie", family = "Contamin", email = "contamin@pitt.edu", - role = c("aut"), - comment = c(ORCID = "0000-0001-5797-1279")), - person(given = "Li", - family = "Shandross", - email = "lshandross@umass.edu", - comment = c(ORCID = "0009-0008-1348-1954"), - role = c("ctb"))) + comment = c(ORCID = "0000-0001-5797-1279"), + role = c("aut"))) Description: This package provides example data for forecasting and scenario modeling hubs in the hubverse format. License: MIT + file LICENSE Encoding: UTF-8 Roxygen: list(markdown = TRUE) -RoxygenNote: 7.3.2 +RoxygenNote: 7.3.3 Suggests: aws.s3, dplyr, diff --git a/data-raw/generate_example_forecast_data.R b/data-raw/generate_example_forecast_data.R index 09c3a66..916e217 100755 --- a/data-raw/generate_example_forecast_data.R +++ b/data-raw/generate_example_forecast_data.R @@ -17,7 +17,8 @@ create_forecast_outputs <- function() { l_keep <- c("25", "48") q_lvls_keep <- c("0.05", "0.1", "0.25", "0.5", "0.75", "0.9", "0.95") d_keep <- c("2022-11-19", "2022-12-17") - hubData::connect_hub(hub_path, file_format = "parquet", skip_checks = TRUE) |> + hub_path |> + hubData::connect_hub(file_format = "parquet", skip_checks = TRUE) |> dplyr::filter( .data[["location"]] %in% l_keep, .data[["output_type"]] != "quantile" | diff --git a/data/forecast_outputs.rda b/data/forecast_outputs.rda index 34a1bd0..a4db1ab 100644 Binary files a/data/forecast_outputs.rda and b/data/forecast_outputs.rda differ