Running ‘testthat.R’ [306s/290s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # load packages
  > library(testthat)
  > library(prioritizr)
  Loading required package: raster
  Loading required package: sp
  Loading required package: proto
  > 
  > # load solver packages
  > require(gurobi)
  Loading required package: gurobi
  Warning message:
  In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
    there is no package called 'gurobi'
  > require(lpsymphony)
  Loading required package: lpsymphony
  Warning message:
  In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
    there is no package called 'lpsymphony'
  > require(Rsymphony)
  Loading required package: Rsymphony
  Warning message:
  In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
    there is no package called 'Rsymphony'
  > 
  > # enable parallel testing
  > Sys.unsetenv("R_TESTS")
  > 
  > # run tests
  > test_check("prioritizr")
  list()
  attr(,"class")
  [1] "Waiver"
  ── 1. Error: get parameter methods (@test_problem.R#821)  ──────────────────────
  parameter with matching name not found
  1: x$solver$parameters$find("gap") at testthat/test_problem.R:821
  2: res(x, ...)
  3: stop("parameter with matching name not found")
  
  ── 2. Error: set parameter methods (@test_problem.R#844)  ──────────────────────
  parameter with matching name not found
  1: x$solver$parameters$find("gap") at testthat/test_problem.R:844
  2: res(x, ...)
  3: stop("parameter with matching name not found")
  
  ── 3. Error: render parameter methods (@test_problem.R#880)  ───────────────────
  parameter with matching name not found
  1: x$solver$parameters$find("gap") at testthat/test_problem.R:880
  2: res(x, ...)
  3: stop("parameter with matching name not found")
  
  ..
  ..
  ..
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 11583 SKIPPED: 117 FAILED: 3
  1. Error: get parameter methods (@test_problem.R#821) 
  2. Error: set parameter methods (@test_problem.R#844) 
  3. Error: render parameter methods (@test_problem.R#880) 
  
  Error: testthat unit tests failed
  Execution halted