@useDynLib
without
any arguments - auto_dynlib
will parse the function and extract any
calls to .C
, .Fortran
, .Call
or
.External
.
#' @useDynLib #' @useDynLib foo #' @useDynLib foo, myRoutine, myOtherRoutine #' @useDynLib foo, myRoutine_sym = myRoutine, myOtherRoutine #' @useDynLib myDLL, .registration = TRUE #' @useDynLib KernSmooth, .registration = TRUE, .fixes = "F_"
useDynLib
directives of the form
myDLL = useDynLib(foo, myRoutine_sym = myRoutine, myOtherRoutine)
are not currently supported.