Install a Package Temporarily

Description

Installs and loads a package for the current session. The package won't be available in future sessions and will eventually be deleted from the machine with no additional effort needed by the user. This will also install the necessary dependencies temporarily as well.

Usage

1
p_temp(package, character.only = FALSE)

Arguments

package

The package we want to install temporarily

character.only

logical. Is the input a character string?

Author(s)

juba (stackoverflow.com) and Dason Kurkiewicz

References

http://stackoverflow.com/a/14896943/1003565

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.