Running 'testthat.R' [21s]
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)
  > # library(pammtools)
  > 
  > test_check("pammtools")
  Loading required package: pammtools
  
  Attaching package: 'pammtools'
  
  The following object is masked from 'package:stats':
  
      filter
  
  -- 1. Failure: Cumulative coefficients work (@test-cumulative-coefficients.R#13)
  `... <- NULL` did not produce any warnings.
  
  -- 2. Failure: Cumulative coefficients work (@test-cumulative-coefficients.R#19)
  Check on cumu_coef_bam isn't true.
  Must have exactly 100 rows, but has 82 rows
  
  -- 3. Failure: Cumulative coefficients work (@test-cumulative-coefficients.R#22)
  Check on cumu_coef_pam isn't true.
  Must have exactly 100 rows, but has 82 rows
  
  -- 4. Failure: Cumulative coefficients work (@test-cumulative-coefficients.R#27)
  Check on cumu_coef_aalen isn't true.
  Must have exactly 104 rows, but has 90 rows
  
  -- 5. Failure: Cumulative coefficients work (@test-cumulative-coefficients.R#32)
  Check on cumu_coef_cox.aalen isn't true.
  Must have exactly 52 rows, but has 45 rows
  
  -- 6. Failure: creating newdata works on ungrouped data (@test-newdata.R#17)  --
  make_newdata(iris2, Sepal.Length = seq_range(Sepal.Length, 2))$Sepal.Length not equal to c(4.4, 7.1).
  2/2 mismatches (average diff: 0.3)
  [1] 4.8 - 4.4 ==  0.4
  [2] 6.9 - 7.1 == -0.2
  
  == testthat results  ===========================================================
  OK: 285 SKIPPED: 0 FAILED: 6
  1. Failure: Cumulative coefficients work (@test-cumulative-coefficients.R#13) 
  2. Failure: Cumulative coefficients work (@test-cumulative-coefficients.R#19) 
  3. Failure: Cumulative coefficients work (@test-cumulative-coefficients.R#22) 
  4. Failure: Cumulative coefficients work (@test-cumulative-coefficients.R#27) 
  5. Failure: Cumulative coefficients work (@test-cumulative-coefficients.R#32) 
  6. Failure: creating newdata works on ungrouped data (@test-newdata.R#17) 
  
  Error: testthat unit tests failed
  Execution halted