
Last chance! 50% off unlimited learning
Sale ends in
This function scans one or more R scripts and tries to quick-load/install
the packages mentioned by library
or require
functions.
qscan(..., load = TRUE, detail = TRUE)
the scripts to scan. Defaults to all R scripts in the current working directory.
quick-load/install the cited packages (see details).
Defaults to TRUE
.
show the list of packages found in each script.
Defaults to TRUE
.
The result is a list of packages cited in the scripts.
The function calls the qload
function to quick-load/install the packages.
# NOT RUN {
## Scan the working directory.
# }
# NOT RUN {
qscan()
# }
Run the code above in your browser using DataLab