reinstallr
reinstallr copied to clipboard
Other patterns for finding required packages
This is great! I suggest, in addition to looking for packages that are called via library(packagename)
,
you also look for:
-
require(packagename)
-
packagename::function
-
import::from("packagename", ...)
Yes, that's right. I also considered parsing DESCRIPTION.
I adjust the function as soon as I find some time. But I won't be sorry, when someone is quicker. :-)
Might be nice to also look for rstudio add-ins.
Actually I had your great add-in ggThemeAssist
before upgrading to 3.3
and reinstallr
didn't spot it.
Is it expected?
The problem with most add-ins is, that you have no library() etc. call for them in any source files. Those they are hard to spot.
ok @calligross I guess you wish it was easier. Nevermind, your tool is already very handy! Thanks.
As a workaround: add for each add-in a library(add-in-package)
in a *.R file.
smart, will try to stick to this rule