Running ‘testthat.R’ [4s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(strand)
  > library(dplyr)
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > 
  > test_check("strand")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_PortOpt_factor_constraint.R:3:1): (code run outside of `test_that()`) ──
  Error: Cannot call io___MemoryMappedFile__Open(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  Backtrace:
      █
   1. ├─dplyr::left_join(...) test_PortOpt_factor_constraint.R:3:0
   2. └─arrow::read_feather("data/test_input/inputs/inputs_20190103.feather")
   3.   └─arrow:::make_readable_file(file)
   4.     └─arrow::mmap_open(file)
   5.       └─arrow:::io___MemoryMappedFile__Open(path, mode)
  ── Error (test_PortOpt_simple.R:3:1): (code run outside of `test_that()`) ──────
  Error: Cannot call io___MemoryMappedFile__Open(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  Backtrace:
      █
   1. ├─dplyr::left_join(...) test_PortOpt_simple.R:3:0
   2. └─arrow::read_feather("data/test_input/inputs/inputs_20190103.feather")
   3.   └─arrow:::make_readable_file(file)
   4.     └─arrow::mmap_open(file)
   5.       └─arrow:::io___MemoryMappedFile__Open(path, mode)
  ── Error (test_PortOpt_turnover_constraint.R:6:1): (code run outside of `test_that()`) ──
  Error: Cannot call io___MemoryMappedFile__Open(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  Backtrace:
      █
   1. ├─dplyr::left_join(...) test_PortOpt_turnover_constraint.R:6:0
   2. └─arrow::read_feather("data/test_input/inputs/inputs_20190103.feather")
   3.   └─arrow:::make_readable_file(file)
   4.     └─arrow::mmap_open(file)
   5.       └─arrow:::io___MemoryMappedFile__Open(path, mode)
  ── Error (test_Simulation.R:7:1): (code run outside of `test_that()`) ──────────
  Error: Cannot call io___MemoryMappedFile__Open(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  Backtrace:
      █
   1. └─Simulation$new("data/test_Simulation.yaml") test_Simulation.R:7:0
   2.   └─strand:::initialize(...)
   3.     └─arrow::read_feather(secref_config$filename)
   4.       └─arrow:::make_readable_file(file)
   5.         └─arrow::mmap_open(file)
   6.           └─arrow:::io___MemoryMappedFile__Open(path, mode)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 57 ]
  Error: Test failures
  Execution halted