export.packages
.import.packages
.install.packages("remotes")
remotes::install_github("wush978/pvm")
In the original workspace:
pvm::export.packages()
pvm.yml
.pvm.yml
, file should be like this:__version__: 0.2
1:
proto: 1.0.0
rstudioapi: 0.5
pvm.yml
.DESCRIPTION
files of the local package will include the non-CRAN info. export.packages
will automatically export
them as non-CRAN.Then go to another workspace:
pvm::import.packages()
source
or both
.Here are examples of specifications of this package:
github::repo=wush978/slidifyLibraries@422a92cd51a15a224d4be3f9d239012f4ffce874
That is to say, you should see the following paragraph in pvm.yml
if you export a non-CRAN pvm
package:
slidifyLibraries: github::repo=wush978/slidifyLibraries@422a92cd51a15a224d4be3f9d239012f4ffce874
During import.packages
, pvm
will install the package from github via remotes::install_github("wush978/pvm@master")
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.