ropensci / nomisr

Access UK official statistics from the Nomis database through R.
https://docs.ropensci.org/nomisr
Other
44 stars 12 forks source link

`as.tibble()` is deprecated as of tibble 2.0.0. #23

Closed kerry-conlin closed 3 years ago

kerry-conlin commented 3 years ago

Hi,

Thanks for the package, it's very useful. I'm a new R user and noticed that when I try to use the nomis_codelist() function it says that as.tibble() is deprecated as of tibble 2.0.0.

This is what I ran: codes <- nomis_codelist('NM_1608_1', 'geography')

And this is the error message: as.tibble() is deprecated as of tibble 2.0.0. Please use as_tibble() instead. The signature and semantics have changed, see ?as_tibble.

Thank you! Kerry

evanodell commented 3 years ago

That warning shouldn't effect the result, although I'll try to get an update on CRAN soon. In the meantime the development version has up-to-date underlying code.

kerry-conlin commented 3 years ago

Thanks for responding! I see that now. Appreciate it. Kerry