inbo / camtraptor

Camtraptor is an R package to read, explore and visualize Camera Trap Data Packages (Camtrap DP)
https://inbo.github.io/camtraptor/
MIT License
10 stars 2 forks source link

Fix #292 #293

Closed damianooldoni closed 11 months ago

damianooldoni commented 11 months ago

This PR fixes #292. The column taxonIDReference cannot be removed via dplyr::select() in get_species() as this column is not anymore returned by check_species(). The reason is that this column is not anymore filled in metadata of version 1.0.

By using dplyr::any_of() we are sure check_species() works for both new and old versions of camtrapDP.