Closed andreasakarlsson closed 5 years ago
You can use devtools::install_github("mclements/microsimulation", build = FALSE)
to avoid building the package before installation, which fixes the issue.
However you could also modify your Makevars file to point to ../lib/
rather than ../inst/lib
, the latter is only present in the un-built package. You might also have to setup a symlink from inst/lib
to lib
so that load_all()
works if you do this.
In any case this is working as expected, so I don't think anything needs to change in devtools.
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/
Upgrading devtools to version 2.0.1 causes devtools::install_github to render an error when compiling our microsimulation package. Reverting back to devtools 1.13.6 fixes this error.
https://github.com/mclements/microsimulation/issues/1#issuecomment-466884247
Our microsimulation package uses a static library with the following Makevars:
Is this a devtools bug or do we need to change how we use devtools?
Thank you! //Andreas