This line:
https://github.com/r-lidar/lidR/blob/dd16f690565a370e30eb369ad5c0bee11f8f81fb/R/plot.R#L290C35-L290C35
causes an error if the palette is specified as a vector of colors.
A simple fix is to change it to
autocol <- is.character(pal) && length(pal) == 1 && pal == "auto"
Here is code to illustrate:
LASfile <- system.file("extdata", "MixedConifer.laz", package="lidR")
las <- readLAS(LASfile)
lidR::plot(las,size=5,pal=grDevices::terrain.colors(30),axis=TRUE)
This was reported here.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4