You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DashR does not currently have the get_asset_url method for loading asset URLs like Dash for Python #158
As originally referenced in a DashR docs issue, Dash for R currently lacks this method which is featured in the Python version. Based on the Python implementation, it would grab the asset URL from the assets directory without needing to specify the exact path.
Thanks @HammadTheOne -- I meant to reply earlier; just did that now.
It's correct to say that Dash for R doesn't have this method, because the function isn't associated with the Dash R6 class, but rather an unexported function in utils.R:
Thanks @HammadTheOne -- I've responded in the original thread, but I think I'll have to add in a check for the names attribute to make this usable by developers, even if exported. If there is no name associated with the path, the function will infer it from the asset map, otherwise it will use the one passed.
Activity
rpkyle commentedon Dec 23, 2019
Thanks @HammadTheOne -- I meant to reply earlier; just did that now.
It's correct to say that Dash for R doesn't have this method, because the function isn't associated with the
DashR6 class, but rather an unexported function inutils.R:dashR/R/utils.R
Lines 583 to 598 in 5f2942c
@HammadTheOne I can make this change via PR, and will ask you for review.
rpkyle commentedon Dec 23, 2019
Thanks @HammadTheOne -- I've responded in the original thread, but I think I'll have to add in a check for the names attribute to make this usable by developers, even if exported. If there is no name associated with the path, the function will infer it from the asset map, otherwise it will use the one passed.
rpkyle commentedon Jan 3, 2020
Closed by way of #160.