I am creating an R package on GitHub, LW1949, that depends on another R package on GitHub, jvamisc. When I try to install LW1949 using
require(devtools)
devtools::install_github("user/LW1949")
I get the message: Skipping 1 packages not available: jvamisc
.
How can I point the import(jvamisc)
part of the LW1949 package (in NAMESPACE) to Github instead of CRAN to find this dependency?
Surely this question has been asked and answered before, but I was not successful searching for it (perhaps because the search terms are so common - R, package, GitHub, etc.). I did stumble across Travis CI and Packrat, neither of which I've used. No idea if they would help. I would prefer as simple a fix as possible. (Wouldn't we all?)
I'm using R version 3.1.3 for Windows in R Studio Version 0.98.1103.
Additional_repositories
field of your DESCRIPTION file. – Rinaoptions("repos")
Also see?setRepositories
– ChoosyR CMD check
purpose, see r-ext. I've tried to set it up for gh package on drat importing another gh package on drat and some other on a CRAN. It didn't useAdditional_repositories
metadata but throwdependencies not available
error. – Laius