First ensure that you have cloned the repository into working version only your local machine, choosing one of:
```{bash eval=F} cd /dev git clone git@github.com:convergenceda/visdom.git git clone https://github.com/convergenceda/visdom.git
Then using that location as as your working directory (here we assume `/dev/visdom`), load requirements for package development and install from source. #Load requirements ```r setwd('/dev/visdom') install.packages(c("devtools", "roxygen2", "testthat", "knitr"))
version check
rstudioapi::isAvailable("0.99.149")
for some reason, withr (a devtools dependency) will not install for RRO 3.2.2 with message that there is no 3.2.2 version of withr this is probably an ephemeral issue, but install from source for now
devtools::install_github("jimhester/withr")
install Wickham's latest/src devtool support. Note that devtools can't install itself on Windows (!!) https://github.com/hadley/devtools/issues/503 explains.
devtools::install_github("hadley/devtools")
Ensure that your getwd() is the visdom source dir and then call:
devtools::document() devtools::build_vignettes() ?visdom ?MeterDataClass ?WeatherDataClass
Followed by installing the package from source, which should resolve and install all the package dependencies, with some exceptions, like for HDF5 support.
devtools::install(build_vignettes = T)
Test your install with a fresh R session:
library(visdom) ?visdom browseVignettes(package='visdom')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.