Download & Installation¶
Download¶
The latest stable release of SHazaM can be downloaded from CRAN or GitHub.
Installing Released Versions¶
The simplest way to install SHazaM is via CRAN:
install.packages("shazam")
Downloaded source builds from GitHub may be installed in the usual way:
install.packages("shazam_x.y.z.tar.gz", repos=NULL, type="source")
Building Development Versions¶
To build from the source code, first install the build dependencies:
install.packages(c("devtools", "roxygen2", "testthat", "knitr", "rmarkdown", "Rcpp"))
To install the latest development code via devtools:
library(devtools)
install_github("immcantation/shazam@master")
Note, using install_github will not build the documentation. To generate the
documentation, clone the repository and build as normal using devtools,
roxygen and knitr:
library(devtools)
install_deps()
document()
build()
install()
Some users might experience issues with shazam if certain dependencies are not installed correctly. One straightforward way to ensure all required packages are available is to install shazam via Bioconductor:
install.packages("BiocManager")
BiocManager::install("shazam")
If you still encounter issues with missing dependencies, you can use the Posit Public Package Manager to identify and install them manually.
If problems persist while installing shazam, feel free to contact us here for support.