Running ‘testthat.R’ [6s/8s]
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(skipTrack)
  > 
  > test_check("skipTrack")
  -------------------------------------------
  SkipTrack Model Output
  -------------------------------------------
  Number of Observations:   62
  Number of Individuals:    10
  Dimension of Beta:        1
  Dimension of Gamma:       1
  -------------------------------------------
  Number of MCMC Chains:    2
  Model:                    skipTrack
  -------------------------------------------
  skipTrack.model S3 Object (also a list)
  
  NChains:    2
  Model Type: skipTrack[ FAIL 7 | WARN 7 | SKIP 0 | PASS 12 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-diagnostics.R:9:3'): skipTrack.diagnostics runs on all options ──
  Expected `skipTrack.diagnostics(foo, "Betas")` to run without any errors.
  i Actually got a <simpleError> with text:
    The chains must be numeric vectors in order to use the standard transformation.
  ── Failure ('test-diagnostics.R:10:3'): skipTrack.diagnostics runs on all options ──
  Expected `skipTrack.diagnostics(foo, "Gammas")` to run without any errors.
  i Actually got a <simpleError> with text:
    The chains must be numeric vectors in order to use the standard transformation.
  ── Failure ('test-diagnostics.R:11:3'): skipTrack.diagnostics runs on all options ──
  Expected `skipTrack.diagnostics(foo, "muis")` to run without any errors.
  i Actually got a <simpleError> with text:
    The chains must be numeric vectors in order to use the standard transformation.
  ── Failure ('test-diagnostics.R:12:3'): skipTrack.diagnostics runs on all options ──
  Expected `skipTrack.diagnostics(foo, "tauis")` to run without any errors.
  i Actually got a <simpleError> with text:
    The chains must be numeric vectors in order to use the standard transformation.
  ── Failure ('test-diagnostics.R:13:3'): skipTrack.diagnostics runs on all options ──
  Expected `skipTrack.diagnostics(foo, "cijs")` to run without any errors.
  i Actually got a <simpleError> with text:
    The chains must be numeric vectors in order to use the standard transformation.
  ── Error ('test-results.R:6:3'): results function runs ─────────────────────────
  Error in `proximityMapF(mhDraws = mhDraws, distance = distance, verbose = verbose, 
      ...)`: The chains must be numeric vectors in order to use the standard transformation.
  Backtrace:
      ▆
   1. └─skipTrack::skipTrack.results(foo, burnIn = 10) at test-results.R:6:3
   2.   └─base::lapply(...)
   3.     └─skipTrack (local) FUN(X[[i]], ...)
   4.       └─skipTrack::skipTrack.diagnostics(stFit = stFit, param)
   5.         └─genMCMCDiag::genDiagnostic(...)
   6.           └─genMCMCDiag (local) proximityMapF(...)
  ── Failure ('test-utils.R:9:3'): Utility functions do not throw errors ─────────
  Expected `summary(foo, burnIn = 20)` to run without any errors.
  i Actually got a <simpleError> with text:
    The chains must be numeric vectors in order to use the standard transformation.
  
  [ FAIL 7 | WARN 7 | SKIP 0 | PASS 12 ]
  Error: Test failures
  Execution halted