Running 'testthat.R' [19s/20s]
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
  
  == Failed tests ================================================================
  -- Error (test-add-functions.R:4:1): (code run outside of `test_that()`) -------
  Error: object 'veteran' not found
  Backtrace:
      x
   1. +-`%>%`(...) test-add-functions.R:4:0
   2. \-pammtools::as_ped(...)
  -- Error (test-as-ped.R:6:3): Trafo works and attributes are appended ----------
  Error: object 'veteran' not found
  -- Error (test-interval-functions.R:4:1): (code run outside of `test_that()`) --
  Error: object 'veteran' not found
  Backtrace:
      x
   1. +-`%>%`(...) test-interval-functions.R:4:0
   2. \-pammtools::as_ped(...)
  -- Error (test-pamm-fit.R:7:3): pamm function works correctly ------------------
  Error: object 'veteran' not found
  Backtrace:
      x
   1. \-pammtools::as_ped(...) test-pamm-fit.R:7:2
  -- Error (test-simple-transform.R:6:3): Transformation of regular survival data works --
  Error: object 'veteran' not found
  -- Error (test-simple-transform.R:61:3): Error on wrong input ------------------
  Error: object 'veteran' not found
  -- Error (test-tidyverse-S3methods.R:6:3): ped class is preserved after dplyr operations --
  Error: object 'veteran' not found
  Backtrace:
      x
   1. \-dplyr::slice(veteran, 1:2) test-tidyverse-S3methods.R:6:2
  
  [ FAIL 7 | WARN 7 | SKIP 0 | PASS 207 ]
  Error: Test failures
  Execution halted