romainfrancois / nothing

A package about nothing
40 stars 11 forks source link

Added flexibility with unloading packages #7

Closed konradzdeb closed 6 years ago

konradzdeb commented 7 years ago

I would suggest that in the code:

pkgs <- setdiff(loadedNamespaces(), "base")
romainfrancois commented 6 years ago

That's not compatible with the joke of the package.

kendonB commented 6 years ago

I believe I have a real use case for this package. I am running a shiny-server app on a machine that I don't have sudo access to. I am running into a bug that I believe arises from the R session loading old versions of some packages from the site-library before I have a chance to switch .libPaths() to something I can access. I can't think of another way to elegantly achieve what I want other than using this super-useful-and-not-a-joke package. It would be nice to have an almostnothing package that keeps the base, graphics, stats, methods, etc packages that usually get loaded when R does.