View source: R/install_clone.R
install_clone | R Documentation |
There is a lot of overhead in building an R package from a cloned repository
if you cannot use devtools::load_all, such as sa4ss
or any package
that uses rticles
in a formal way.
This function acts similarly to
devtools::load_all and remotes::install_github
in that you can use a package available on github
by running a single line of code.
Though, there will be some differences,
such as un-exported functions will need to be accessed using :::
, not ::
.
The benefit of using this function instead of remotes::install_github is that
you do not have to access the internet and you can use local changes that
are not yet pushed to the repository.
This may not be an issue if you have a token.
install_clone(dir)
dir |
The full file path to the directory you want to
|
A character value of the name of the package.
Kelli F. Johnson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.