Running ‘testthat.R’ [21s/30s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("R_TESTS" = "") # see https://github.com/hadley/testthat/issues/86
  > library(testthat)
  > library(checkmate)
  > 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
  
  > library(purrr)
  
  Attaching package: 'purrr'
  
  The following object is masked from 'package:testthat':
  
      is_null
  
  > library(tidyr)
  
  Attaching package: 'tidyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  > # library(pammtools)
  > 
  > test_check("pammtools")
  Loading required package: pammtools
  The add_term function has changed in pammtools 0.1.12.
      The argument `relative` is deprecated and replaced by `reference`.
      See help page for details.
  
  Attaching package: 'pammtools'
  
  The following object is masked from 'package:stats':
  
      filter
  
  ── 1. Error: LL helpers and as_ped produce equivalent LL windows (@test-cumulati
  'where' must be an environment
  Backtrace:
    1. pammtools::sim_pexp(...)
   20. ellipsis::check_dots_used()
   22. ellipsis:::exit_handler(action)
   23. base::bquote(...)
  
  ── 2. Error: Cumulative effects are calculated correctly (@test-cumulative-effec
  'where' must be an environment
  Backtrace:
    1. pammtools::sim_pexp(...)
   20. ellipsis::check_dots_used()
   22. ellipsis:::exit_handler(action)
   23. base::bquote(...)
  
  ── 3. Error: Simulation function works (@test-simulation.R#22)  ────────────────
  'where' must be an environment
  Backtrace:
    1. pammtools::sim_pexp(...)
   20. ellipsis::check_dots_used()
   22. ellipsis:::exit_handler(action)
   23. base::bquote(...)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 283 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: LL helpers and as_ped produce equivalent LL windows (@test-cumulative-effect.R#29) 
  2. Error: Cumulative effects are calculated correctly (@test-cumulative-effect.R#83) 
  3. Error: Simulation function works (@test-simulation.R#22) 
  
  Error: testthat unit tests failed
  Execution halted