- using R Under development (unstable) (2025-02-14 r87718 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
See the install log for details.
- 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 ... [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 ... [3s] 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 ... [67s] ERROR
Running 'test_constants.R' [66s]
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_15_01_50_01_12291/Rtmp6xizE0/RLIBS_460453c61641'
(as 'lib' is unspecified)
also installing the dependencies 'Rcpp', 'RProtoBuf'
trying URL 'http://cran.us.r-project.org/bin/windows/contrib/4.5/Rcpp_1.0.14.zip'
trying URL 'http://cran.us.r-project.org/bin/windows/contrib/4.5/RProtoBuf_0.4.23.zip'
trying URL 'http://cran.us.r-project.org/bin/windows/contrib/4.5/factset.protobuf.stach.v2_1.0.6.zip'
Warning in download.packages(pkgs, destdir = tmpd, available = available, :
download of package 'Rcpp' failed
package 'RProtoBuf' 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_15_01_50_01_12291\RtmpmwRDsj\downloaded_packages
Warning messages:
1: In download.file(urls, destfiles, "libcurl", mode = "wb", ...) :
URL 'https://lib.stat.cmu.edu/R/CRAN/bin/windows/contrib/4.5/Rcpp_1.0.14.zip': Timeout of 60 seconds was reached
2: In download.file(urls, destfiles, "libcurl", mode = "wb", ...) :
some files were not downloaded
>
> # 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))
Loading required package: RProtoBuf
Error: package or namespace load failed for 'RProtoBuf' in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called 'Rcpp'
Error: package 'RProtoBuf' could not be loaded
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' could not be loaded
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' could not be loaded
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' could not be loaded
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' could not be loaded
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' could not be loaded
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' could not be loaded
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 ... [20s] OK
- checking HTML version of manual ... [1s] OK
- DONE
Status: 1 ERROR