Closed rhijmans closed 4 years ago
The same error actually occurs with several packages. It is invariably:
Error in substring(sql, 0, pos$start[i] - 1) : invalid multibyte string, element 1
And comes with these warning messages
In addition: Warning messages:
1: In grep("^[^\\s]+:$", lines, perl = TRUE, value = TRUE) :
input string 7 is invalid UTF-8
2: In grep("^[^\\s]+:$", lines, perl = TRUE, value = TRUE) :
input string 8 is invalid UTF-8
Thanks! We have now revdep_rm()
, which removes packages from the queue. Maybe that is enough, as you probably only want to remove packages if they fail for some reason.
I find this too cumbersome. There are 14 packages that fail when revdepping raster
("BIOMASS","cartography","esmisc", "geozoning", "npphen", "prioritizr", "rpostgisLT", "RSIP", "rWind", "scBio", "solaR", "SpatialPosition", "tanaka", "eRTG3"). I would like to state at the beginning that these should be skipped.
However, it would seem much better if revdepcheck would not fail to begin with, and continues checking.
I think we'll now handle this as part of #69
I needed an
ignore="BIOMASS"
argument when running revdep_check with packageraster
as it led to an error. (on windows; perhaps because of the vignette; given that CRAN does not check it). I imagine it will be useful to others as well.