Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install #17

Closed
tumu0901 opened this issue Feb 24, 2021 · 2 comments
Closed

Cannot install #17

tumu0901 opened this issue Feb 24, 2021 · 2 comments
Assignees
Labels

Comments

@tumu0901
Copy link

Hi,
I tried to install the package for different methods. But I got errors showing below.
package ‘testthat’ successfully unpacked and MD5 sums checked Error: Failed to install 'DAtest' from GitHub: (converted from warning) cannot remove the prior installation of package ‘testthat’
I also tried to remove the package 'testthat', but I don't have it.
remove.packages("testthat") Removing package from ‘C:/Users/lqwnc/Documents/R/win-library/4.0’ (as ‘lib’ is unspecified)

Wondering do you have other suggestions? Thank you very much!

@Russel88
Copy link
Owner

Russel88 commented Feb 25, 2021

This is a common installation error, not specifically associated with DAtest. Often just restarting R will help (if you open R with command line, use --vanilla), and then install DAtest again (don't load any packages prior to installing). If this doesn't work, then look in your library folder, and if there is a folder named testthat, then delete it, and try to install DAtest again.

@tumu0901
Copy link
Author

It works! Yeah, Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants