* using log directory 'd:/Rcompile/CRANpkg/local/4.4/factset.protobuf.stachextensions.Rcheck' * using R version 4.4.2 (2024-10-31 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'factset.protobuf.stachextensions/DESCRIPTION' ... OK * this is package 'factset.protobuf.stachextensions' version '1.0.4' * 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 'factset.protobuf.stachextensions' 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 code 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 ... [0s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [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 ... [2s] OK * checking Rd files ... [0s] 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 examples ... [1s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [71s] ERROR Running 'test_constants.R' [69s] Running 'testthat.R' [1s] Running the tests in 'tests/test_constants.R' failed. Complete output: > # List of required packages > requiredPackages <- c("factset.protobuf.stach.v2") > > # Install missing packages > missingPackages <- requiredPackages %in% installed.packages()[, "Package"] > if (any(missingPackages == FALSE)) { + install.packages(requiredPackages, repos = "http://cran.us.r-project.org") + } Installing package into 'D:/temp/2025_02_11_01_50_00_30583/RtmpGsDF5M/RLIBS_22fc82541c' (as 'lib' is unspecified) also installing the dependencies 'Rcpp', 'RProtoBuf' trying URL 'http://cran.us.r-project.org/bin/windows/contrib/4.4/Rcpp_1.0.14.zip' Content type 'application/zip' length 2901332 bytes (2.8 MB) ================================================== downloaded 2.8 MB trying URL 'http://cran.us.r-project.org/bin/windows/contrib/4.4/RProtoBuf_0.4.23.zip' Content type 'application/zip' length 2645195 bytes (2.5 MB) ====================================== downloaded 1.9 MB Error in download.file(url, destfile, method, mode = "wb", ...) : download from 'http://cran.us.r-project.org/bin/windows/contrib/4.4/RProtoBuf_0.4.23.zip' failed In addition: Warning messages: 1: In download.file(url, destfile, method, mode = "wb", ...) : downloaded length 2031950 != reported length 2645195 2: In download.file(url, destfile, method, mode = "wb", ...) : URL 'https://lib.stat.cmu.edu/R/CRAN/bin/windows/contrib/4.4/RProtoBuf_0.4.23.zip': Timeout of 60 seconds was reached Warning in download.packages(pkgs, destdir = tmpd, available = available, : download of package 'RProtoBuf' failed trying URL 'http://cran.us.r-project.org/bin/windows/contrib/4.4/factset.protobuf.stach.v2_1.0.6.zip' Content type 'application/zip' length 51325 bytes (50 KB) ================================================== downloaded 50 KB package 'Rcpp' successfully unpacked and MD5 sums checked package 'factset.protobuf.stach.v2' successfully unpacked and MD5 sums checked The downloaded binary packages are in D:\temp\2025_02_11_01_50_00_30583\Rtmpu2rTu5\downloaded_packages > > # Load packages > # In the below statement 'invisible' is used to make the printing statements invisible > # which means the printing statements will not appear > invisible(lapply(requiredPackages, library, character.only = TRUE)) Error: package 'RProtoBuf' required by 'factset.protobuf.stach.v2' could not be found Execution halted Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(factset.protobuf.stachextensions) > > test_check("factset.protobuf.stachextensions") [ FAIL 6 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-StachV2ColumnTests.R:1:1'): (code run outside of `test_that()`) ── Error: package 'RProtoBuf' required by 'factset.protobuf.stach.v2' could not be found Backtrace: ▆ 1. ├─base::source("../test_constants.R") at test-StachV2ColumnTests.R:1:1 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─base::lapply(requiredPackages, library, character.only = TRUE) 6. └─base (local) FUN(X[[i]], ...) 7. └─base::.getRequiredPackages2(...) ── Error ('test-StachV2ColumnTestsWithoutHeaderTable.R:1:1'): (code run outside of `test_that()`) ── Error: package 'RProtoBuf' required by 'factset.protobuf.stach.v2' could not be found Backtrace: ▆ 1. ├─base::source("../test_constants.R") at test-StachV2ColumnTestsWithoutHeaderTable.R:1:1 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─base::lapply(requiredPackages, library, character.only = TRUE) 6. └─base (local) FUN(X[[i]], ...) 7. └─base::.getRequiredPackages2(...) ── Error ('test-StachV2DecompressTests.R:1:1'): (code run outside of `test_that()`) ── Error: package 'RProtoBuf' required by 'factset.protobuf.stach.v2' could not be found Backtrace: ▆ 1. ├─base::source("../test_constants.R") at test-StachV2DecompressTests.R:1:1 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─base::lapply(requiredPackages, library, character.only = TRUE) 6. └─base (local) FUN(X[[i]], ...) 7. └─base::.getRequiredPackages2(...) ── Error ('test-StachV2RowTests.R:1:1'): (code run outside of `test_that()`) ─── Error: package 'RProtoBuf' required by 'factset.protobuf.stach.v2' could not be found Backtrace: ▆ 1. ├─base::source("../test_constants.R") at test-StachV2RowTests.R:1:1 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─base::lapply(requiredPackages, library, character.only = TRUE) 6. └─base (local) FUN(X[[i]], ...) 7. └─base::.getRequiredPackages2(...) ── Error ('test-StachV2RowWithRowAndColSpanTests.R:1:1'): (code run outside of `test_that()`) ── Error: package 'RProtoBuf' required by 'factset.protobuf.stach.v2' could not be found Backtrace: ▆ 1. ├─base::source("../test_constants.R") at test-StachV2RowWithRowAndColSpanTests.R:1:1 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─base::lapply(requiredPackages, library, character.only = TRUE) 6. └─base (local) FUN(X[[i]], ...) 7. └─base::.getRequiredPackages2(...) ── Error ('test-StachV2SimplifiedRowTests.R:1:1'): (code run outside of `test_that()`) ── Error: package 'RProtoBuf' required by 'factset.protobuf.stach.v2' could not be found Backtrace: ▆ 1. ├─base::source("../test_constants.R") at test-StachV2SimplifiedRowTests.R:1:1 2. │ ├─base::withVisible(eval(ei, envir)) 3. │ └─base::eval(ei, envir) 4. │ └─base::eval(ei, envir) 5. └─base::lapply(requiredPackages, library, character.only = TRUE) 6. └─base (local) FUN(X[[i]], ...) 7. └─base::.getRequiredPackages2(...) [ FAIL 6 | WARN 0 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... [1s] OK * DONE Status: 1 ERROR