Closed aathbt closed 3 months ago
lol, I also noticed this issue during the last round of tests of the package, ending with exactly the same resolution. I will test the package again and push the latest version after fixing the other issues you have raised.
Thanks, Ye
Branch closed because fix was included in bbcee3f.
target_landmark_location
length isn't checked before testing its value, which leads to an if condition being longer than 1. This causes the following error when manually setting peak location (withtarget_landmark_location = c(x, y)
)This pull request fixes it by adding a length test beforehand.