Skip to content

Get dependencies from an htmlwidget object#255

Open
cpsievert wants to merge 2 commits intoramnathv:masterfrom
cpsievert:carson/feature/getDependency
Open

Get dependencies from an htmlwidget object#255
cpsievert wants to merge 2 commits intoramnathv:masterfrom
cpsievert:carson/feature/getDependency

Conversation

@cpsievert
Copy link
Collaborator

This just makes it a bit easier to obtain htmlwidget dependencies. For example, this allows me to do:

getDependency(leaflet::leaflet())

Rather than having to know the "name" of the widget

getDependency("leaflet", package = "leaflet")

@ramnathv
Copy link
Owner

This looks good @cpsievert. Let me test through a couple of scenarios before I merge it in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants