Running ‘testthat.R’ [71s/93s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(patientProfilesVis)
  > 
  > test_check("patientProfilesVis")
  [ FAIL 1 | WARN 2 | SKIP 20 | PASS 364 ]
  
  == Skipped tests (20) ==================================================================================================================================================================================
  * On CRAN (20): 'test_createSubjectProfileReport.R:46:2', 'test_createSubjectProfileReport.R:82:2', 'test_createSubjectProfileReport.R:124:2', 'test_createSubjectProfileReport.R:154:2',
    'test_createSubjectProfileReport.R:197:2', 'test_createSubjectProfileReport.R:252:2', 'test_createSubjectProfileReport.R:316:2', 'test_createSubjectProfileReport.R:381:2',
    'test_createSubjectProfileReport.R:420:2', 'test_createSubjectProfileReport.R:475:2', 'test_createSubjectProfileReport.R:531:2', 'test_createSubjectProfileReport.R:570:2',
    'test_createSubjectProfileReport.R:622:2', 'test_createSubjectProfileReport.R:671:2', 'test_createSubjectProfileReport.R:723:2', 'test_createSubjectProfileReport.R:775:2',
    'test_createSubjectProfileReport.R:820:2', 'test_createSubjectProfileReport.R:878:2', 'test_createSubjectProfileReport.R:908:2', 'test_createSubjectProfileReport.R:939:2'
  
  == Failed tests ========================================================================================================================================================================================
  -- Error ('test_subjectProfileCombine.R:329:2'): The number of lines to be displayed in the subject profile plot is correctly extracted when plots are combined --
  Error in `FUN(X[[i]], ...)`: Multiple 'null' objects.
  Backtrace:
       x
    1. +-testthat::expect_silent(listPlotsWthtNLineCombined <- subjectProfileCombine(listPlotsWthtNLines)) at test_subjectProfileCombine.R:329:9
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat (local) .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. \-patientProfilesVis::subjectProfileCombine(listPlotsWthtNLines)
   10.   \-patientProfilesVis:::combineVerticallyGGplot(...)
   11.     \-base::sapply(...)
   12.       \-base::lapply(X = X, FUN = FUN, ...)
   13.         \-patientProfilesVis (local) FUN(X[[i]], ...)
   14.           \-base::lapply(...)
   15.             \-patientProfilesVis (local) FUN(X[[i]], ...)
  
  [ FAIL 1 | WARN 2 | SKIP 20 | PASS 364 ]
  Error: Test failures
  Execution halted