Install a Package Temporarily

Usage

p_temp(package, character.only = FALSE)

Arguments

package
The package we want to install temporarily
character.only
logical. Is the input a character string?

Install a Package Temporarily

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.

Author

juba (stackoverflow.com) and Dason Kurkiewicz