CodingMatters
CodingMatters

Reputation: 1431

R users : how to uninstall a package installed with devtools::install_github("username/repo")

installed a package in R using devtools, ie devtools::install_github("username/repo_name")

how do I uninstall this package?

Upvotes: 5

Views: 5749

Answers (1)

CodingMatters
CodingMatters

Reputation: 1431

my question was incomplete, I had not completed installation. .

devtools::install_github("username/repo_name")
install.packages("repo_name")
#package is now usable 
remove.packages("repo_name")

leaving this here in the hope others find it usable.

Upvotes: 5

Related Questions