Running ‘testthat.R’ [205s/108s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(omopgenerics)
  
  Attaching package: 'omopgenerics'
  
  The following object is masked from 'package:stats':
  
      filter
  
  > 
  > test_check("omopgenerics")
  Starting 2 test processes
  [ FAIL 4 | WARN 0 | SKIP 2 | PASS 1307 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • On CRAN (2): 'test-assert.R:344:3', 'test-utilities.R:222:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-exportCodelist.R:6:3'): test export codelist json ──────────────
  Error in `tempdir(check)`: NA in coercion to Rboolean
  Backtrace:
      ▆
   1. └─base::tempdir("concepts") at test-exportCodelist.R:6:3
  ── Error ('test-exportCodelist.R:42:3'): test export codelist csv ──────────────
  Error in `tempdir(check)`: NA in coercion to Rboolean
  Backtrace:
      ▆
   1. └─base::tempdir("concepts") at test-exportCodelist.R:42:3
  ── Error ('test-exportConceptSetExpression.R:5:3'): test export concept set expression json ──
  Error in `tempdir(check)`: NA in coercion to Rboolean
  Backtrace:
      ▆
   1. └─base::tempdir("concept_expression") at test-exportConceptSetExpression.R:5:3
  ── Error ('test-exportConceptSetExpression.R:43:3'): test export concept set expression csv ──
  Error in `tempdir(check)`: NA in coercion to Rboolean
  Backtrace:
      ▆
   1. └─base::tempdir("concept_expression") at test-exportConceptSetExpression.R:43:3
  
  [ FAIL 4 | WARN 0 | SKIP 2 | PASS 1307 ]
  Error: Test failures
  Execution halted