From h.wickham at gmail.com  Wed Jan 20 23:13:13 2016
From: h.wickham at gmail.com (Hadley Wickham)
Date: Wed, 20 Jan 2016 16:13:13 -0600
Subject: [Rd] Warn on partial matches in R CMD check
Message-ID: <CABdHhvEs4gX+MHFbeyF4jLnUyFM1hUMt0777d-UY524mpZ864Q@mail.gmail.com>

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 think it can currently be made part of the default (because
sometimes the warnings come from other packages), but it would be
really convenient to have as a switch.

Hadley

-- 
http://had.co.nz/



[Rd] Warn on partial matches in R CMD check
Hadley Wickham