register_routines: Register Native Routines

View source: R/register.R

register_routinesR Documentation

Register Native Routines

Description

Discover and register native routines in a package. Functions to be registered should be prefixed with the '// [[export(<methods>)]]' attribute.

Usage

register_routines(package = ".", prefix = "C_", dynamic.symbols = FALSE)

Arguments

package

The path to an R package.

prefix

The prefix to assign to the R objects generated that map to each routine.

dynamic.symbols

Boolean; should dynamic symbol lookup be enabled?


kevinushey/sourcetools documentation built on June 14, 2025, 8:55 a.m.