[Rd] Bug in stats:::`[.formula`: (~ NULL)[2] gives Error ... missing value where TRUE/FALSE needed

2020-08-14 Thread Henrik Bengtsson
Hi, it looks like: > stats:::`[.formula` function (x, i) { ans <- NextMethod("[") if (length(ans) == 0L || as.character(ans[[1L]])[1L] == "~") { class(ans) <- "formula" environment(ans) <- environment(x) } ans } doesn't like to extract NULL components on either t

[Rd] Errors when base package version is specified

2020-08-14 Thread Duncan Murdoch
On StackOverflow (https://stackoverflow.com/q/63409565/2554330), a user was confused by the error messages from R when the DESCRIPTION file for his package specified Imports: stats >= 4.0.2 The message from an attempted source build in R 3.6.1 said: Warning in install.packages : depe

Re: [Rd] Managing unix signal in R

2020-08-14 Thread Simon Urbanek
What do you mean by "manage unix signal"? The main signals like INT, PIPE or SEGV are handled by R and are not exposed to the user code. What exactly do you intend to do? Cheers, Simon > On Aug 14, 2020, at 6:44 PM, neonira Arinoem wrote: > > Hello > > Just wondering what is the best way to