Running ‘testthat.R’ [150s/168s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(riskmetric)
  > 
  > options(repos = "fake-cran.fake-r-project.org")
  > 
  > test_check("riskmetric")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • snapshots appear to be failing due to random order of pkg_ref fields (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test_pkg_ref.R:31:3): pkg_ref infers source when not explicitly provided ──
  `ref3` has class 'pkg_install'/'pkg_ref'/'environment', not 'pkg_bioc_remote'/'pkg_remote'/'pkg_ref'/'environment'.
  ── Failure (test_pkg_ref.R:32:3): pkg_ref infers source when not explicitly provided ──
  ref3$source (`actual`) not equal to "pkg_bioc_remote" (`expected`).
  
  `actual`:   "pkg_install"    
  `expected`: "pkg_bioc_remote"
  
  [ FAIL 2 | WARN 0 | SKIP 3 | PASS 45 ]
  Error: Test failures
  Execution halted