get_libs: get_libs - Determine the libraries referenced in a given...

View source: R/get_libs.R

get_libsR Documentation

get_libs — Determine the libraries referenced in a given script.

Description

get_libs — Determine the libraries referenced in a given script.

Usage

get_libs(file)

Arguments

file

Path to the script.

Value

Returns the libraries referenced in the script.

Author(s)

Matthew K. Lau

Examples

script <- system.file(
        "example", 
        "long_script.R", 
        package = "Rclean")
get_libs(script)

ProvTools/cleanR documentation built on Jan. 7, 2023, 2:20 p.m.