Learn R Programming

rdocdump (version 0.1.0)

extract_code_installed: Extract code from an installed package using its namespace. This function retrieves all functions from the package namespace and deparses them to get their source code.

Description

Extract code from an installed package using its namespace. This function retrieves all functions from the package namespace and deparses them to get their source code.

Usage

extract_code_installed(pkg_name)

Value

A single string containing the source code of all functions in the package.

Arguments

pkg_name

The name of the installed package.