ropensci / neotoma

Programmatic R interface to the Neotoma Paleoecological Database.
https://docs.ropensci.org/neotoma
Other
30 stars 16 forks source link

`get_download` fails on Mud Lake (US:Florida) #202

Closed SimonGoring closed 8 years ago

SimonGoring commented 8 years ago

For:

A dataset for Mud Lake (US:Florida)
Accessed 2016-02-18 07:04h. 
 dataset.id             site.name      long  lat   type
       1776 Mud Lake (US:Florida) -81.86667 29.3 pollen

the function get_download fails with the error message:

 Error in samples[[i]]$SampleAges[[j]] : subscript out of bounds 
SimonGoring commented 8 years ago

This was an issue with incomplete chronologies, e.g., many of the samples were dated, but several remained undated. This issue is ixed in part with commit https://github.com/ropensci/neotoma/commit/9d2b8454fbbe9d6342998d63484473e50d2132c7, but more completely addressed with the change instituted at commit https://github.com/ropensci/neotoma/commit/733c1c836868c8474e76d494968776c34f35703c.