Description Usage Arguments Details Value Examples
'depl_check' analyses R source for dependency references: 'library(<package>)', 'require(<package>)', '<package>::func', 'pload(<package>, <package>)'. The dependencies are then located in either the local library, CRAN, or GitHub. Installed versions are compared with repository versions, with CRAN taking precendence over GitHub (Even if a local package was installed from GitHub).
1 | depl_check(source_path = ".")
|
source_path |
a file or directory path. |
A report is output to the console containing information about missing and out of date dependencies. If there are any missing or out of date, a prompt is made to automatically update and install dependencies.
A list of dataframes containing package metadata. Convenient for diagnostics or further processing.
1 2 3 4 5 | ## Not run:
depl_check("~/repos/my_analysis")
depl_check("./report.Rmd")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.