Running ‘testthat.R’ [92s/119s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(beadplexr)
  Warning message:
  multiple methods tables found for 'plot' 
  > 
  > test_check("beadplexr")
  ── 1. Error: bp_dbscan works (@test_cluster_events.R#70)  ──────────────────────
  no generic function found for 'plot'
  Backtrace:
    1. testthat::expect_is(...)
    4. beadplexr::bp_dbscan(...)
    6. fpc::dbscan
    7. base::getExportedValue(pkg, name)
    8. base::asNamespace(ns)
    9. base::getNamespace(ns)
   10. base::loadNamespace(name)
   11. base::namespaceImport(...)
   12. base::namespaceImportFrom(...)
   13. base::.mergeImportMethods(impenv, ns, impvars[[i]])
   14. methods:::.mergeMethodsTable2(...)
   15. methods::getGeneric(f, TRUE, envir, package)
  
  ── 2. Error: Identify analyte works (@test_identify_analyte.R#21)  ─────────────
  no generic function found for 'plot'
  Backtrace:
    1. testthat::expect_is(...)
    4. beadplexr::identify_analyte(...)
    5. beadplexr::bp_dbscan(...)
    7. fpc::dbscan
    8. base::getExportedValue(pkg, name)
    9. base::asNamespace(ns)
   10. base::getNamespace(ns)
   11. base::loadNamespace(name)
   12. base::namespaceImport(...)
   13. base::namespaceImportFrom(...)
   14. base::.mergeImportMethods(impenv, ns, impvars[[i]])
   15. methods:::.mergeMethodsTable2(...)
   16. methods::getGeneric(f, TRUE, envir, package)
  
  ── 3. Error: dbscan works as expected (@test_identify_assay_analyte.R#131)  ────
  no generic function found for 'plot'
  Backtrace:
    1. testthat::expect_warning(...)
    6. beadplexr::identify_analyte(...)
    7. beadplexr::bp_dbscan(...)
    9. fpc::dbscan
   10. base::getExportedValue(pkg, name)
   11. base::asNamespace(ns)
   12. base::getNamespace(ns)
   13. base::loadNamespace(name)
   14. base::namespaceImport(...)
   15. base::namespaceImportFrom(...)
   16. base::.mergeImportMethods(impenv, ns, impvars[[i]])
   17. methods:::.mergeMethodsTable2(...)
   18. methods::getGeneric(f, TRUE, envir, package)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 381 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: bp_dbscan works (@test_cluster_events.R#70) 
  2. Error: Identify analyte works (@test_identify_analyte.R#21) 
  3. Error: dbscan works as expected (@test_identify_assay_analyte.R#131) 
  
  Error: testthat unit tests failed
  Execution halted