Running ‘test_constants.R’ [0s/181s]
  Running ‘testthat.R’ [0m/18m]
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 '/tmp/RtmphFT5tz/RLIBS_26483d65cfdeed'
  (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 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 12 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-StachV2ColumnTests.R:1:1'): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  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()`) ──
  <packageNotFoundError/error/condition>
  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()`) ──
  <packageNotFoundError/error/condition>
  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()`) ───
  <packageNotFoundError/error/condition>
  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()`) ──
  <packageNotFoundError/error/condition>
  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()`) ──
  <packageNotFoundError/error/condition>
  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 12 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted