* using log directory 'd:/Rcompile/CRANpkg/local/4.3/tabulapdf.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'tabulapdf/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'tabulapdf' version '1.0.5-3' * 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 'tabulapdf' can be installed ... OK * checking installed package size ... NOTE installed size is 13.5Mb sub-directories of 1Mb or more: java 12.7Mb * 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] OK * checking startup messages can be suppressed ... [2s] 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 ... [7s] 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 ... [5s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [29s] ERROR Running 'testthat.R' [29s] Running the tests in 'tests/testthat.R' failed. Complete output: > library("testthat") > library("tabulapdf") > > stop_logging() > test_check("tabulapdf") [ FAIL 1 | WARN 1 | SKIP 0 | PASS 93 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_non-latin.R:15:3'): Read French language PDF w/correct encoding ── Error in `utils::download.file(path, tmp, quiet = quiet, mode = "wb")`: cannot open URL 'http://www.europarl.europa.eu/oeil/popups/printfichetechnical.pdf?id=673511&lang=fr' Backtrace: ▆ 1. └─tabulapdf::extract_text(f2, page = 1, encoding = "latin1") at test_non-latin.R:15:3 2. └─tabulapdf:::load_doc(file, password = password, copy = copy) 3. └─tabulapdf:::localize_file(path = file, copy = copy) 4. └─utils::download.file(path, tmp, quiet = quiet, mode = "wb") [ FAIL 1 | WARN 1 | SKIP 0 | PASS 93 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [10s] OK * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR, 1 NOTE