Skip to content

wcswatin

0.2.0Package record

Weather and Climate Inputs for 'SWAT'

0packages depend
1Kdownloads / year
94.4%test coverage
13/13flavors OK

Overview

About

Provides workflows to prepare weather and climate time series from gridded and station data for 'SWAT' ('Soil and Water Assessment Tool'). Supports data extraction, aggregation, interpolation, quality control, unit conversion, and export of per-location model input files. For the underlying model, see Arnold et al. (1998) "Large Area Hydrologic Modeling and Assessment Part I: Model Development" doi:10.1111/j.1752-1688.1998.tb05961.x.

Changes in 0.2.0

Breaking changes

  • Removed the superseded raster package dependency and standardized spatial raster workflows on terra and SpatRaster.
  • ts_to_area() now returns a multi-layer SpatRaster and preserves input file stems as layer names, such as 2020-01-01.
  • input_raster() no longer accepts legacy RasterLayer, RasterStack, or RasterBrick objects. Convert these objects with terra::rast() before passing them to wcswatin.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK6 OK2026-07-20
Advisories

none known

Documentation

In release 0.2.0
READMEYes · 783 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.2.0Citation fileNoWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
32 (6 internal)includes a package overview page
Examples that run
100%9 run in a plain check
Exported functions with examples
38%
Documented parameters
99%
Return-value docs
100%
Help pages citing references
3%

Downloads

1K
CRAN downloads in the past year
Rank #12,028 · ~3/day · ~85/mo
Daily download trend is not available in this view yet.
29430 days
91990 days
1K1 year
Compare downloads with other packages →
Also on21 r2u

Repository

0Stars
0Forks
0Open issues
0Open PRs
4Releases
208Commits
3Commit identities
License file reads as GPL-3.0 · 208 commits · Last activity 2026-09-12 · Default branch at 0.2.0.9000, ahead of CRAN 0.2.0 (checked 2026-10-22)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
0

Releases over time

2026-07-20 · 22026-09-13 · 4
PracticesBeta

13 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/reginalexavier/wcswatin on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-12 · The repository has a site deploy workflow

pkgdown site last built 2026-09-12

Coverage (1)
Coverage reporting
CRAN release process (1)
cran-comments.md
Show all practicesHide 2 practices
Automation and maintenance (2)
Dependabotpre-commit
Lint, format, editor (3)
lintrAirRStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)

Installing wcswatin adds 58 packages (36 with compiled code, 63 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, ggplot2 6.0 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 0.1.1 (2026)
Releases (2)

Pick two releases to compare their code metrics.

  • 0.2.0Latest
    record
    2026-09-11 · current release · diff ↗
  • 0.1.1
    record
    2026-07-19
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-07-19
Total releases
2 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.1.0
Download size
2.4 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("wcswatin")
Exavier, R., Kawakubo, F. S., & Zeilhofer, P. (2026). wcswatin: Weather and Climate Inputs for 'SWAT' (Version 0.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.wcswatin

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for wcswatin version 0.2.0 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy