Package check result: ERROR Check: tests, Result: ERROR Running ‘testthat.R’ [5s/16s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(occCite) > > test_check("occCite") OccCite query occurred on: 20 June, 2024 User query type: User-supplied list of taxa. Sources for taxonomic rectification: GBIF Backbone Taxonomy Taxonomic cleaning results: Input Name Best Match Taxonomic Databases w/ Matches 1 Protea cynaroides Protea cynaroides (L.) L. GBIF Backbone Taxonomy Sources for occurrence data: gbif, bien Species Occurrences Sources 1 Protea cynaroides (L.) L. 2334 17 GBIF dataset DOIs: Species GBIF Access Date GBIF DOI 1 Protea cynaroides (L.) L. 2022-03-02 10.15468/dl.ztbx8c OccCite query occurred on: 20 June, 2024 User query type: User-supplied list of taxa. Sources for taxonomic rectification: GBIF Backbone Taxonomy Taxonomic cleaning results: Input Name Best Match Taxonomic Databases w/ Matches 1 Protea cynaroides Protea cynaroides (L.) L. GBIF Backbone Taxonomy Sources for occurrence data: gbif Species Occurrences Sources 1 Protea cynaroides (L.) L. 2189 13 GBIF dataset DOIs: Species GBIF Access Date GBIF DOI 1 Protea cynaroides (L.) L. 2022-03-02 10.15468/dl.ztbx8c OccCite query occurred on: 20 June, 2024 User query type: User-supplied list of taxa. Sources for taxonomic rectification: GBIF Backbone Taxonomy Taxonomic cleaning results: Input Name Best Match Taxonomic Databases w/ Matches 1 Protea cynaroides Protea cynaroides (L.) L. GBIF Backbone Taxonomy Sources for occurrence data: bien Species Occurrences Sources 1 Protea cynaroides (L.) L. 145 4 [ FAIL 2 | WARN 0 | SKIP 17 | PASS 162 ] ══ Skipped tests (17) ══════════════════════════════════════════════════════════ • On CRAN (15): 'test-GBIFLoginManager.R:6:3', 'test-GBIFLoginManager.R:19:3', 'test-GBIFtableCleanup.R:6:3', 'test-gbifRetriever.R:6:3', 'test-gbifRetriever.R:29:3', 'test-getBIENpoints.R:6:3', 'test-getBIENpoints.R:28:3', 'test-getGBIFpoints.R:6:3', 'test-getGBIFpoints.R:24:3', 'test-occCitation.R:26:3', 'test-prevGBIFdownload.R:6:3', 'test-prevGBIFdownload.R:34:3', 'test-tabGBIF.R:9:3', 'test-tabGBIF.R:24:3', 'test-tabGBIF.R:48:3' • empty test (1): 'test-occCitePrint.R:4:1' • internet connection established (1): 'test-occCitation.R:115:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-occCitePrint.R:8:31'): regular print ─────────────────────────── Error: Package "RefManageR" needed for this function to work. Please install it. Backtrace: ▆ 1. ├─testthat::expect_output(print(myOccCitations)) at test-occCitePrint.R:8:31 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─testthat::capture_output_lines(code, print, width = width) 5. │ │ └─testthat:::eval_with_output(code, print = print, width = width) 6. │ │ ├─withr::with_output_sink(path, withVisible(code)) 7. │ │ │ └─base::force(code) 8. │ │ └─base::withVisible(code) 9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 10. ├─base::print(myOccCitations) 11. └─occCite:::print.occCiteCitation(myOccCitations) ── Error ('test-occCitePrint.R:10:34'): print by species ─────────────────────── Error: Package "RefManageR" needed for this function to work. Please install it. Backtrace: ▆ 1. ├─testthat::expect_output(print(myOccCitations, bySpecies = TRUE)) at test-occCitePrint.R:10:34 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─testthat::capture_output_lines(code, print, width = width) 5. │ │ └─testthat:::eval_with_output(code, print = print, width = width) 6. │ │ ├─withr::with_output_sink(path, withVisible(code)) 7. │ │ │ └─base::force(code) 8. │ │ └─base::withVisible(code) 9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 10. ├─base::print(myOccCitations, bySpecies = TRUE) 11. └─occCite:::print.occCiteCitation(myOccCitations, bySpecies = TRUE) [ FAIL 2 | WARN 0 | SKIP 17 | PASS 162 ] Error: Test failures Execution halted