* using log directory ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/tgver.Rcheck’ * using R Under development (unstable) (2025-02-28 r87848) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-14 (Debian 14.2.0-16) 14.2.0 GNU Fortran (Debian 14.2.0-16) 14.2.0 * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘tgver/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘tgver’ version ‘0.3.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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking serialization versions ... OK * checking whether package ‘tgver’ can be installed ... OK See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-gcc/tgver-00install.html' for details. * checking package directory ... OK * checking for future file timestamps ... 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 ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] 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 ... [3s/4s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking R/sysdata.rda ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [0s/0s] ERROR Running examples in ‘tgver-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: explore_dir > ### Title: A function to read and serve at least one file from a directory. > ### Aliases: explore_dir > > ### ** Examples > > { + p = file.path(tempdir(), "data") + dir.create(p) + gURL = paste0("https://raw.githubusercontent.com/saferactive/", + "tgve/main/pf-only-name.geojson") + dURL = "https://raw.githubusercontent.com/saferactive/tgve/main/ksi-pf.csv" + download.file(gURL, destfile = file.path(p, "pf.geojson")) + download.file(dURL, destfile = file.path(p, "data.csv")) + + ps = explore_dir(p, background = TRUE) + ps$kill() + unlink(p, recursive = TRUE) + } trying URL 'https://raw.githubusercontent.com/saferactive/tgve/main/pf-only-name.geojson' Warning in download.file(gURL, destfile = file.path(p, "pf.geojson")) : cannot open URL 'https://raw.githubusercontent.com/saferactive/tgve/main/pf-only-name.geojson': HTTP status was '503 Service Unavailable' Error in download.file(gURL, destfile = file.path(p, "pf.geojson")) : cannot open URL 'https://raw.githubusercontent.com/saferactive/tgve/main/pf-only-name.geojson' Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [2s/3s] OK Running ‘skip-download.R’ [0s/0s] Running ‘testthat.R’ [2s/2s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [20s/27s] OK * checking PDF version of manual ... [4s/5s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * DONE Status: 1 ERROR