Running ‘testthat.R’ [33s/87s]
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(qvirus)
  > 
  > test_check("qvirus")
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  Loading required package: Formula
  Loading required package: plotmo
  Loading required package: plotrix
  Loading required package: parsnip
  [ FAIL 2 | WARN 0 | SKIP 19 | PASS 0 ]
  
  ══ Skipped tests (19) ══════════════════════════════════════════════════════════
  • On CRAN (19): 'test-InteractionClassification.R:10:3',
    'test-complex_check.R:4:3', 'test-conjugate_transpose.R:5:3',
    'test-create_interactions.R:4:3',
    'test-mse.InteractionClassification.R:13:3', 'test-nearest_payoff.R:42:3',
    'test-normalize_check.R:4:3', 'test-payoffs_list.R:23:3',
    'test-phen_hiv.R:9:3', 'test-plot.InteractionClassification.R:14:3',
    'test-plot.interaction.R:11:3',
    'test-print.InteractionClassification.R:13:3',
    'test-print.interaction.R:9:3', 'test-pure_qubit1.R:6:3',
    'test-pure_qubit2.R:8:3', 'test-simulate_entanglement.R:6:3',
    'test-six_state.R:4:3', 'test-summary.InteractionClassification.R:13:3',
    'test-summary.interaction.R:10:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-estimate_payoffs.R:6:3'): estimate_payoffs returns correct output ──
  <packageNotFoundError/error/condition>
  Error in `library(kknn)`: there is no package called 'kknn'
  Backtrace:
      ▆
   1. └─base::library(kknn) at test-estimate_payoffs.R:6:3
  ── Error ('test-summary.payoffs.R:6:3'): `summary.payoffs()` works as expected ──
  <packageNotFoundError/error/condition>
  Error in `library(kknn)`: there is no package called 'kknn'
  Backtrace:
      ▆
   1. └─base::library(kknn) at test-summary.payoffs.R:6:3
  
  [ FAIL 2 | WARN 0 | SKIP 19 | PASS 0 ]
  Error: Test failures
  Execution halted