JohnCoene / javascript-for-r-comments

1 stars 0 forks source link

8.6 additional dependencies #21

Closed MayaGans closed 4 years ago

MayaGans commented 4 years ago

In htmlwidgets those additional dependencies can be specified via the dependencies argument in the htmlwidgets::createWidget function, or they can be appended to the output of that function.

# create gio object
g <- gio::gio(arcs)

is.null(g$dependencies)

I think it'd be nice to see the first option spelled out in code here as well too as that might address issue #19 ?

MayaGans commented 4 years ago

Closed because you do this the next sentence 🤦‍♀️

JohnCoene commented 4 years ago

Maybe but still, you posting that comment leads me to think that first paragraph could be reworded better.