* using log directory 'd:/Rcompile/CRANpkg/local/4.5/GTFShift.Rcheck' * using R version 4.5.3 (2026-03-11 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'GTFShift/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'GTFShift' version '1.1.0' * 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 'GTFShift' can be installed ... OK * checking installed package size ... INFO installed size is 5.9Mb sub-directories of 1Mb or more: doc 1.1Mb extdata 1.5Mb help 3.1Mb * checking package directory ... OK * checking 'build' 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 ... [3s] OK * checking whether the package can be loaded with stated dependencies ... [3s] OK * checking whether the package can be unloaded cleanly ... [3s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s] OK * checking whether the namespace can be unloaded cleanly ... [3s] OK * checking loading without being on the library search path ... [3s] 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 ... [13s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [77s] ERROR Running examples in 'GTFShift-Ex.R' failed The error most likely occurred in: > ### Name: rt_collect_json > ### Title: Collect GTFS-RT data from a JSON feed at regular intervals > ### Aliases: rt_collect_json > > ### ** Examples > > # Create file > destination_file <- withr::local_tempfile(fileext = ".csv") > > # Collect data > GTFShift::rt_collect_json( + gtfs_rt_url = "https://go.tmlmobilidade.pt/hub/api/v1/realtime/vehicles/positions/gtfs", + entity_key = "data.entity", + destination_file = destination_file, + scrape_interval = -1 # Negative to run only once + ) [2026-10-26 10:23:02] Starting GTFS-RT data collection from https://go.tmlmobilidade.pt/hub/api/v1/realtime/vehicles/positions/gtfs Warning in open.connection(con, "rb") : URL 'https://go.tmlmobilidade.pt/hub/api/v1/realtime/vehicles/positions/gtfs': Timeout of 60 seconds was reached Error in open.connection(con, "rb") : cannot open the connection to 'https://go.tmlmobilidade.pt/hub/api/v1/realtime/vehicles/positions/gtfs' Calls: ... parse_and_simplify -> parseJSON -> parse_con -> open -> open.connection Execution halted Ran 2/2 deferred expressions * checking for unstated dependencies in 'tests' ... OK * checking tests ... [109s] OK Running 'spelling.R' [0s] Running 'testthat.R' [108s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [3s] OK * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... [7s] OK * DONE Status: 1 ERROR