-
Notifications
You must be signed in to change notification settings - Fork 7
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
Conflict with shiny "em" function (="em" html tag) #8
Comments
Let's say there are two functions "myfunc", one from package "pkgA" and one fro package "pkgB". Let's also say that we are writing a Shiny interface importing both packages. There is no conflict as long as one uses the following syntax:
Therefore, I won't change the "em" function from the "rutilstimflutre" package. In fact, one should rather use |
Hi @juliendiot42 ! For your information, in the latest release (0.160.5), I renamed the |
Hi ! Another method to handle this kind of conflict is to pay attention to the order of the packages loading. The last package overwrite the functions of the previous one in the global environment. By this way, it's possible to manage the "priority" of each packages. For the issue #11, of course it's not a reason ( but it will be a long and boring task to do 😆 ) |
Caution, the ONLY way of taking care of this thing when developing a package is to use the syntax |
Ok, thank you ! |
Hi !
The "em" function of the package can be in conflict with the corresponding function from the "shiny" package.
see commit of Apr 5, 2018 : minor improvement to em()
It is not very important but it can raise an error, witch is a bit hard to find, in some shiny app.
The text was updated successfully, but these errors were encountered: