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)

MKLau/Rclean documentation built on Dec. 6, 2022, 7:18 p.m.