R can use multiple archives: CRAN, BioConductor and Omegahat have been supported for years. It is equally easy to add local archives from the same machine, or local network, or university / company network as well as other publically available repositories. This function aids in the process, and defaults to adding a ‘drat’ archive at GitHub under the given account.
1 2 3
Character vector with one or more GitHub account for which a ‘drat’ archive is to be added.
Alternative repo specification with a complete url
string. If ‘alturl’ is provided, a single ‘account’
must be provided as well. For file-based access, the URL format
has to follow the
For the aliases variant, a catch-all collection of parameters.
This function retrieves the current set of repositories and adds (or overwrites) the entry for the given ‘account’. For non-GitHub repositories an alternative URL can be specified as ‘alturl’ (and assigned to ‘account’.
An aliased function
add is also available, but not exported
NAMESPACE to not clobber a possibly unrelated function;
use it via
The altered set of repositories
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.