Getting dependencies from off-CRAN #154
-
I'm trying to use R-Universe to build package B, which depends on package A. Package A has been archived from CRAN (so B has fallen off too) and some Mac people want to use B, and I don't have a Mac and they are having errors with "xcode" and "libgfortran" and stuff I know nothing about and they've tried but failed to fix. I've got package A compiled and the user says it works. But now B depends on A, so I suspect the R-universe build will fail because A is not on CRAN. Will find out when the next hourly job runs. Is there a way I can add my universe repo to the build so it finds A okay? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can either explicitly add the upstream git url of package A to your personal |
Beta Was this translation helpful? Give feedback.
You can either explicitly add the upstream git url of package A to your personal
packages.json
, or you can specify it as aRemote:
in the description of package B. Either has the same effect, that package A will get included in your repository, such that it is no longer depending on CRAN.