* using log directory 'd:/Rcompile/CRANpkg/local/4.4/restatapi.Rcheck' * using R version 4.4.0 RC (2024-04-16 r86468 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'restatapi/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'restatapi' version '0.23.1' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'restatapi' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking whether startup messages can be suppressed ... [1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [5s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... [1s] ERROR Running examples in 'restatapi-Ex.R' failed The error most likely occurred in: > ### Name: get_compressed_sdmx > ### Title: Download and extract compressed SDMX XML > ### Aliases: get_compressed_sdmx > > ### ** Examples > > id<-"agr_r_milkpr" > url<-paste0("https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/", + id, + "?format=sdmx_2.1_structured&compressed=true") > if (!(grepl("amzn|-aws|-azure ",Sys.info()['release']))) options(timeout=2) > sdmx_xml<-get_compressed_sdmx(url,verbose=TRUE,format="gz") get_compressed_sdmx - url:https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr?format=sdmx_2.1_structured&compressed=true get_compressed_sdmx - format:gz get_compressed_sdmx - Error during retrieval and extraction of the SDMX file: xmlParseEntityRef: no name [68] read_xml.raw(raw, encoding = encoding, base_url = base_url, as_html = as_html, options = options) get_compressed_sdmx - xml NULL:TRUE > options(timeout=60) > > > > cleanEx() Error: connections left open: gzcon(https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr?format=sdmx_2.1_structured&compressed=true) (gzcon) Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [5s] OK Running 'tinytest.R' [5s] * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... [4s] OK * DONE Status: 1 ERROR