Closed david-cortes closed 1 year ago
What's the actual error that you see?
Oh sorry, just realized it was missing the Makevars
in the github repository and was thus being compiled with different arguments by remotes
than by R CMD
.
was thus being compiled with different arguments by
remotes
than byR CMD
.
That seems unlikely to me, as your example failed for me with R CMD build/INSTALL
as well, the same way as with remotes. Maybe you have a ~/.R/Makevars
file.
In any case, I am glad you solved the issue.
Steps to reproduce:
.
)._
).remotes::install_github(..., build=TRUE)
.Expected behavior: should install the package correctly, just like doing it through
R CMD build
andR CMD INSTALL
does.Actual behavior: fails to install the package.
To verify that the example package installs correctly, try the following: