How could I release an R package on github using github submodules? #133
I'm following up on this SO question, as no one else has. The comments recommend posting a feature request here. CC @rstub, Ralf Stubner
I have an R package on github. This R package has C++ dependencies which I include in
The correct way I would normally do this (outside of R) is create submodules within the github repo, which could link to the correct commits as dependencies.
The problem with doing this in R is that these subdirectories will be interpreted as "empty" and the installation won't work, e.g.
(1) Yes, one way to solve this is to physically put the dependencies within the R package. That does defeat the purpose of submodules though, which are very useful.
(2) It appears using the following argument works:
The problem with this is, this isn't default behavior. I'm nervous about getting dozens of github issues from users who ran
(3) Is there a better way? What is the standard method of releasing R packages as a github repo using submodules?
The text was updated successfully, but these errors were encountered: