Re: [Rd] Warn on partial matches in R CMD check

2016-01-21 Thread Rainer M Krug
Hadley Wickham writes: > Hi all (but especially Kurt), > > Would it be possible to have a flag to R CMD check that warned on > partial all matches, i.e. turning on: > > options( > warnPartialMatchDollar = TRUE, > warnPartialMatchArgs = TRUE, > warnPartialMatchAttr = TRUE > ) > > I think thi

Re: [Rd] Warn on partial matches in R CMD check

2016-01-20 Thread Yihui Xie
+1 "What you write is **probably** what you get" sounds like a very bad idea to me. The real solution to laziness should be auto-completion instead of partial matching. Regards, Yihui On Wed, Jan 20, 2016 at 4:13 PM, Hadley Wickham wrote: > Hi all (but especially Kurt), > > Would it be possible

[Rd] Warn on partial matches in R CMD check

2016-01-20 Thread Hadley Wickham
Hi all (but especially Kurt), Would it be possible to have a flag to R CMD check that warned on partial all matches, i.e. turning on: options( warnPartialMatchDollar = TRUE, warnPartialMatchArgs = TRUE, warnPartialMatchAttr = TRUE ) I think this is good practice for package code. I don't