christophergandrud / networkD3

D3 JavaScript Network Graphs from R
http://christophergandrud.github.io/networkD3
650 stars 269 forks source link

switch to as_tibble in as.treenetdf #205

Open dalekube opened 7 years ago

dalekube commented 7 years ago

I receive the following error message when using a two-column data frame to produce an interactive treeNetwork graph:

Error: 'as.tibble' is not an exported object from 'namespace:tibble'

tibble version 1.2 R version 3.3.3 (2017-03-06) Platform: x86_64-w64-mingw32/x64 (64-bit)

treeNetwork_reproducible_error.txt

cjyetman commented 7 years ago

as.tibble was added in version 1.3.0 of tibble published 2017-01-10

Please update to tibble 1.3.0 and let us know if it's still an issue

dalekube commented 7 years ago

A manual update to tibble_1.3.3 resolved the issue. The normal install.packages() and update.packages() functions did not update tibble as desired.

cjyetman commented 7 years ago

Great, thanks! Closing issue

cjyetman commented 7 years ago

Gonna reopen and rename... might as well switch to as_tibble for more compatibility.