diff --git a/R/en_outages.R b/R/en_outages.R index 39735872..be4a6d74 100644 --- a/R/en_outages.R +++ b/R/en_outages.R @@ -704,7 +704,7 @@ outages_transmission_grid <- function( #' is available for the given parameters. #' @export #' -#' @examples#' +#' @examplesIf there_is_provider() && nchar(Sys.getenv("ENTSOE_PAT")) > 0L #' df <- entsoeapi::outages_fallbacks( #' eic = "10YBE----------2", #' period_start = lubridate::ymd(x = "2023-01-01", tz = "CET"), diff --git a/README.Rmd b/README.Rmd index 3564a2ec..c97e1c51 100644 --- a/README.Rmd +++ b/README.Rmd @@ -1,5 +1,5 @@ --- -output: github_document +output: github_document --- diff --git a/README.md b/README.md index cc533ad1..d3637805 100644 --- a/README.md +++ b/README.md @@ -491,7 +491,7 @@ entsoeapi::load_actual_total( #> ── API call ──────────────────────────────────────────────────────────────────── #> → https://web-api.tp.entsoe.eu/api?documentType=A65&processType=A16&outBiddingZone_Domain=10Y1001A1001A83F&periodStart=201912312300&periodEnd=202001012300&securityToken=<...> #> <- HTTP/2 200 -#> <- date: Thu, 12 Mar 2026 07:24:10 GMT +#> <- date: Thu, 12 Mar 2026 11:09:36 GMT #> <- content-type: text/xml #> <- content-disposition: inline; filename="Actual Total Load_201912312300-202001012300.xml" #> <- x-content-type-options: nosniff @@ -514,7 +514,7 @@ entsoeapi::load_actual_total( #> $ ts_object_aggregation_def "Area", "Area", "Area", "Area", "Area"… #> $ ts_business_type "A04", "A04", "A04", "A04", "A04", "A0… #> $ ts_business_type_def "Consumption", "Consumption", "Consump… -#> $ created_date_time 2026-03-12 07:24:10, 2026-03-12 07:24… +#> $ created_date_time 2026-03-12 11:09:36, 2026-03-12 11:09… #> $ revision_number 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,… #> $ time_period_time_interval_start 2019-12-31 23:00:00, 2019-12-31 23:00… #> $ time_period_time_interval_end 2020-01-01 23:00:00, 2020-01-01 23:00… @@ -544,7 +544,7 @@ entsoeapi::gen_per_prod_type( #> ── API call ──────────────────────────────────────────────────────────────────── #> → https://web-api.tp.entsoe.eu/api?documentType=A75&processType=A16&in_Domain=10Y1001A1001A83F&periodStart=201912312300&periodEnd=202001012300&securityToken=<...> #> <- HTTP/2 200 -#> <- date: Thu, 12 Mar 2026 07:24:13 GMT +#> <- date: Thu, 12 Mar 2026 11:09:40 GMT #> <- content-type: text/xml #> <- content-disposition: inline; filename="Aggregated Generation per Type_201912312300-202001012300.xml" #> <- x-content-type-options: nosniff @@ -570,7 +570,7 @@ entsoeapi::gen_per_prod_type( #> $ ts_business_type_def "Production", "Production", "Productio… #> $ ts_mkt_psr_type "B10", "B10", "B10", "B10", "B10", "B1… #> $ ts_mkt_psr_type_def "Hydro-electric pure pumped storage he… -#> $ created_date_time 2026-03-12 07:24:13, 2026-03-12 07:24… +#> $ created_date_time 2026-03-12 11:09:40, 2026-03-12 11:09… #> $ revision_number 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,… #> $ time_period_time_interval_start 2019-12-31 23:00:00, 2019-12-31 23:00… #> $ time_period_time_interval_end 2020-01-01 23:00:00, 2020-01-01 23:00… diff --git a/RELEASE_CHECKLIST.md b/RELEASE_CHECKLIST.md index 1dad2f9d..8471fe42 100644 --- a/RELEASE_CHECKLIST.md +++ b/RELEASE_CHECKLIST.md @@ -41,7 +41,7 @@ ## 7. (When ready) CRAN Submission -- [ ] `rhub::rhub_doctor(gh_url = "https://github.com/krose/entsoeapi"); rhub::rhub_check(gh_url = "https://github.com/krose/entsoeapi", platforms = c("windows"", "macos-arm64", "linux"), branch = "main")`— multi-platform check +- [ ] `rhub::rhub_doctor(gh_url = "https://github.com/krose/entsoeapi"); rhub::rhub_check(gh_url = "https://github.com/krose/entsoeapi", platforms = c("windows", "macos-arm64", "linux"), branch = "main")`— multi-platform check - [ ] `devtools::spell_check()` — no spelling errors in docs - [ ] Review [CRAN policies](https://cran.r-project.org/web/packages/policies.html) - [ ] `devtools::submit_cran()` or upload via diff --git a/man/outages_fallbacks.Rd b/man/outages_fallbacks.Rd index 9efd3c2e..62084510 100644 --- a/man/outages_fallbacks.Rd +++ b/man/outages_fallbacks.Rd @@ -54,7 +54,7 @@ the European platform, unavailability of European platform itself used on the platform fails or does not find solution. } \examples{ -#' +\dontshow{if (there_is_provider() && nchar(Sys.getenv("ENTSOE_PAT")) > 0L) withAutoprint(\{ # examplesIf} df <- entsoeapi::outages_fallbacks( eic = "10YBE----------2", period_start = lubridate::ymd(x = "2023-01-01", tz = "CET"), @@ -63,5 +63,5 @@ df <- entsoeapi::outages_fallbacks( event_nature = "C47") dplyr::glimpse(df) - +\dontshow{\}) # examplesIf} }