R/get_libs.R
get_libs.Rd
get_libs --- Determine the libraries referenced in a given script.
get_libs(file)
Path to the script.
Returns the libraries referenced in the script.
Matthew K. Lau
script <- system.file( "example", "long_script.R", package = "Rclean") get_libs(script) #> [1] "stats"