-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resourcePath() to complement addResourcePath() #2401
Comments
Hm, interesting. Since we already have May I ask what you'd like to do that adding such a function makes easier/possible? |
Sure---a lot of third-party packages automatically call For example, So the idea of Maybe an alternative to |
Thank you very much for clarifying. Have you considered placing your I ran into a similar situation that demanded In any event, I think your original request might still be a good enhancement, so I'll consult with the team to determine if it's a change we would consider. |
A Maybe it would be good to suggest this in the |
Thank you, yes. I conferred with @wch and we both agree that mentioning A PR for such a change would be welcome, but if you have better things to do, don't worry we'll get to it eventually 😃 Separately, we do think there's a decent but much less compelling argument for adding an a |
Done in #2459 (there is now a |
Would it be possible to add a getter function
resourcePath()
to return.globals$resources
and.globals$resourcePaths
? That way the code could test whether a particular resource has already been added.The text was updated successfully, but these errors were encountered: