MassWateR
2.2.1Quality Control and Analysis of Massachusetts Water Quality Data
Overview
Methods for quality control and exploratory analysis of surface water quality data collected in Massachusetts, USA. Functions are developed to facilitate data formatting for the Water Quality Exchange Network https://www.epa.gov/waterdata/water-quality-data-upload-wqx and reporting of data quality objectives to state agencies. Quality control methods are from Massachusetts Department of Environmental Protection (2020) https://www.mass.gov/orgs/massachusetts-department-of-environmental-protection.
- Added the argument
useapitoanlzMWRmap()to retrieve water features (ifTRUE) from the National Hydrography Dataset (NHD) ArcGIS REST API. This option can retrieve water features from anywhere in the United States. DefaultFALSEwill return data for Massachusetts from GitHub as before. - Added
quietargument toanlzMWRmap()to show download progress ifuseapi = TRUE. - Updates vignettes with information about the new feature for
anlzMWRmap() - Added
utilMWRgetnhd()to retrieve NHD features from the API, used internally byanlzMWRmap() - Expanded test coverage to
qcMWRreview()andanlzMWRoutlierall() - jsonlite package removed from dependencies
- Deprecated calls to
sizechanged tolinewidthfor internal calls togeom_hline() - Increase required R version to >= 4.1.0 in DESCRIPTION
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-26
- ERROR12 OK, 1 ERROR2026-08-18
- OK13 OK2026-08-05
Show 8 earlier changesHide 8 earlier changes
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-25
- ERROR12 OK, 1 ERROR2026-06-24
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-04-18
- ERROR13 OK, 1 ERROR2026-04-15
- OK14 OK2026-03-10
Documentation
- Help pages
- 50
- Examples that run
- 100%50 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 11
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
Commits over time
12 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/massbays-tech/masswater on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-11 · The repository has a site deploy workflow
pkgdown site last built 2026-09-11
Show all practicesHide 3 practices
Dependencies
Installing MassWateR adds 96 packages (55 with compiled code, 91 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, ggplot2 6.0 MB.
CRAN will archive these unless their check problems are fixed by the date shown. This package needs each one to install.
- flextablefix by Oct 22
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.2.1Latest
- 2.2.0
- RR 4.5.0 released · 2025-04-11
- 2.1.52024-10-20 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 2.1.42023-11-19 · diff ↗
- 2.1.32023-10-26 · diff ↗
- 2.1.2
- 2.1.12023-07-16 · diff ↗
- 2.1.0
- RR 4.3.0 released · 2023-04-21
- 2.0.2
- 2.0.12023-02-06 · diff ↗
- 2.0.02023-01-20
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2023-01-20
- Total releases
- 11 / 3 yrs
- License
- CC0
- Minimum R
- ≥ 4.1.0
- Bundled data
- 4.1 KB / 4 files
- Download size
- 1.3 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("MassWateR")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1371/journal.pone.0293737.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.