Description Usage Arguments See Also
refreshPackage
takes a path to a file or folder, or a URL,
determines whether it exists, and installs it. In order for local
source to be used, the path given must exist locally and local
must be true. Once the package given by packPath
is installed,
this function attempts to load the package, using either a given name or
an inferred one. If no name
is given and the name inference
strategy employed fails to yield a viable package name candidate, then
the attempt to load the package is skipped.
1 2 |
packPath |
Path to the package to install and load. |
local |
Use local source for the installation, default |
name |
Name for the package to load, or a strategy with which it is to be inferred. If omitted, then the package is simply reinstalled, not also reloaded. |
nameFromUrl |
Strategy with which to infer package name from URL,
optional; this is only used if |
load |
Whether to load the package into the global environment if it was successfully located and installed. |
force |
Whether to force installation even if there's no hash delta. |
Other packages: locatePackage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.