Installing RUHi
Video Tutorial
The RUHi package can be installed from either the cembrowskilab or kaitsull repos. You can install the latest version directly from GitHub using the devtools package.
See below for copy-and-paste code to follow along with the video!
Step-by-Step Code
Step 1: Install from GitHub
Make sure you have devtools installed:
install.packages("devtools")Then install RUHi:
devtools::install_github("kaitsull/RUHi")Step 2: Load the Package
library(RUHi)Updating the Package
If you already have RUHi installed and want to update it:
# Remove the old version
remove.packages("RUHi")
# Install the latest version
devtools::install_github("cembrowskilab/RUHi")Downloading Errors
If you receive the following error:
Using github PAT from envvar GITHUB_PAT
Error: Failed to install ‘unknown package’ from GitHub:
HTTP error 401. Bad credentials.
Use the following line of code:
Sys.unsetenv("GITHUB_PAT")
devtools::install_github("cembrowskilab/RUHi")