Installing discent

From Github

install.packages("remotes")
remotes::install_github("nickbrazeau/discent")

Dependencies

discent relies on the Rcpp package, which requires certain OS-specific dependencies:

  • Windows
    • Download and install the appropriate version of Rtools for your version of R. On installation, ensure you check the box to arrange your system PATH as recommended by Rtools
  • Mac OS X
    • Download and install XCode
    • Within XCode go to Preferences : Downloads and install the Command Line Tools
  • Linux (Debian/Ubuntu)
    • Install the core software development utilities required for R package development as well as LaTeX by executing
    sudo apt-get install r-base-dev texlive-full

Assuming everything installed correctly, you can now load the package:

library(discent)