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)

ropensci/Rclean documentation built on Dec. 8, 2022, 7:31 a.m.