From h.wickham at gmail.com  Fri Feb 15 16:33:38 2013
From: h.wickham at gmail.com (Hadley Wickham)
Date: Fri, 15 Feb 2013 09:33:38 -0600
Subject: [Rd] match.call() and missing arguments in ...
Message-ID: <CABdHhvHmLXUmYfX54Q6QRn57dEUzGTFBdgv2qQ9jfqRu-MQmsQ@mail.gmail.com>

Hi all,

Is this expected behaviour or a bug in match.call?

f <- function(x, ...) {
  g <- function(...) match.call()

  g(x = x, ...)
}
f(x = 1, y = )
# g(x = x, y = ..1)

Hadley

-- 
Chief Scientist, RStudio
http://had.co.nz/



[Rd] match.call() and missing arguments in ...
Hadley Wickham