* using log directory 'd:/Rcompile/CRANpkg/local/4.3/saros.base.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 'saros.base/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'saros.base' version '0.2.1' * 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 'saros.base' can be installed ... OK * checking installed package size ... OK * checking package 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking startup messages can be suppressed ... [1s] 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 ... [10s] 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... [0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [6s] ERROR Running examples in 'saros.base-Ex.R' failed The error most likely occurred in: > ### Name: download_zip_to_folder > ### Title: Wrapper to Download and Unzip a Github Repository to A Folder > ### Aliases: download_zip_to_folder > > ### ** Examples > > download_zip_to_folder( + github_zip_url = "https://github.com/NIFU-NO/nifutemplates/archive/refs/heads/main.zip", + out_path = tempdir(), overwrite = TRUE + ) trying URL 'https://github.com/NIFU-NO/nifutemplates/archive/refs/heads/main.zip' downloaded 3.3 MB Warning in gsub(x = old_files, pattern = out_path, replacement = "") : TRE pattern compilation error 'Invalid back reference' Error in gsub(x = old_files, pattern = out_path, replacement = "") : invalid regular expression 'D:\temp\2024_12_20_01_50_00_19051\Rtmp4QYJPT', reason 'Invalid back reference' Calls: download_zip_to_folder -> gsub Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [25s] OK Running 'spelling.R' [0s] Running 'testthat.R' [24s] * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... [6s] OK * DONE Status: 1 ERROR