Description Usage Arguments Value Parallelism Examples
package_report
lists all external function calls from a source package
using pkgapi::map_package()
.
It then checks backward-compatibility of each call with previous versions.
1 2 3 |
path |
Path to the root of an R source package. |
include |
Packages to include. By default, all are included except core packages and the package at
|
exclude |
Packages to exclude from checking. Overrides |
cutoff_date |
Don't check versions before this date (default: 2 years ago). Set to |
max_n_versions |
Check at most this number of previous versions. Set to |
parallel |
Run in parallel. |
progress |
Show a progress bar. |
... |
Arguments passed to |
A data frame with three rows:
package
for the external package
version
for the latest version which caused problems or NA
if there were no problems
funs
a list-column of function names where the API changed
For parallel search, you can set up your own parallel
cluster by using parallel::setDefaultCluster()
; otherwise one will be created, using
getOption("cl.cores")
cores if that is set. If you
set up your own cluster, it will not be stopped automatically (see
parallel::stopCluster()
).
1 2 3 4 5 6 | ## Not run:
package_report(".")
# to include base packages also:
package_report(".", exclude = character(0))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.