The sole purpose of this package is to install other packages. It is meant to be
a quick way to install all the packages that I typically use in R. Although
perhaps not the most elegant way to restore the package ecosystem of any new
install, the use of devtools
is
very helpful since it allows specifying repository locations for non-CRAN
packages.
Think of this as my "dotfiles" repo for R. In fact, I might put my .Rprofile here at some point.
If you have a neat strategy for managing packages after upgrades or fresh installs, please submit an issue. I'd like to hear about it!
if ( !require(devtools) ) install.packages("devtools")
devtools::install_github("pegeler/metapackage")
I recommend checking out Posit Public Package Manager. There are tons of features available, but the two main selling points for me are:
When installing many packages (for example fresh installs or version updates), this can save quite a bit of time over compiling from source.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.