Re: [Rd] head with non integer n returns confusing output

2019-06-22 Thread Abby Spurdle
> `head()` returns a problematic output when a character is fed to its `n` > parameter. > this can lead to an unexpected and inconsistent result. > I would suggest either using `as.integer` consistently on the input, or > having a consistent error for all character input. I use the head() and tail

[Rd] methods package: A _R_CHECK_LENGTH_1_LOGIC2_=true error

2019-06-22 Thread Henrik Bengtsson
DISCLAIMER: I can not get this error with R --vanilla, so it only occurs when some other package is also loaded. I don't have time to find to narrow that down for a reproducible example, but I believe the following error in R 3.6.0: > Sys.setenv("_R_CHECK_LENGTH_1_LOGIC2_" = "true") > library(oli

Re: [Rd] [External] Re: Suggested Patch: Library returns matching installed packages when typo present

2019-06-22 Thread Tierney, Luke
On Fri, 21 Jun 2019, Henrik Bengtsson wrote: >> On 6/21/19 10:56 AM, Tierney, Luke wrote: >> [...] >> Something that would be useful and is being considered is having a >> mechanism for registering default condition handlers. This would allow >> the condition to be re-signaled with a custom class