Running ‘platform-info.R’ [1s/1s]
  Running ‘testthat.R’ [18s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(qgisprocess)
  Attempting to load the package cache ... No cache found.
  Will try to reconfigure qgisprocess and build new cache ...
  
  >>> PROBLEM encountered: couldn't build package cache! <<<
  The 'qgis_process' command-line utility was either not found or
  did not fulfil the needs to build the package cache.
  Please run `qgis_configure()` to fix this and rebuild the cache.
  See its documentation if you need to preset the path of qgis_process.
  If the problem persists, make sure that you correctly installed QGIS
  for your operating system using the instructions at
  https://download.qgis.org.
  > 
  > test_check("qgisprocess")
  
  [ FAIL 7 | WARN 31 | SKIP 54 | PASS 160 ]
  
  ══ Skipped tests (54) ══════════════════════════════════════════════════════════
  • Test takes ~1 hr to run (1): 'test-qgis-help.R:53:3'
  • has_qgis() is not TRUE (53): 'test-compat-raster.R:156:3',
    'test-compat-sf.R:3:3', 'test-compat-sf.R:98:3',
    'test-qgis-algorithms.R:2:3', 'test-qgis-algorithms.R:16:3',
    'test-qgis-algorithms.R:22:3', 'test-qgis-algorithms.R:28:3',
    'test-qgis-algorithms.R:39:3', 'test-qgis-algorithms.R:45:3',
    'test-qgis-configure.R:2:3', 'test-qgis-configure.R:9:3',
    'test-qgis-configure.R:22:3', 'test-qgis-configure.R:28:3',
    'test-qgis-configure.R:66:3', 'test-qgis-configure.R:72:3',
    'test-qgis-configure.R:120:3', 'test-qgis-function.R:2:3',
    'test-qgis-function.R:41:3', 'test-qgis-help.R:2:3', 'test-qgis-help.R:8:3',
    'test-qgis-help.R:34:3', 'test-qgis-help.R:70:3', 'test-qgis-output.R:2:3',
    'test-qgis-output.R:18:3', 'test-qgis-output.R:54:3',
    'test-qgis-plugins.R:2:3', 'test-qgis-plugins.R:9:3',
    'test-qgis-plugins.R:16:3', 'test-qgis-plugins.R:23:3',
    'test-qgis-plugins.R:36:3', 'test-qgis-plugins.R:48:3',
    'test-qgis-plugins.R:61:3', 'test-qgis-plugins.R:72:3',
    'test-qgis-plugins.R:79:3', 'test-qgis-plugins.R:93:3',
    'test-qgis-plugins.R:108:3', 'test-qgis-plugins.R:125:3',
    'test-qgis-plugins.R:145:3', 'test-qgis-plugins.R:169:3',
    'test-qgis-result.R:26:3', 'test-qgis-result.R:63:3',
    'test-qgis-result.R:97:3', 'test-qgis-result.R:127:3',
    'test-qgis-run-algorithm.R:7:3', 'test-qgis-run-algorithm.R:40:3',
    'test-qgis-run-algorithm.R:55:3', 'test-qgis-run-algorithm.R:73:3',
    'test-qgis-run-algorithm.R:91:3', 'test-qgis-run-algorithm.R:105:3',
    'test-qgis-run-algorithm.R:146:3', 'test-qgis-run-algorithm.R:193:3',
    'test-qgis-run-algorithm.R:225:3', 'test-qgisprocess-deprecated.R:17:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-qgis-cache.R:27:3'): qgis_delete_old_cachefiles() works ──────
  all(file.exists(oldfiles)) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-qgis-cache.R:28:3'): qgis_delete_old_cachefiles() works ──────
  max(file.mtime(oldfiles)) is not strictly less than Sys.time(). Difference: NA
  ── Failure ('test-qgis-cache.R:29:3'): qgis_delete_old_cachefiles() works ──────
  `qgis_delete_old_cachefiles(age_days = 1e+07, quiet = FALSE)` produced unexpected messages.
  Expected match: no cache files older than
  Actual values:
  * Tried to purge old cache files, but no cache directory available.
  
  ── Failure ('test-qgis-cache.R:33:3'): qgis_delete_old_cachefiles() works ──────
  all(file.exists(oldfiles)) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-qgis-cache.R:34:3'): qgis_delete_old_cachefiles() works ──────
  `qgis_delete_old_cachefiles(quiet = FALSE)` produced unexpected messages.
  Expected match: Deleted 10 cache files
  Actual values:
  * Tried to purge old cache files, but no cache directory available.
  
  ── Failure ('test-qgis-cache.R:41:3'): qgis_delete_old_cachefiles() works ──────
  `qgis_delete_old_cachefiles(type = "package", quiet = FALSE)` produced unexpected messages.
  Expected match: Deleted 1 cache file
  Actual values:
  * Tried to purge old cache files, but no cache directory available.
  
  ── Failure ('test-qgis-cache.R:48:3'): qgis_delete_old_cachefiles() works ──────
  `qgis_delete_old_cachefiles(type = "help", quiet = FALSE)` produced unexpected messages.
  Expected match: Deleted 9 cache files
  Actual values:
  * Tried to purge old cache files, but no cache directory available.
  
  
  [ FAIL 7 | WARN 31 | SKIP 54 | PASS 160 ]
  Error: Test failures
  Execution halted