Description Usage Arguments Details
First generate list of package changes, then scan new or upgraded packages for names, add to name table, remove deleted packages entries in name table.
1 | update_name_table(withVersion = TRUE, startNew = FALSE, tryError = FALSE)
|
withVersion |
Default TRUE, check package changes both in name and version. If FALSE, check package name changes only, a little bit faster but with more false positives. The speed difference is minor compared to the package scanning process. It's recommended to use default option unless the package listing process is really slow. Though in that case the package scanning process will be much more slower anyway. |
startNew |
Default FALSE, compare user's environment with name table shipped with this package, only update difference. If True, build from scratch. |
tryError |
Default FALSE. If True, withVersion and startNew must be FALSE, Scan the packages cannot be loaded in last update again. |
In one case, .packages(all.available = TRUE)
found 408 packages
folder, installed.packages
found 379 packages with valid DESCRIPTION
file, the final loading, attaching, listing names function found 267 packages
with at least one name.
Common usage:
namebrowser::update_name_table()
Use all default parameter, called by
Addin menu Update name table. Compare package name and version changes to
existing name table, then update it.
namebrowser::update_name_table(withVersion = FALSE)
Compare changes by
package name change only, then update name table.
namebrowser::update_name_table(startNew = TRUE)
Build name table from
scratch, ignore existing name table content.
namebrowser::update_name_table(tryError = TRUE)
Used to finish
unscanned packages that failed to load in last scan because of DLL limit
error. Must run with new R session. May need to run several times to finish
all packages that can be scanned. There could still be some packages left at
last because of package installation problems.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.