Adds r-universe package repositories to your options("repos")
such
that they are used by default in install.packages()
. If the universe
was already enabled, it will not be added again, hence it is harmless
to call this function multiple times.
Details
Note that changes to your options are not permanent. To automatically
enable a repository for every R session, you can call this function in
your ~/.Rprofile
script.