ropensci / neotoma

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

Getting an error looking for `llply` #132

Closed SimonGoring closed 10 years ago

SimonGoring commented 10 years ago

I'm suddenly getting an error using get_dataset. It looks like plyr isn't being exported or something. I think the same thing is happening with RJSONIO as well. Is this because the S3 method doesn't call it?

Error in get_dataset.site(western.sites) : could not find function "llply"

gavinsimpson commented 10 years ago

neotoma has import(plyr) in NAMESPACE. The last change to this file was 7 days ago when I fixed some problems with the package namespace because you had used import(plyr) and importFrom(plyr, foo) across various functions' roxygen blocks.

I'm not sure what the problem is, but NAMESPACE seems OK to me. I'll see if can reproduce.

gavinsimpson commented 10 years ago

I can't reproduce this with:

t8kyr.datasets <- get_dataset(taxonname='Thuja*', loc=c(-150, 20, -100, 60), 
                              ageyoung = 8000)

Does the above work for you? If it does, can you share a reproducible example that is failing for you? Alternatively, perhaps reinstall the github version and try again?

SimonGoring commented 10 years ago

Fixed with commit 07313d1. Error only happened with the site method.