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

get_libs(file)

Arguments

file

Path to the script.

Value

Returns the libraries referenced in the script.

Author

Matthew K. Lau

Examples

script <- system.file( "example", "long_script.R", package = "Rclean") get_libs(script)
#> [1] "stats"