CRAN Package Check Results for Package PxWebApiData

Last updated on 2026-06-02 04:51:43 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.9.0 OK
r-devel-linux-x86_64-debian-gcc 1.9.0 2.03 34.02 36.05 OK
r-devel-linux-x86_64-fedora-clang 1.9.0 70.14 OK
r-devel-linux-x86_64-fedora-gcc 1.9.0 5.00 80.88 85.88 OK
r-devel-windows-x86_64 1.9.0 5.00 96.00 101.00 OK
r-patched-linux-x86_64 1.9.0 3.17 42.81 45.98 OK
r-release-linux-x86_64 1.9.0 2.96 42.37 45.33 OK
r-release-macos-arm64 1.9.0 1.00 144.00 145.00 OK
r-release-macos-x86_64 1.9.0 2.00 189.00 191.00 OK
r-release-windows-x86_64 1.9.0 5.00 124.00 129.00 ERROR
r-oldrel-macos-arm64 1.9.0 1.00 114.00 115.00 OK
r-oldrel-macos-x86_64 1.9.0 2.00 167.00 169.00 OK
r-oldrel-windows-x86_64 1.9.0 7.00 111.00 118.00 OK

Check Details

Version: 1.9.0
Check: examples
Result: ERROR Running examples in 'PxWebApiData-Ex.R' failed The error most likely occurred in: > ### Name: api_data > ### Title: PX-Web Data by API > ### Aliases: api_data api_data_1 api_data_2 api_data_12 > > ### ** Examples > > > obj <- api_data(14162, Region = FALSE, InnKvartering1 = FALSE, Landkoder2 = FALSE, + ContentsCode = TRUE, Tid = 3i, url_type = "ssb_en") Not available - 500 > > obj[[1]] # The label version of the dataset, as returned by api_data_1() NULL > obj[[2]] # The code version of the dataset, as returned by api_data_2() NULL > names(obj) NULL > info(obj) # Similar to comment(); see also note() below NULL > > # same as above > # api_data("https://data.ssb.no/api/pxwebapi/v2/tables/14162/data?lang=en", > # default_query = FALSE, ContentsCode = "*", Tid = "top(3)") > > # also same as above > # api_data(14162, url_type = "ssb_en", default_query = FALSE, > # ContentsCode = list(valueCodes = "*"), > # Tid = list(valueCodes = "top(3)")) > > api_data_1("https://data.ssb.no/api/pxwebapi/v2/tables/09546/data?lang=en", + Region = FALSE, SkoleSTR = "07", GrSkolOrgForm = "4", + EierforhSkole = 1:2, ContentsCode = TRUE, Tid = "202?") Warning in max(vapply(row_vals, length, integer(1)), na.rm = TRUE) : no non-missing arguments to max; returning -Inf Error in if (nzchar(cand)) strsplit(cand, "\r", fixed = TRUE)[[1]] else NULL : argument is of length zero Calls: api_data_1 ... api_data -> query_url -> meta_frames -> list_to_df_expand Execution halted Flavor: r-release-windows-x86_64