Running ‘testthat.R’ [7s/11s]
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(camtrapdp, warn.conflicts = FALSE)
  > 
  > test_check("camtrapdp")
  Saving _problems/test-merge_camtrapdp-185.R
  [ FAIL 1 | WARN 6 | SKIP 117 | PASS 12 ]
  
  ══ Skipped tests (117) ═════════════════════════════════════════════════════════
  • On CRAN (117): 'test-check_camtrapdp.R:2:3', 'test-check_camtrapdp.R:9:3',
    'test-check_camtrapdp.R:22:3', 'test-contributors.R:2:3',
    'test-contributors.R:8:3', 'test-contributors.R:18:3',
    'test-contributors.R:41:3', 'test-contributors.R:60:3',
    'test-contributors.R:78:3', 'test-deployments.R:2:3',
    'test-deployments.R:8:3', 'test-deployments.R:14:3',
    'test-deployments.R:27:3', 'test-deployments.R:36:3', 'test-events.R:2:3',
    'test-events.R:8:3', 'test-events.R:20:3', 'test-example_dataset.R:2:3',
    'test-example_dataset.R:12:3', 'test-filter_deployments.R:2:3',
    'test-filter_deployments.R:10:3', 'test-filter_deployments.R:20:3',
    'test-filter_deployments.R:44:3', 'test-filter_deployments.R:56:3',
    'test-filter_media.R:2:3', 'test-filter_media.R:10:3',
    'test-filter_media.R:20:3', 'test-filter_media.R:44:3',
    'test-filter_media.R:55:3', 'test-filter_observations.R:2:3',
    'test-filter_observations.R:10:3', 'test-filter_observations.R:20:3',
    'test-filter_observations.R:44:3', 'test-filter_observations.R:67:3',
    'test-individuals.R:2:3', 'test-individuals.R:8:3',
    'test-individuals.R:20:3', 'test-locations.R:2:3', 'test-locations.R:8:3',
    'test-locations.R:21:3', 'test-media.R:2:3', 'test-media.R:8:3',
    'test-media.R:14:3', 'test-media.R:23:3', 'test-merge_camtrapdp.R:2:3',
    'test-merge_camtrapdp.R:12:3', 'test-merge_camtrapdp.R:27:3',
    'test-merge_camtrapdp.R:65:3', 'test-merge_camtrapdp.R:86:3',
    'test-merge_camtrapdp.R:128:3', 'test-merge_camtrapdp.R:153:1',
    'test-merge_camtrapdp.R:190:3', 'test-observations.R:2:3',
    'test-observations.R:8:3', 'test-observations.R:14:3',
    'test-observations.R:23:3', 'test-observations.R:32:3', 'test-print.R:2:3',
    'test-print.R:10:3', 'test-print.R:44:3', 'test-read_camtrapdp.R:2:3',
    'test-read_camtrapdp.R:10:3', 'test-read_camtrapdp.R:29:3',
    'test-read_camtrapdp.R:42:3', 'test-read_camtrapdp.R:50:3',
    'test-read_camtrapdp.R:67:3', 'test-round_coordinates.R:2:3',
    'test-round_coordinates.R:10:3', 'test-round_coordinates.R:32:3',
    'test-round_coordinates.R:39:3', 'test-round_coordinates.R:88:3',
    'test-round_coordinates.R:124:3', 'test-round_coordinates.R:147:3',
    'test-shift_time.R:2:3', 'test-shift_time.R:13:3', 'test-shift_time.R:43:3',
    'test-shift_time.R:69:3', 'test-shift_time.R:150:3',
    'test-shift_time.R:164:3', 'test-shift_time.R:175:3', 'test-taxa.R:2:3',
    'test-taxa.R:8:3', 'test-taxa.R:21:3', 'test-taxa.R:33:3',
    'test-taxonomic.R:2:3', 'test-taxonomic.R:8:3', 'test-taxonomic.R:15:3',
    'test-taxonomic.R:26:3', 'test-taxonomic.R:39:3', 'test-taxonomic.R:80:3',
    'test-taxonomic.R:118:3', 'test-taxonomic.R:163:3', 'test-taxonomic.R:177:3',
    'test-taxonomic.R:191:3', 'test-update_taxon.R:2:3',
    'test-update_taxon.R:24:3', 'test-update_taxon.R:40:3',
    'test-update_taxon.R:76:3', 'test-update_taxon.R:104:3',
    'test-update_taxon.R:146:3', 'test-update_taxon.R:195:3',
    'test-version.R:38:3', 'test-write_camtrapdp.R:3:3',
    'test-write_camtrapdp.R:18:3', 'test-write_camtrapdp.R:33:3',
    'test-write_camtrapdp.R:82:3', 'test-write_camtrapdp.R:97:3',
    'test-write_dwc.R:3:3', 'test-write_dwc.R:20:3', 'test-write_dwc.R:92:3',
    'test-write_dwc.R:104:3', 'test-write_dwc.R:127:3', 'test-write_dwc.R:139:3',
    'test-write_eml.R:3:3', 'test-write_eml.R:23:3', 'test-write_eml.R:48:3',
    'test-write_eml.R:59:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-merge_camtrapdp.R:183:4'): merge_camtrapdp() returns the expected datapackage.json when merging
             different datasets ──
  Expected `read_camtrapdp(file.path(temp_dir_merged, "datapackage_different_xy.json"))` not to throw any errors.
  Actually got a <purrr_error_indexed> with message:
    i In index: 1.
    Caused by error in `check_path()`:
    ! Can't find file at './deployments.csv'.
  
  [ FAIL 1 | WARN 6 | SKIP 117 | PASS 12 ]
  Deleting unused snapshots: 'merge_camtrapdp/datapackage_identical_xy.json',
  'write_camtrapdp/datapackage.json', 'write_dwc/meta.xml',
  'write_dwc/multimedia.csv', 'write_dwc/multimedia_media_based.csv',
  'write_dwc/occurrence.csv', 'write_dwc/occurrence_media_based.csv', and
  'write_eml/eml.xml'
  Error:
  ! Test failures.
  Execution halted