- Clone and
cd into this git repo
- Make
build_install.sh executable by running
chmod +x build_install.sh in bash terminal
- In terminal, run
./build_install.sh to build and
install the package
- To ensure a clean start, run:
rm -f src/*.o src/*.so
rm -rf wispack.Rcheck
rm -f wispack_*.tar.gz
./build_install.sh
Linux
On Linux (Ubuntu/Debian), additional system dependencies are required
before the building process: - libxml2 for
roxygen2 - r-base-dev, libnlopt-dev (or
libnlopt-cxx-dev) for Rcpp, RcppEigen, and StanHeaders
For PDF documentation generation, pdflatex should also
be installed
sudo apt install \
libxml2 \
r-base-dev \
libnlopt-dev \
libnlopt-cxx-dev \
texlive-latex-base \
texlive-fonts-recommended \
texlive-fonts-extra \
texlive-latex-extra
Build documentation
In R, run:
pkgdown::build_site()