Closed RobinHankin closed 6 years ago
also the first two examples in valid.Rd
are not very well thought through.
The only place that singleword_valid()
is called in the package is in word()
. It is entirely reasonable that word()
should stop with error if called with invalid data.
but currently
singleword_valid()
willstop()
if given invalid input. We should be able to sayif(singleword(valid)){do_stuff()}
or
stopifnot(singleword_valid(jj))