ropensci/neotoma

`get_download` fails on Refugia Ruin - dataset ID 17817

SimonGoring opened this issue · 1 comments

Running get_download on Refugia Ruin:

A dataset for Refugia Ruin
Accessed 2016-02-18 07:04h. 
 dataset.id    site.name     long     lat   type
      17817 Refugia Ruin -110.885 33.5375 pollen

fails with the error message:

 Error in `colnames<-`(`*tmp*`, value = c("taxon.name", "variable.units",  : 
  'names' attribute [8] must be the same length as the vector [1]

This dataset is the result of an incomplete upload to the Neotoma Paleoecological Database. It failed because it contained some information, but contained no samples. This issue is resolved in two ways:

  1. The dataset itself has been removed from Neotoma
  2. Commit 733c1c8 helps deal with empty datasets by providing a warning and returning NULL. This is as opposed to returning a download with no sample data.