extract_argument: Extract the arguments of a function for a loaded package

View source: R/extract_argument.R

extract_argumentR Documentation

Extract the arguments of a function for a loaded package

Description

Returns a character vector containing the arguments of a function for a loaded package. Arguments are separated by semi-colons.

Usage

extract_argument(fnc_name, package_name)

Arguments

fnc_name

String containing the name of the function.

package_name

String containing the name of the loaded package.

Value

A character vector of length 1 containing the arguments of a function for a loaded package. Multiple arguments are separated by a semi-colon.

Examples

extract_argument(
  fnc_name = "extract_argument",
  package_name = "devtoolbox")


devtoolbox documentation built on July 8, 2022, 5:08 p.m.