---
title: RAQSAPI - Install and Setup
author:
- affiliation: |-
    United States Environmental Protection Agency (US EPA),  
        Region III,  
        Air and Radiation Division,  
        Air Quality and Analysis Branch
  name: Clinton Mccrowey
output:
  rmarkdown::html_vignette: default
vignette: >
  %\VignetteIndexEntry{RAQSAPI - Install and Setup}
  %\VignetteEncoding{UTF-8}
  %\VignetteDepends{knitr}
  %\VignetteDepends{rmarkdown}
  %\VignetteEngine{knitr::rmarkdown}
---

# Installing RAQSAPI

Either install the stable version from CRAN or install the latest
development version from GitHub.

## Option 1: Installing the stable version from CRAN

```R
install.packages(pkgs="RAQSAPI", dependencies = TRUE )
```

## Option 2: Installing the development version of RAQSAPI

To install the development version of `RAQSAPI`, first if not already installed,
install the `remotes` package and its dependencies. Then run the following in a
R environment.

```R
remotes::install_github(repo = "USEPA/raqsapi",
                        dependencies = TRUE,
                        upgrade = "always",
                        build = TRUE,
                        #optional, set TRUE if the manual is desired,
                        #requires pandoc
                        build_manual = FALSE,
                        build_vignettes = TRUE 
                        )
```