inst/templates/extendr-wrappers.R

# nolint start

#' @docType package
#' @usage NULL
#' @useDynLib {{{pkg_name}}}, .registration = TRUE
NULL

#' Return string `"Hello world!"` to R.
#' @export
hello_world <- function() .Call(wrap__hello_world)

# nolint end

Try the rextendr package in your browser

Any scripts or data that you put into this service are public.

rextendr documentation built on July 9, 2023, 5:54 p.m.