File: hasArg2.Rd

package info (click to toggle)
r-cran-pkgmaker 0.32.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,192 kB
  • sloc: sh: 13; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 554 bytes parent folder | download | duplicates (2)
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)

}