Running ‘testthat.R’ [43s/528s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(OmopStudyBuilder)
  > 
  > test_check("OmopStudyBuilder")
  Saving _problems/test-linkGitHub-203.R
  
  
  
  
  [6/27] [7/27] [8/27] [9/27] [10/27] [11/27] [12/27] [13/27] [14/27] [15/27] [16/27] [17/27] [18/27] [19/27] [20/27] [21/27] [22/27] [23/27] [24/27] [25/27] [26/27] [27/27] The following package(s) were not installed successfully:
  - [httr]: install failed
  - [CodelistGenerator]: install failed
  - [CDMConnector]: dependency failed (httr)
  - [CohortCharacteristics]: dependency failed (CDMConnector)
  - [CohortConstructor]: dependency failed (CodelistGenerator)
  - [DrugUtilisation]: dependency failed (CodelistGenerator)
  - [IncidencePrevalence]: dependency failed (CDMConnector)
  - [MeasurementDiagnostics]: dependency failed (CohortCharacteristics, CohortConstructor)
  - [OmopSketch]: dependency failed (CohortConstructor)
  - [PhenotypeR]: dependency failed (CodelistGenerator, CohortCharacteristics, CohortConstructor, DrugUtilisation, IncidencePrevalence, MeasurementDiagnostics, OmopSketch)
  You may need to manually download and install these packages.
  
  
  
  
  
  The following package(s) were not installed successfully:
  - [httr]: install failed
  - [CodelistGenerator]: install failed
  - [CDMConnector]: dependency failed (httr)
  - [CohortCharacteristics]: dependency failed (CDMConnector)
  - [CohortConstructor]: dependency failed (CodelistGenerator)
  - [DrugUtilisation]: dependency failed (CodelistGenerator)
  - [IncidencePrevalence]: dependency failed (CDMConnector)
  - [MeasurementDiagnostics]: dependency failed (CohortCharacteristics, CohortConstructor)
  - [OmopSketch]: dependency failed (CohortConstructor)
  - [PhenotypeR]: dependency failed (CodelistGenerator, CohortCharacteristics, CohortConstructor, DrugUtilisation, IncidencePrevalence, MeasurementDiagnostics, OmopSketch)
  You may need to manually download and install these packages.
  
  
  
  
  
  
  
  
  
  [ FAIL 1 | WARN 0 | SKIP 15 | PASS 90 ]
  
  ══ Skipped tests (15) ══════════════════════════════════════════════════════════
  • Integration test - requires built image (1): 'test-dockerWrapper.R:99:3'
  • Integration test - requires built image and config file (1):
    'test-dockerWrapper.R:107:3'
  • Integration test - requires built image and test script (3):
    'test-dockerWrapper.R:103:3', 'test-dockerWrapper.R:111:3',
    'test-dockerWrapper.R:115:3'
  • Integration test - requires built rstudio image (4):
    'test-dockerWrapper.R:65:3', 'test-dockerWrapper.R:69:3',
    'test-dockerWrapper.R:73:3', 'test-dockerWrapper.R:77:3'
  • Integration test - requires running container (2):
    'test-dockerWrapper.R:85:3', 'test-dockerWrapper.R:89:3'
  • Integration test - requires valid renv project (2):
    'test-dockerWrapper.R:53:3', 'test-dockerWrapper.R:57:3'
  • Manual test - set RUN_MANUAL_TESTS=true to run (requires GITHUB_PAT) (2):
    'test-linkGitHub.R:308:3', 'test-linkGitHub.R:342:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-linkGitHub.R:200:3'): ensureGitIdentity errors when git identity is missing and user info is absent ──
  Expected `OmopStudyBuilder:::ensureGitIdentity(temp_dir, NULL)` to throw a error.
  
  [ FAIL 1 | WARN 0 | SKIP 15 | PASS 90 ]
  Error:
  ! Test failures.
  Execution halted