Running ‘testthat.R’ [4s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rix)
  Nix doesn't seem to be installed on this system.
  You can still generate Nix expressions, but you won't be able to build them.
  > 
  > test_check("rix")
  
  ### Bootstrapping isolated, project-specific, and runtime-pure R setup via Nix ###
  
  ==> Existing isolated nix-R project folder:
   /home/hornik/tmp/scratch/RtmpKyvOqjsaziw 
  
  * current R session running outside Nix environment and not from RStudio
  
  ==> Added `.Rprofile` file and code lines for new R sessions launched from:
  /home/hornik/tmp/scratch/RtmpKyvOqjsaziw
  
  * Added the location of the Nix store to `PATH` environmental variable for new R sessions on host/docker RStudio:
  /nix/var/nix/profiles/default/bin
  
  ==> Also adjusting `PATH` via `Sys.setenv()`, so that system commands can invoke key Nix commands like `nix-build` in this RStudio session outside Nix
  * current R session running outside Nix environment and not from RStudio
  [ FAIL 1 | WARN 0 | SKIP 49 | PASS 27 ]
  
  ══ Skipped tests (49) ══════════════════════════════════════════════════════════
  • On CRAN (42): 'test-fetchers.R:2:3', 'test-fetchers.R:16:3',
    'test-fetchers.R:29:3', 'test-fetchers.R:43:3', 'test-fetchers.R:57:3',
    'test-fetchers.R:65:3', 'test-fetchers.R:73:3', 'test-fetchers.R:97:3',
    'test-fetchers.R:141:3', 'test-fetchers.R:159:3', 'test-fetchers.R:169:3',
    'test-fetchers.R:191:3', 'test-fetchers.R:207:3', 'test-fetchers.R:221:3',
    'test-fetchers.R:234:3', 'test-fetchers.R:243:3', 'test-fetchers.R:255:3',
    'test-fetchers.R:267:3', 'test-fetchers.R:283:3', 'test-fetchers.R:300:3',
    'test-fetchers.R:308:3', 'test-ga_cachix.R:6:3',
    'test-get_sri_hash_deps.R:2:3', 'test-make_launcher.R:11:3',
    'test-renv_helpers.R:188:5', 'test-rix.R:50:3', 'test-rix.R:112:3',
    'test-rix.R:186:3', 'test-rix.R:318:3', 'test-rix.R:377:3',
    'test-rix.R:443:3', 'test-rix.R:502:3', 'test-rix.R:642:3',
    'test-rix.R:687:3', 'test-rix.R:732:3', 'test-rix.R:761:3',
    'test-rix.R:789:3', 'test-rix_init.R:20:3', 'test-rix_init.R:45:3',
    'test-rix_init.R:80:3', 'test-rix_init.R:115:3', 'test-tar_nix_ga.R:4:3'
  • nix_shell_available() is not TRUE (6): 'test-nix_build.R:7:3',
    'test-setup_cachix.R:2:3', 'test-setup_cachix.R:16:3', 'test-with_nix.R:9:3',
    'test-with_nix.R:59:3', 'test-with_nix.R:102:3'
  • os_type != "Darwin" || os_type == "Windows" is TRUE (1): 'test-rix.R:214:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-available_r.R:2:3'): available_r lists all available r versions ──
  available_r() (`actual`) not equal to c(...) (`expected`).
  
  `actual[30:33]`:   "4.4.0" "4.4.1" "4.4.2" "4.4.3"
  `expected[30:32]`: "4.4.0" "4.4.1" "4.4.2"        
  
  [ FAIL 1 | WARN 0 | SKIP 49 | PASS 27 ]
  Deleting unused snapshots:
  • make_launcher/start-positron.sh
  • make_launcher/start-rstudio.sh
  • renv_helpers/default_datathin.nix
  • renv_helpers/default_v0-14-0.nix
  • renv_helpers/default_v0-15-5.nix
  • renv_helpers/default_v0-17-3.nix
  • renv_helpers/default_v1-0-7.nix
  • rix/code_default.nix
  • rix/codium_default.nix
  • rix/dups-entries_default.nix
  • rix/positron_default.nix
  • rix/skip-dups-entries_default.nix
  • rix/yes_quarto_default.nix
  • rix_init/append_Rprofile.txt
  • setup_cachix/nix.conf
  Error: Test failures
  Execution halted