Error in if (sapply(args, "[", 4)[[j]] == "Report progress ") default <- "false" else default < :
missing value where TRUE/FALSE needed.
I narrowed the issue down to the code block where the program checks for lines to drop. With some tools (e.g. segmentation.bat) it will cause an NA value which currently makes the program stop.
sapply(args, "[", 4)[[j]])
Could be a good idea to compensate this with dropping a line if the returned value is NA?
I also realized it is on your to-do-list to adapt the program to changes in the OTB software so you might already be aware of the issue.
I ran into some issues while trying to set up OTB, giving this error:
I narrowed the issue down to the code block where the program checks for lines to drop. With some tools (e.g. segmentation.bat) it will cause an NA value which currently makes the program stop.
Could be a good idea to compensate this with dropping a line if the returned value is NA? I also realized it is on your to-do-list to adapt the program to changes in the OTB software so you might already be aware of the issue.
Cheers!
https://github.com/r-spatial/link2GI/blob/c6c904c9a36e185d9221f00831b35e3428960c10/R/parseOTB.R#L164