* using log directory 'd:/RCompile/CRANincoming/R-devel/sinimr.Rcheck' * using R Under development (unstable) (2025-06-30 r88369 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'sinimr/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'sinimr' version '0.3.3' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [30s] NOTE Maintainer: 'Roberto Salas ' New submission Non-FOSS package license (file LICENSE) Possibly misspelled words in DESCRIPTION: SINIM (9:21) Package has a VignetteBuilder field but no prebuilt vignette index. Found the following (possibly) invalid URLs: URL: http://sinim.gov.cl (moved to https://sinim.gov.cl:443/) From: README.md Status: 301 Message: Moved Permanently URL: http://www.ine.cl/ From: man/census_geometry_comunas.Rd man/census_geometry_limites.Rd man/id_geo_census.Rd Status: Error Message: SSL connect error [www.ine.gob.cl]: Recv failure: Connection was reset URL: https://codecov.io/github/robsalasco/sinimr?branch=master (moved to https://app.codecov.io/github/robsalasco/sinimr?branch=master) From: README.md Status: 301 Message: Moved Permanently URL: https://saythanks.io/to/robsalasco From: README.md Status: 404 Message: Not Found For content that is 'Moved Permanently', please change http to https, add trailing slashes, or replace the old by the new URL. Size of tarball: 8045350 bytes * checking package namespace information ... OK * checking package dependencies ... INFO Vignette dependency required without any vignettes: 'knitr' * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... NOTE Found the following hidden files and directories: .github These were most likely included in error. See section 'Package structure' in the 'Writing R Extensions' manual. CRAN-pack does not know about .github * checking for portable file names ... OK * checking whether package 'sinimr' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... NOTE Non-standard files/directories found at top level: 'README.Rmd' '_pkgdown.yml' 'codecov.yml' 'docs' 'sandbox' * 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... NOTE geofilter: no visible binding for global variable 'id_geo_census' geofilter: no visible binding for global variable 'code.reg' geofilter: no visible binding for global variable 'code.prov' geofilter: no visible binding for global variable 'code' get_sinim: no visible binding for global variable 'code' get_sinim: no visible binding for global variable 'id_geo_census' get_sinim: no visible binding for global variable 'census_geometry_comunas' get_sinim: no visible binding for global variable 'census_geometry_limites' get_sinim_vars: no visible binding for global variable 'id_subarea' Undefined global functions or variables: census_geometry_comunas census_geometry_limites code code.prov code.reg id_geo_census id_subarea * checking Rd files ... 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 ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [33s] NOTE Examples with CPU (user + system) or elapsed time > 10s user system elapsed get_sinim 3.64 0.2 26.39 * checking for unstated dependencies in 'tests' ... OK * checking tests ... [32s] ERROR Running 'testthat.R' [32s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(sinimr) > > test_check("sinimr") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 23 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get_sinim_vars.R:8:3'): get_sinim_vars returns a valid output ── `str\(tbl\)` does not match "4 obs. of 3 variables". Actual value: "'data\.frame':\\t22 obs\. of 3 variables:\\n \$ variable: chr "Porcentaje de mujeres funcionarias municipales" "Porcentaje de mujeres profesionales sobre el total de funcionarias municipales Mujeres" "Porcentaje de mujeres en escalafón directivo sobre total de funcionarias municipales mujeres\." "Número de hombres planta" \.\.\.\\n \$ unit : chr "% " "% " "% " "N° " \.\.\.\\n \$ code : int 1231 1232 1259 4057 4058 4064 4065 4072 657 704 \.\.\." Backtrace: ▆ 1. └─testthat::expect_output(str(tbl), "4 obs. of 3 variables") at test-get_sinim_vars.R:8:3 2. └─testthat::expect_match(...) 3. └─testthat:::expect_match_(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 23 ] Error: Test failures Execution halted * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 5 NOTEs