get_dependencies {sketch} | R Documentation |
Extract the content of the 'load_script' headers of a sketch R file
Description
Extract the content of the 'load_script' headers of a sketch R file
Usage
get_dependencies(app_script, local_only = TRUE)
Arguments
app_script |
A character string; the path to the sketch R file. |
local_only |
TRUE / FALSE; if TRUE, exclude the ones that are web link. |
Examples
sample_file <- system.file("test_files/test_sketch.R", package = "sketch")
cat(readLines(sample_file), sep = "\n") # Preview the file content
get_dependencies(sample_file)
[Package sketch version 1.1.20.3 Index]