This PR adds a check on the tail of a supplied nonparametric vector to see if consecutive values are below a certain threshold and throws a warning if so. See the linked issue and this comment for an explanation of the rationale for this check. In summary, it is an optimisation issue.
Initial submission checklist
[x] My PR is based on a package issue and I have explicitly linked it.
[x] I have tested my changes locally (using devtools::test() and devtools::check()).
[x] I have added or updated unit tests where necessary.
[x] I have updated the documentation if required and rebuilt docs if yes (using devtools::document()).
[x] I have followed the established coding standards (and checked using lintr::lint_package()).
[x] I have added a news item linked to this PR.
After the initial Pull Request
[ ] I have reviewed Checks for this PR and addressed any issues as far as I am able.
Description
This PR closes #738.
This PR adds a check on the tail of a supplied nonparametric vector to see if consecutive values are below a certain threshold and throws a warning if so. See the linked issue and this comment for an explanation of the rationale for this check. In summary, it is an optimisation issue.
Initial submission checklist
devtools::test()
anddevtools::check()
).devtools::document()
).lintr::lint_package()
).After the initial Pull Request