Skip to content

The Variable Infiltration Capacity (VIC) Hydrological Model

0packages depend
2.9Kdownloads / year
39.4%test coverage
0/13flavors OK

Overview

About

The Variable Infiltration Capacity (VIC) model is a macroscale hydrologic model that solves full water and energy balances, originally developed by Xu Liang at the University of Washington (UW). The version of VIC source code used is of 5.0.1 on https://github.com/UW-Hydro/VIC/, see Hamman et al. (2018). Development and maintenance of the current official version of the VIC model at present is led by the UW Hydro (Computational Hydrology group) in the Department of Civil and Environmental Engineering at UW. VIC is a research model and in its various forms it has been applied to most of the major river basins around the world, as well as globally http://vic.readthedocs.io/en/master/Documentation/References/. References: "Liang, X., D. P. Lettenmaier, E. F. Wood, and S. J. Burges (1994), A simple hydrologically based model of land surface water and energy fluxes for general circulation models, J. Geophys. Res., 99(D7), 14415-14428, doi:10.1029/94JD00483"; "Hamman, J. J., Nijssen, B., Bohn, T. J., Gergel, D. R., and Mao, Y. (2018), The Variable Infiltration Capacity model version 5 (VIC-5): infrastructure improvements for new applications and reproducibility, Geosci. Model Dev., 11, 3481-3496, doi:10.5194/gmd-11-3481-2018".

Changes in 0.2.6
  • change sprintf to snprintf

From NEWS.md in the release

Install

Health

CRAN checks
13NOTE
Check messages
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) vic_param.Rd:311: Lost braces
   311 | albedo must be supplied in code{forcing_veg}. Default = 1.}
       |                                ^
checkRd: (-1) vic_param.Rd:323: Lost braces
   323 | supplied in code{forcing_veg}. Default = 1.}
       |                 ^
checkRd: (-1) vic_param.Rd:341: Lost braces
   341 | be supplied in code{forcing_veg} Default = 0.}
       |                    ^

CRAN check page ↗

Slowest check: 5.2 min · r-devel-windows-x86_64
Status changes
  • NOTE13 NOTENow
  • NOTE14 NOTE2026-04-22
  • ERROR13 NOTE, 1 ERROR2026-04-18
  • NOTE14 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.2.6
READMEYes · 376 wordsVignettesNoNEWSYes · 100% structured · mentions 0.2.6Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
9 (1 internal)includes a package overview page
Examples that run
100%1 run in a plain check
Exported functions with examples
17%
Documented parameters
100%
Return-value docs
67%
Help pages citing references
56%

Downloads

2.9K
CRAN downloads in the past year
Rank #12,942 · ~8/day · ~239/mo
Daily download trend is not available in this view yet.
33030 days
86890 days
2.9K1 year
Compare downloads with other packages →
Also on353 r2u6 autocran111 c2d4u

Repository

Moved from rpkgs/vic5.

10Stars
3Forks
0Open issues
0Open PRs
1Releases
49Commits
3Commit identities
License file reads as GPL-3.0 · 49 commits · Last activity 2026-01-23 · 0% stars, 30d · Default branch at 0.2.7, ahead of CRAN 0.2.6 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
14
Median days to close, 50 most recently updated closed PRs
32

Stars over time

2024-09-18 · 82026-07-07 · 10
PracticesBeta

7 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/rpkgs/vic5 on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Coverage (1)
Coverage reporting
Reproducibility and dev environment (1)
Makefile
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (2)
VS CodeRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing VIC5 adds 8 packages (4 with compiled code, 4.0 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppArmadillo 1.0 MB, lubridate 420 KB.

Depends (1)
R >= 3.6.0
Imports (5)
LinkingTo (2)
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (7)
Author, Maintainer since 0.2.2 (2021)
Author, Contributor
Author, Contributor
Author, Contributor
Author, Contributor
Contributor
Contributor
Contributor and maintainer of VIC source code
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.6Latest
    record
    2023-02-17 · current release · diff ↗
  • 0.2.5
    record
    2022-10-28 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.4
    record
    2021-12-08 · diff ↗ ·
    added 2 exports
    XAJ, XAJ.param.range
  • 0.2.3
    record
    2021-09-13 · diff ↗
  • 0.2.2
    record
    2021-09-13
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-09-13
Total releases
5 / 5 yrs
License
GPL-3 OSI
Copyright
See inst/COPYRIGHTS in the package
Minimum R
≥ 3.6.0
Bundled data
455 KB / 2 files
Download size
765 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("VIC5")
Kong, D., Chen, X., Cherkauer, K., Hamman, J. J., Lai, C., Wang, Z., & Zhong, R. (2023). VIC5: The Variable Infiltration Capacity (VIC) Hydrological Model (Version 0.2.6) [Computer software]. https://doi.org/10.32614/CRAN.package.VIC5

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 VIC5 version 0.2.6 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, 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