❯ checking dependencies in R code ... NOTE
Namespace in Imports field not imported from: ‘tidyr’
All declared Imports should be used.
❯ checking R code for possible problems ... NOTE
Found if() conditions comparing class() to string:
File ‘c14bazAAR/R/c14_date_list_duplicates_remove.R’: if (class(y) == "character") ...
File ‘c14bazAAR/R/c14_date_list_duplicates_remove.R’: if (class(x) == "character") ...
Use inherits() (or maybe is()) instead.
These were present before this patch, but I figured I might as well fix them while I'm here.
The previous version can no longer to be found at https://ees.kuleuven.be/geography/projects/14c-palaeolithic/radiocarbon-palaeolithic-europe-Database-v28-extract.xlsx.
The latest version (https://ees.kuleuven.be/en/geography/projects/14c-palaeolithic/download/radiocarbon-palaeolithic-europe-Database-v29-extract.xlsx) uses a different format, so this updates the parser and variable reference accordingly.
Also fixes two R CMD check notes:
These were present before this patch, but I figured I might as well fix them while I'm here.