1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{hasArg2}
\alias{hasArg2}
\title{Checking for Missing Arguments}
\usage{
hasArg2(name)
}
\arguments{
\item{name}{the name of an argument as a character string.}
}
\value{
A logical flag.
}
\description{
This function is identical to \code{\link{hasArg}}, except that
it accepts the argument name as a character string.
This avoids to have a check NOTE about invisible binding variable.
}
\examples{
f <- function(...){ hasArg2('abc') }
f(a=1)
f(abc=1)
f(b=1)
}
|