Skip to contents

Trick to solve the use of :: for package functions in do.call()

Usage

getNsFunction(x)

Arguments

x

the name of the function, most probably as pkg::fun()

Value

the exported function name in namespace pkg

Examples

if (FALSE) { # \dontrun{
getNsFunction("pkg::fun")
} # }