ropensci / rfishbase

R interface to the fishbase.org database
https://docs.ropensci.org/rfishbase
111 stars 40 forks source link

load_taxa no longer returns taxa list #207

Closed emmywas closed 3 years ago

emmywas commented 3 years ago

Hello, load_taxa() no longer returns a data frame or a taxa list at all for me. It loads a list with SQLite connections. I have used load_taxa() many times in the past and it has worked fine. I'm using version rfishbase_3.1.7. Is there a change in functionality in the new version/s? Thanks again for a great package!

cboettig commented 3 years ago

apologies, you can use dplyr::collect() to get the data frame back. (we should fix this in the next release so it happens automatically)

x <- load_taxa()
df <- dplyr::collect(x)
df
emmywas commented 3 years ago

Thank you for the quick reply @cboettig! Will use this until the next release.

cboettig commented 3 years ago

fixed now on CRAN