0

I want to run some test on a LAScatalog object using las_check with lidR in R.

The first run worked just fine (all flags were green) and when I tried to run the same las_check(ctg_bertrix, deep = T), I got the following error:

Error: Trying to write an object of class list but this type is not supported.

How to interpret this error message? What should I do ? Does that mean that there is a problem with the dataset?

1 Answer 1

1

You found a bug.

Minimal reproducible example by setting an output files template

LASfile <- system.file("extdata", "Megaplot.laz", package="lidR")
ctg = readLAScatalog(LASfile)
opt_output_files(ctg) <- tempfile()
las_check(ctg, deep = T)
#>  Erreur : Trying to write an object of class list but this type is not supported. 

Do not try to write the output and it works

LASfile <- system.file("extdata", "Megaplot.laz", package="lidR")
ctg = readLAScatalog(LASfile)
las_check(ctg, deep = T)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.