Closed mikoontz closed 4 years ago
Right I changed and simplified stuff but I forget to change than in lidRplugins. It should work now.
It does! Awesome, thanks so much. I'll close the issue.
Sorry to reopen-- I noticed that ptrees()
still has the old versions of the class(f) <-
assignment and so the same error noted above lingers.
Is that easier for you to patch, or would you like a PR?
Sorry to reopen (again) but it seems like the compatibility with the updated find_trees function isn't working:
LASfile <- system.file("extdata", "MixedConifer.laz", package="lidR")
las = readLAS(LASfile)
ttops = find_trees(las, ptrees(k))
#> Error: Invalid function provided as algorithm'
any thoughts?
Fixed thank you
The tree segmentation/detection algorithms in {lidRplugins} no longer work when you install {lidR} v3.0.0 (i.e., the
devel
branch of {lidR})I suspect this has to do with a recent commit in {lidR@devel} adding in more global variables for asserting the context in which the algorithms are called. I'll keep digging and see if I can patch it sufficiently to make a PR.
Hat tip to @youngdjn for first spotting this.
The same error occurs when running the examples in the help files for
hamraz2016()
,lmfauto()
,multichm()
,LayerStacking()
, andptrees()
.