You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading from an earlier version of R I used for building geospaar, I found that unit2-module2 was failing to build when running devtools::install_github (or remotes::...) or devtools::install. The error message that cropped up was the same as in this GitHub issue, and other similar ones. Ultimately, it was this:
> Error in (function (command = NULL, args = character(), error_on_status = TRUE, :
> System command error
The references I have found to this issue, however, seem mostly related to windows installs. In this case, the problem seems to be some interaction with raster package functions applied to *StackBricks. The error thrown above this was along the lines of "incorrect number of layer names". The hack I reference here allows me to get around it, but it is rather ungainly. Note that this issue only occurs when building vignettes. The Rmarkdown knits fine, and there is no error when the original code ran in the chunk.
The error appeared in another place also. Basically the same error, but to fix it I had to remove quotes from around the vector of function names passed into the lapply.
The text was updated successfully, but these errors were encountered:
After upgrading from an earlier version of
R
I used for buildinggeospaar
, I found that unit2-module2 was failing to build when runningdevtools::install_github
(orremotes::...
) ordevtools::install
. The error message that cropped up was the same as in this GitHub issue, and other similar ones. Ultimately, it was this:The references I have found to this issue, however, seem mostly related to windows installs. In this case, the problem seems to be some interaction with
raster
package functions applied to*StackBrick
s. The error thrown above this was along the lines of "incorrect number of layer names". The hack I reference here allows me to get around it, but it is rather ungainly. Note that this issue only occurs when building vignettes. The Rmarkdown knits fine, and there is no error when the original code ran in the chunk.geospaar/vignettes/unit2-module2.Rmd
Line 416 in 19b2cea
The error appeared in another place also. Basically the same error, but to fix it I had to remove quotes from around the vector of function names passed into the
lapply
.The text was updated successfully, but these errors were encountered: