Installation¶
This program may be compiled as a shared library or as stand-alone python and R libraries.
C++¶
To build the shared library, ninja(s) are needed.
pip install cmake ninja
The following dependencies are included as submodules:
Armadillo http://arma.sourceforge.net/docs.html
doctest (unit tests only) https://github.com/onqtam/doctest/
pybind11++ (python bindings only) https://pybind11.readthedocs.io
spdlog (logging) https://github.com/gabime/spdlog
Use make to install the
headers and shared libraries (here the destination is the /opt/
directory)
make install INSTALL_DIR=/opt
R¶
The R package can be built and installed directy from CRAN
install.packages("targeted")
or installed from source
make r
python¶
The python package can be installed directly from PyPi
pip install targeted
Note
Presently binary wheels are available for Linux systems and Mac OS X running Python>=3.6. Windows installations must be built from source.
or installed from source
make py