ropensci / neotoma

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

get_download() bug for Adeline #159

Closed andydawson closed 9 years ago

andydawson commented 10 years ago

I am getting an error when I run get_download() as shown below.

> site_dat=get_site(sitename="Adeline*")
The API call was successful, you have returned  1 records.
> get_download(x=site_dat)
API call was successful. Returned record for Adeline Lake
Error in `colnames<-`(`*tmp*`, value = c("taxon.name", "variable.units",  : 
  'names' attribute [8] must be the same length as the vector [1]

So far I haven't had problems with others. I'll take a look at this more closely later today.

SimonGoring commented 10 years ago

I'm not going to be able to check this today. Flight got cancelled in Van, so we're trying again today to get home.

On Fri, Oct 24, 2014 at 12:31 PM, Andria Dawson notifications@github.com wrote:

I am getting an error when I run get_download() as shown below.

site_dat=getsite(sitename="Adeline") The API call was successful, you have returned 1 records. get_download(x=site_dat) API call was successful. Returned record for Adeline Lake Error in colnames<-(_tmp*, value = c("taxon.name", "variable.units", : 'names' attribute [8] must be the same length as the vector [1]

So far I haven't had problems with others. I'll take a look at this more closely later today.

— Reply to this email directly or view it on GitHub https://github.com/ropensci/neotoma/issues/159.

SimonGoring commented 9 years ago

So this was part of a larger issue. The problem comes from a more inclusive set of datasets than had been previously returned. The problem should be fixed now.