Running ‘testthat.R’ [26s/30s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(clinDataReview)
  > 
  > test_check("clinDataReview")
    adding: report.html (deflated 63%)
    adding: report_dependencies66bc6658dbbe0/ (stored 0%)
    adding: report_dependencies66bc6658dbbe0/file66bc67144383a.html (deflated 8%)
  [ FAIL 6 | WARN 0 | SKIP 31 | PASS 509 ]
  
  ══ Skipped tests (31) ══════════════════════════════════════════════════════════
  • On CRAN (31): 'test_knitPrint.R:35:2', 'test_knitPrint.R:76:2',
    'test_knitPrint.R:129:2', 'test_knitPrint.R:182:2', 'test_knitPrint.R:228:2',
    'test_knitPrint.R:290:2', 'test_render_clinDataReviewReport.R:371:2',
    'test_render_clinDataReviewReport.R:414:2',
    'test_render_clinDataReviewReport.R:452:2',
    'test_render_clinDataReviewReport.R:497:2',
    'test_render_clinDataReviewReport.R:561:2',
    'test_render_clinDataReviewReport.R:633:2',
    'test_render_clinDataReviewReport.R:700:2',
    'test_render_clinDataReviewReport.R:758:2',
    'test_render_clinDataReviewReport.R:816:2',
    'test_render_clinDataReviewReport.R:874:2',
    'test_render_clinDataReviewReport.R:1048:2',
    'test_render_clinDataReviewReport.R:1119:3',
    'test_render_clinDataReviewReport.R:1230:2',
    'test_render_clinDataReviewReport.R:1371:3',
    'test_render_clinDataReviewReport.R:1489:3', 'test_skeleton.R:92:2',
    'test_skeleton.R:132:3', 'test_templates.R:53:2', 'test_templates.R:100:3',
    'test_templates.R:162:2', 'test_templates.R:208:2', 'test_templates.R:255:2',
    'test_templates.R:306:3', 'test_templates.R:369:2', 'test_templates.R:418:2'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_annotateData.R:207:2'): Data is correctly annotated based on an exported dataset ──
  Error in `tempdir(check)`: NA in coercion to Rboolean
  Backtrace:
      ▆
   1. └─base::tempdir("annotation") at test_annotateData.R:207:9
  ── Error ('test_annotateData.R:237:2'): Data is correctly annotated with a specified variable based on an exported dataset ──
  Error in `tempdir(check)`: NA in coercion to Rboolean
  Backtrace:
      ▆
   1. └─base::tempdir("annotation") at test_annotateData.R:237:9
  ── Error ('test_annotateData.R:371:2'): Data is correctly annotated based on the preset 'demographics' option ──
  Error in `tempdir(check)`: NA in coercion to Rboolean
  Backtrace:
      ▆
   1. └─base::tempdir("annotation") at test_annotateData.R:371:9
  ── Error ('test_annotateData.R:456:2'): Data is correctly annotated based on the preset 'exposed_subjects' option ──
  Error in `tempdir(check)`: NA in coercion to Rboolean
  Backtrace:
      ▆
   1. └─base::tempdir("annotation") at test_annotateData.R:456:9
  ── Error ('test_annotateData.R:490:2'): An error is generated when annotating with the preset 'exposed_subjects' option, but this dataset does not contain a subject variable ──
  Error in `tempdir(check)`: NA in coercion to Rboolean
  Backtrace:
      ▆
   1. └─base::tempdir("annotation") at test_annotateData.R:490:9
  ── Error ('test_annotateData.R:515:2'): An error is generated when annotating with the preset 'exposed_subjects' option, but this dataset does not contain a start time variable ──
  Error in `tempdir(check)`: NA in coercion to Rboolean
  Backtrace:
      ▆
   1. └─base::tempdir("annotation") at test_annotateData.R:515:9
  
  [ FAIL 6 | WARN 0 | SKIP 31 | PASS 509 ]
  Error: Test failures
  Execution halted