-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
runExample() collides with shiny #127
Comments
Another one of those dumb mistakes because I didn't imagine anybody would ever use this package. Not as bad as making a Yes, I'll change it in the upcoming release which I'm planning on making soon, thanks |
there's actually a PR in shiny for this rstudio/shiny#1458 |
I won't be fixing it as of yet because I want to see if shiny will incorporate it |
Looks like {shiny} decided to kill the PR for this, so every other package that also contains |
I see you still want this :) I'm curious, do you actually have a usecase where you are importing the |
Right now I can't #' @import shiny
#' @import shinyjs because of conflicts. The workaround is rather awkward, the alternative is to qualify shinyjs functions everywhere. |
I see, that makes sense. I really hate giving a non satisfactory answer, but in this case I think that's all I have right now. I thought of changing the function name to FWIW I always import shiny and namespace any shinyjs functions, not because of this issue but just because shiny functions are way more abundant. I hate telling/forcing someone to "just do it my way" ("just import shiny and namespace shinyjs, because that's how I do it"), but I can't think of a better solution. |
@krlmlr looks like shiny did end up implementing this a few months ago rstudio/shiny#4005 I added a deprecation notice right now, urging users to upgrade to {shiny} version 1.8.1 so that they can use |
and makes importing both difficult:
Would you consider renaming it to
runJsExample()
? This looks like a function used mostly interactively, so this change shouldn't introduce downstream problems.The text was updated successfully, but these errors were encountered: