CRAN Package Check Results for Package factset.protobuf.stachextensions

Last updated on 2025-02-12 18:49:50 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.4 5.87 294.74 300.61 OK
r-devel-linux-x86_64-debian-gcc 1.0.4 3.92 212.50 216.42 OK
r-devel-linux-x86_64-fedora-clang 1.0.4 582.36 OK
r-devel-linux-x86_64-fedora-gcc 1.0.4 145.46 OK
r-devel-windows-x86_64 1.0.4 6.00 87.00 93.00 OK
r-patched-linux-x86_64 1.0.4 5.78 306.27 312.05 OK
r-release-linux-x86_64 1.0.4 5.80 299.15 304.95 OK
r-release-macos-arm64 1.0.4 52.00 OK
r-release-macos-x86_64 1.0.4 81.00 OK
r-release-windows-x86_64 1.0.4 7.00 117.00 124.00 ERROR
r-oldrel-macos-arm64 1.0.4 46.00 OK
r-oldrel-macos-x86_64 1.0.4 112.00 OK
r-oldrel-windows-x86_64 1.0.4 8.00 98.00 106.00 OK

Check Details

Version: 1.0.4
Check: tests
Result: 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 Flavor: r-release-windows-x86_64