Sean Mackinnon about 1 year ago
Here is a cool little function for R that lets you check if all of the loaded packages are actually necessary for the code that follows, letting you cut down on unneeded packages. Really helpful for grading student code too, since this is a common error!
funchir::stale_package_check('mycode.R')