silverblaze relies on the Rcpp package, which requires the following OS-specific steps:
Next, in R, ensure that you have the devtools package installed by running
install.packages("devtools", repos='http://cran.us.r-project.org')
Then install the silverblaze package directly from GitHub by running
devtools::install_github("Michael-Stevens-27/silverblaze")
If you have any problems installing then please raise an issue on github.
Assuming everything installed correctly, we need to load the package:
library(silverblaze)
You can test that the package is loaded and working by running the following command, which should produce this output:
check_silverblaze_loaded()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.