Running ‘testthat.R’ [17s/206s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(neotoma2)
  
  Attaching package: 'neotoma2'
  
  The following object is masked from 'package:stats':
  
      filter
  
  > 
  > test_check("neotoma2")
  Saving _problems/test_filter-30.R
  [ FAIL 1 | WARN 5 | SKIP 94 | PASS 48 ]
  
  ══ Skipped tests (94) ══════════════════════════════════════════════════════════
  • On CRAN (89): 'test_add_chronology.R:6:3', 'test_c.R:6:3',
    'test_chroncontrols.R:7:3', 'test_chronologies.R:6:3',
    'test_cite_data.R:8:3', 'test_cite_data.R:15:3', 'test_clean.R:9:3',
    'test_collunits.R:5:3', 'test_coordinates.R:6:3', 'test_datasets.R:5:3',
    'test_filter.R:7:3', 'test_filter.R:35:3', 'test_filter.R:51:13',
    'test_filter.R:72:3', 'test_filter.R:84:3', 'test_filter.R:95:14',
    'test_filter.R:105:3', 'test_get_datasets.R:7:3', 'test_get_datasets.R:16:3',
    'test_get_datasets.R:29:3', 'test_get_datasets.R:57:3',
    'test_get_datasets.R:84:3', 'test_get_documentation.R:6:3',
    'test_get_documentation.R:11:3', 'test_get_downloads.R:7:3',
    'test_get_downloads.R:19:13', 'test_get_downloads.R:38:3',
    'test_get_downloads.R:59:3', 'test_get_downloads.R:77:3',
    'test_get_manual.R:6:3', 'test_get_manual.R:11:3', 'test_get_sites.R:6:3',
    'test_get_sites.R:15:3', 'test_get_sites.R:28:3', 'test_get_sites.R:51:3',
    'test_get_sites.R:76:13', 'test_get_stats.R:6:3', 'test_get_stats.R:14:3',
    'test_get_stats.R:23:3', 'test_getids.R:7:3', 'test_getids.R:14:3',
    'test_getids.R:21:3', 'test_length.R:7:3', 'test_length.R:14:3',
    'test_length.R:27:3', 'test_plot.R:6:3', 'test_plot.R:12:3',
    'test_plotLeaflet.r:7:3', 'test_plotLeaflet.r:14:3', 'test_samples.R:6:3',
    'test_samples.R:21:3', 'test_samples.R:28:3', 'test_samples.R:52:22',
    'test_samples.R:52:22', 'test_samples.R:52:22', 'test_samples.R:52:22',
    'test_samples.R:52:22', 'test_samples.R:52:22', 'test_samples.R:52:22',
    'test_samples.R:52:22', 'test_samples.R:52:22', 'test_samples.R:52:22',
    'test_samples.R:52:22', 'test_samples.R:52:22', 'test_samples.R:52:22',
    'test_samples.R:80:3', 'test_set_chronology.R:6:3',
    'test_set_collunit.R:6:3', 'test_set_collunit.R:24:3',
    'test_set_contact.R:6:3', 'test_set_dataset.R:6:3',
    'test_set_dataset.R:22:3', 'test_set_default.R:5:3',
    'test_set_publication.R:6:3', 'test_set_publication.R:17:3',
    'test_set_sample.R:6:3', 'test_set_sample.R:19:3', 'test_set_site.R:6:3',
    'test_set_site.R:21:3', 'test_sites.R:8:3', 'test_sites.R:19:3',
    'test_sites.R:34:3', 'test_sites.R:45:3', 'test_sites.R:86:3',
    'test_summary.R:5:3', 'test_taxa.R:6:3', 'test_toWide.R:7:3',
    'test_toWide.R:24:3', 'test_toWide.R:40:3'
  • Skipping all tests in this file (5): 'test_examples.R:1:1',
    'test_get_speleothems.R:1:1', 'test_set_speleothem.R:1:1',
    'test_specimens.R:1:1', 'test_speleothems.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_filter.R:30:3'): filter datasettype + loc ──────────────────────
  Error in `brazil_summary$dataset_types`: $ operator is invalid for atomic vectors
  Backtrace:
      ▆
   1. └─base::unique(brazil_summary$dataset_types) at test_filter.R:30:3
  
  [ FAIL 1 | WARN 5 | SKIP 94 | PASS 48 ]
  Error:
  ! Test failures.
  Execution halted