* using log directory ‘/srv/hornik/tmp/CRAN_pretest/sivirep.Rcheck’ * using R Under development (unstable) (2024-10-11 r87227) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.8 (9) Debian flang-new version 18.1.8 (9) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘sivirep/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘sivirep’ version ‘1.0.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/126s] NOTE Maintainer: ‘Geraldine Gómez-Millán ’ New submission Found the following (possibly) invalid URLs: URL: https://www.ins.gov.co From: inst/doc/sivirep.html README.md Status: Error Message: Connection timed out after 60002 milliseconds URL: https://www.ins.gov.co/Direcciones/Vigilancia/Paginas/SIVIGILA.aspx From: inst/doc/sivirep.html README.md Status: Error Message: Connection timed out after 60000 milliseconds * 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 whether package ‘sivirep’ can be installed ... [3s/3s] OK * 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 ... [5s/5s] 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [11s/13s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [15s/151s] ERROR Running ‘testthat.R’ [14s/151s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(sivirep) > > test_check("sivirep") trying URL 'https://raw.githubusercontent.com/TRACE-LAC/sivirep_incidence/main/data/poblacion_riesgo/210_dengue/pob_riesgo_210_dengue_2020.rds' Content type 'application/octet-stream' length 15111 bytes (14 KB) ================================================== downloaded 14 KB Las incidencias se calcularon con la poblacion a riesgo definida por el Ministerio de Salud para el 2020 trying URL 'https://raw.githubusercontent.com/TRACE-LAC/sivirep_incidence/main/data/proyecciones/proyecciones_2020.rds' Content type 'application/octet-stream' length 1214797 bytes (1.2 MB) ================================================== downloaded 1.2 MB Las incidencias se calcularon con las proyecciones poblacionales DANE. Si usted cuenta con la poblacion a riesgo definida por el Ministerio de Salud para el 2020 puede hacer uso de ella, asignandola en el argumento data_incidencia de la funcion trying URL 'https://raw.githubusercontent.com/TRACE-LAC/sivirep_resources/main/depto_adm_shp_simp.zip' Content type 'application/zip' length 3188349 bytes (3.0 MB) ================================================== downloaded 3.0 MB trying URL 'https://raw.githubusercontent.com/TRACE-LAC/sivirep_incidence/main/data/poblacion_riesgo/210_dengue/pob_riesgo_210_dengue_2020.rds' Content type 'application/octet-stream' length 15111 bytes (14 KB) ================================================== downloaded 14 KB Las incidencias se calcularon con la poblacion a riesgo definida por el Ministerio de Salud para el 2020 trying URL 'https://raw.githubusercontent.com/TRACE-LAC/sivirep_incidence/main/data/poblacion_riesgo/210_dengue/pob_riesgo_210_dengue_2020.rds' Content type 'application/octet-stream' length 15111 bytes (14 KB) ================================================== downloaded 14 KB Las incidencias se calcularon con la poblacion a riesgo definida por el Ministerio de Salud para el 2020 trying URL 'https://raw.githubusercontent.com/TRACE-LAC/sivirep_incidence/main/data/poblacion_riesgo/210_dengue/pob_riesgo_210_dengue_2020.rds' Content type 'application/octet-stream' length 15111 bytes (14 KB) ================================================== downloaded 14 KB Las incidencias se calcularon con la poblacion a riesgo definida por el Ministerio de Salud para el 2020 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 345 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-years.R:20:3'): `years` funciona correctamente ───────────────── Error in `value[[3L]](cond)`: Ha ocurrido un error inesperado Error in value[[3L]](cond): No se pudo conectar al servidor de SIVIGILA para descargar los datos Backtrace: ▆ 1. └─sivirep::import_data_event(...) at test-years.R:20:3 2. └─sivirep:::obtener_eventos_relacionados(nombre_event, years) 3. └─sivirep::list_events() 4. └─sivirep:::realizar_peticion_http(ruta_consulta_event_year) 5. └─base::tryCatch(...) 6. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 7. └─base (local) tryCatchOne(...) 8. └─value[[3L]](cond) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 345 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [1s/1s] OK * checking PDF version of manual ... [4s/3s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE