I'm trying to install the semMediation
package on Ubuntu through devtools:
install.packages("devtools")
devtools::install_github("cardiomoon/semMediation")
But:
Error: Failed to install 'unknown package' from GitHub:
HTTP error 404.
Not Found
Did you spell the repo owner (`cardiomoon`) and repo name (`semMediation`) correctly?
- If spelling is correct, check that you have the required permissions to access the repo.
What can it be?
There was a semMediation package on github. The author of the package wrote a tutorial on RPubs.[See below][1]
[1]: https://rpubs.com/cardiomoon/200846
However, I don't see any repo with semMediation right now. Maybe because the author deleted the repo. But you can still search a repo name with "semMediation" in All Github, because someone might fork that repo.
Use
devtools::install_github("guhjy/semMediation")
And be happy
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.