* using log directory 'd:/Rcompile/CRANpkg/local/4.5/factset.protobuf.stachextensions.Rcheck' * using R Under development (unstable) (2024-05-30 r86651 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.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 ... [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 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 ... [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 examples ... [1s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [15s] ERROR Running 'test_constants.R' [3s] Running 'testthat.R' [12s] 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/Rtmp25nd4u/RLIBS_3d3da0715411' (as 'lib' is unspecified) Warning: unable to access index for repository http://cran.us.r-project.org/src/contrib: cannot open URL 'http://cran.us.r-project.org/src/contrib/PACKAGES' Warning: unable to access index for repository http://cran.us.r-project.org/bin/windows/contrib/4.5: cannot open URL 'http://cran.us.r-project.org/bin/windows/contrib/4.5/PACKAGES' Warning message: package 'factset.protobuf.stach.v2' is not available for this version of R A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-devel/R-admin.html#Installing-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 in FUN(X[[i]], ...) : there is no package called 'factset.protobuf.stach.v2' Calls: lapply -> FUN 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 18 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-StachV2ColumnTests.R:1:1'): (code run outside of `test_that()`) ── Error in `FUN(X[[i]], ...)`: there is no package called 'factset.protobuf.stach.v2' 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]], ...) ── Error ('test-StachV2ColumnTestsWithoutHeaderTable.R:1:1'): (code run outside of `test_that()`) ── Error in `FUN(X[[i]], ...)`: there is no package called 'factset.protobuf.stach.v2' 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]], ...) ── Error ('test-StachV2DecompressTests.R:1:1'): (code run outside of `test_that()`) ── Error in `FUN(X[[i]], ...)`: there is no package called 'factset.protobuf.stach.v2' 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]], ...) ── Error ('test-StachV2RowTests.R:1:1'): (code run outside of `test_that()`) ─── Error in `FUN(X[[i]], ...)`: there is no package called 'factset.protobuf.stach.v2' 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]], ...) ── Error ('test-StachV2RowWithRowAndColSpanTests.R:1:1'): (code run outside of `test_that()`) ── Error in `FUN(X[[i]], ...)`: there is no package called 'factset.protobuf.stach.v2' 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]], ...) ── Error ('test-StachV2SimplifiedRowTests.R:1:1'): (code run outside of `test_that()`) ── Error in `FUN(X[[i]], ...)`: there is no package called 'factset.protobuf.stach.v2' 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]], ...) [ FAIL 6 | WARN 18 | 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