Reputation: 575
My package depends on another package which is not uploaded in cran, mran or even github and it has a .zip format. When submitting my package on cran it can't find the package and returns errors. How can I use the not uploaded package on public repositories, in a package that want to be submitted on cran?
Upvotes: 1
Views: 84
Reputation: 1152
Some ideas:
Additional_repositories
in the DESCRIPTION
fileThe 3rd option is the only purely technical solution. See the drat documentation, this SO answer from the drat package author, and this thread on R-pkg-devel in which an R package author successfully submits to CRAN following this strategy.
Update: The CRAN package discussed above that used option 3 was wikipediatrend. This line in the DESCRIPTION file sets the Additional_repositories
field.
Upvotes: 4