checkFF {base} | R Documentation |
Check Foreign Function Calls
Description
Performs checks on calls to compiled code from R code. Currently only
whether the interface functions such as .C
and .Fortran
are called with argument PACKAGE
specified, which is highly
recommended to avoid name clashes in foreign function calls.
Usage
checkFF(file, package, lib.loc = .lib.loc,
verbose = getOption("verbose"))
Arguments
file |
the name of a file containing R code to be checked. |
package |
a character string naming an installed package. If
given and file is not given, the installed R code of the
package is checked. |
lib.loc |
a character vector describing the location of R
library trees to search for package . |
verbose |
a logical. If TRUE , additional diagnostics are
printed. |
See Also
.C
,
.Fortran
;
Foreign
.
Examples
checkFF(package = "ts", verbose = TRUE)