Learn R Programming

box (version 1.2.0)

wrap_unsafe_function: Wrap “unsafe calls” functions

Description

wrap_unsafe_function declares a function wrapper to a function that causes an R CMD check NOTE when called directly. We should usually not call these functions, but we need some of them because we want to explicitly support features they provide.

Usage

wrap_unsafe_function(ns, name)

Value

wrap_unsafe_calls returns a wrapper function with the same argument as the wrapped function that can be called without causing a NOTE.

Arguments

ns

The namespace of the unsafe function.

name

The name of the unsafe function.