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 result is a list of packages cited in the scripts.
The function calls the qload function to quick-load/install the packages.
## Scan the working directory.
if (FALSE) qscan() # \dontrun{}