R-CMD-check pkgdown Codecov test coverage parambuild CRAN status

R package for working with Massachusetts surface water quality data, created in partnership by the Mass Bays National Estuary Partnership.

Please cite the package as:

Beck, M.W., Wetherill, B., Carr, J. 2023. MassWateR: Improving Quality Control, Analysis, and Sharing of Water Quality Data. PLOS ONE. 18(11):e0293737. doi: 10.1371/journal.pone.0293737


The package can be installed as follows:

# Install the package

Windows PC users may encounter the following warning when installing MassWateR.

WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

This warning can be ignored for the MassWateR solution. If desired, RTools can be obtained following the instructions here.

Using the package

Please see the vignette articles for an overview of how to use functions in the MassWateR package. The vignettes are organized topically as follows:

In addition to the content on this web page, the MassWateR Community of Practice forum is a space for users to find help, share ideas, and suggest improvements for the package. Please follow the link to register and login to the forum.

Issues and help

Please report any issues (bugs or errors) on the issues link for the repository. Please visit the Community of Practice forum for general questions, help, sharing ideas, or to suggest package improvements.


Please view our contributing guidelines for any changes or pull requests.

Code of Conduct

Please note that the MassWateR project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.