Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [7s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(tidysq)
  
  Attaching package: 'tidysq'
  
  The following object is masked from 'package:base':
  
      paste
  
  > 
  > test_check("tidysq")
  [ FAIL 4 | WARN 0 | SKIP 1 | PASS 675 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • warning handling on C++ side is poorly implemented (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-casting.R:48:1): (code run outside of `test_that()`) ────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'Biostrings'
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test-casting.R:48:0
   2. │ └─base::withCallingHandlers(...)
   3. └─base::loadNamespace(x) at test-casting.R:49:2
   4.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   5.     └─base withOneRestart(expr, restarts[[1L]])
   6.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pkg-Biostrings.R:29:1): (code run outside of `test_that()`) ─────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'Biostrings'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-pkg-Biostrings.R:29:0
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pkg-bioseq.R:15:1): (code run outside of `test_that()`) ─────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'bioseq'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-pkg-bioseq.R:15:0
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pkg-seqinr.R:8:1): (code run outside of `test_that()`) ──────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'seqinr'
  Backtrace:
      ▆
   1. ├─base::lapply(str_dna, function(x) seqinr::as.SeqFastadna(seqinr::s2c(x))) at test-pkg-seqinr.R:8:0
   2. │ └─tidysq FUN(X[[i]], ...)
   3. └─base::loadNamespace(x) at test-pkg-seqinr.R:8:30
   4.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   5.     └─base withOneRestart(expr, restarts[[1L]])
   6.       └─base doWithOneRestart(return(expr), restart)
  
  [ FAIL 4 | WARN 0 | SKIP 1 | PASS 675 ]
  Error: Test failures
  Execution halted