CRAN Package Check Results for Package umweltapir

Last updated on 2026-07-22 07:49:47 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 2.45 28.23 30.68 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.1 1.66 23.58 25.24 OK
r-devel-linux-x86_64-fedora-clang 0.2.1 45.31 OK
r-devel-linux-x86_64-fedora-gcc 0.2.1 20.19 OK
r-devel-windows-x86_64 0.2.1 6.00 47.00 53.00 OK
r-patched-linux-x86_64 0.2.1 2.17 25.87 28.04 OK
r-release-linux-x86_64 0.2.1 2.48 25.47 27.95 OK
r-release-macos-arm64 0.2.1 1.00 15.00 16.00 OK
r-release-macos-x86_64 0.2.1 2.00 41.00 43.00 OK
r-release-windows-x86_64 0.2.1 4.00 44.00 48.00 OK
r-oldrel-macos-arm64 0.2.1 1.00 17.00 18.00 OK
r-oldrel-macos-x86_64 0.2.1 2.00 43.00 45.00 OK
r-oldrel-windows-x86_64 0.2.1 6.00 54.00 60.00 OK

Check Details

Version: 0.2.1
Check: examples
Result: ERROR Running examples in ‘umweltapir-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: fetch_data > ### Title: Fetch data from umwelt.info > ### Aliases: fetch_data fetch_by_query fetch_by_url fetch_by_ids > ### fetch_facet_values > > ### ** Examples > > # Example 1: Fetching by a direct URL > if (interactive()) { + api_url <- "https://md.umwelt.info/search/all?query=Luftqualität" + result_list <- fetch_by_url(api_url) + } > > # Example 2: Fetching by query string > # For background how to build a query see https://md.umwelt.info/swagger-ui/#/search/text_search > # If you want to know which facet values exist for a certain facet, you can use > # fetch_facet_values (see example 5). > if (interactive()) { + result_list <- fetch_by_query("organisation:/Land/Bayern/open.bydata AND Ozon AND license:/Offen") + } > > # Example 3: Select subset of columns and unnest columns (here the column "resources" is unnested > # into its subcolums "type", "url", "description", "direct_link" and "primary_content") and in a > # second step "type" is further unnested into "path" and "label" > if (interactive()) { + result_list <- fetch_by_query("(Ozon) AND organisation:/Land/Bayern/open.bydata") + colnames(result_list) # columns before unnesting + result_list <- result_list |> + tidyr::unnest(col = c("source")) |> + (\(df) df[, c("source", "id", "resources", "title", "quality"), drop = FALSE])() |> + tidyr::unnest(col = c("resources")) |> + tidyr::unnest(col = c("type")) + colnames(result_list) # columns after unnesting) + } > > # Example 4: Fetching by a list of dataset IDs. This can e.g. be useful for downloading resources. > # After using preview_resources you can select a subset of from the preview list using > # fetch_by_ids() and forward it as input to download_resources(). > ids <- c( + "uvk-be/-sen-uvk-umwelt-luft-luftqualitaet-", + "lanuk-nrw/-publikationen-publikation-bericht-ueber-die-luftqualitaet-im-jahre-2014", + "metaver-hb/7F0A29F5-ECBC-476D-9C99-DC1A6A8043D0" + ) > datasets <- fetch_by_ids(ids) Error in `httr2::req_perform()`: ! Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Could not connect to server [md.umwelt.info]: Failed to connect to md.umwelt.info port 443 after 237 ms: Could not connect to server Backtrace: ▆ 1. └─umweltapir::fetch_by_ids(ids) 2. ├─httr2::resp_body_string(...) 3. │ └─httr2:::check_response(resp) 4. │ └─httr2:::is_response(resp) 5. └─httr2::req_perform(...) 6. └─httr2:::handle_resp(req, resp, error_call = error_call) 7. └─rlang::cnd_signal(resp) Execution halted Flavor: r-devel-linux-x86_64-debian-clang