Skip to content

tergm

4.2.2

Fit, Simulate and Diagnose Models for Network Evolution Based on Exponential-Family Random Graph Models

6packages depend
45.4Kdownloads / year
87.1%test coverage
8/13checks pass

Overview

About
Maintained by Pavel N. KrivitskyFirst published 2013-04-2720 releasesCRAN page ↗GitHub ↗

An integrated set of extensions to the 'ergm' package to analyze and simulate network evolution based on exponential-family random graph models (ERGM). 'tergm' is a part of the 'statnet' suite of packages for network analysis. See Krivitsky and Handcock (2014) doi:10.1111/rssb.12014 and Carnegie, Krivitsky, Hunter, and Goodreau (2015) doi:10.1080/10618600.2014.903087.

Install

Health

CRAN checks
5NOTE8OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
Slowest check: 8.2 min · r-devel-linux-x86_64-debian-clang
Code health
Yes
Tests · ratio 0.90
87.1%
Coverage · measured lines
100%
Documentation · exports
12
Dependencies · direct
Check history
  • NOTE2026-07-16
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-04
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 3 earlier snapshots
  • OK2026-04-24
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-22
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
60%
Documented parameters
80%
Return-value docs
85%
References docs
13%

Downloads

45.4K
CRAN downloads in the past year
Rank #2,853 · ~124/day · ~3.8K/mo
Daily download trend is not available in this view yet.
1.5K30 days
5.1K90 days
45.4K1 year
Compare downloads with other packages →
Also on636 r2u21 autocran6.2K conda_forge70 c2d4u

Repository

Repository
31Stars
8Forks
24Open issues
1Open PRs
0Releases
2,359Commits
18Contributors
2,359 commits · Last activity 2026-05-21 · 0% stars, 30d

Stars over time

2025-01-26 · 272026-07-07 · 31

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/statnet/tergm on 2026-08-16.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
revdep/
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Development tooling

AI-assisted toolingBeta

Uses AI-assisted development tooling (declared in repo)

Earliest detected marker: copilot on 2026-04-09

copilot

Most recent: copilot on 2026-04-09

Evidence
  • copilot: on 2026-04-09 · evidence A, PR · sole bot-author seen
How this is detected·Detection ruleset v2 (updated 2026-07-29)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)
Imports (9)
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
6direct
0indirect

Code & Tests

People & History

People (13)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author, Thesis advisor
Contributors (11)
Contributor · added in 3.1.2
Contributor
Contributor, Thesis advisor
Contributor
Contributor · added in 3.7.0
Contributor · added in 4.2.1
Contributor
Show 3 more contributors
Contributor · added in 3.2.3
Contributor, Thesis advisor
Contributor · added in 3.2.3
Listed in earlier versions (6)
no longer listed · 4.2.0 to 4.2.2
no longer listed · 4.2.0 to 4.2.2
no longer listed · 4.2.0 to 4.2.2
no longer listed · 4.2.0 to 4.2.2
no longer listed · 4.2.0 to 4.2.2
no longer listed · 4.2.0 to 4.2.2
Package Timeline

20 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 4.2.2Latest
    2025-06-15 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 4.2.1
    2024-10-08 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 4.2.0
    2023-05-30 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 4.1.1
    2022-11-08 · diff ↗
  • 4.1.0
    2022-06-22 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 4.0.2
    2021-07-28 · diff ↗
  • 4.0.1
    2021-06-24 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 3.7.0
    2020-10-15 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 3.6.1
    2019-06-12 · diff ↗
Show 18 earlier events
  • 3.6.0
    2019-05-15 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 3.5.2
    2018-08-18 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 3.4.1
    2017-09-12 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 3.4.0
    2016-03-28 · diff ↗
  • 3.3.1
    2015-10-25 · diff ↗
  • 3.3.0
    2015-06-16 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 3.2.4
    2014-12-15 · diff ↗
  • 3.2.3
    2014-12-11 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 3.1.4
    2014-01-22 · diff ↗
  • 3.1.2
    2013-11-28 · diff ↗
  • 3.1-0
    2013-04-27
  • R
    R 3.0.0 released · 2013-04-03

Package metadata

First published
2013-04-27
Total releases
20 / 13 yrs
License
GPL-3 + file LICENSE OSI
Download size
242 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("tergm")
Krivitsky, P. N., Bender-deMoll, S., Butts, C. T., Carnegie, N. B., Goodreau, S. M., Handcock, M. S., Hunter, D. R., Klumb, C., Le Guillou, A., Leslie-Cook, A., Li, K., Morris, M., & Wang, L. (2025). tergm: Fit, Simulate and Diagnose Models for Network Evolution Based on Exponential-Family Random Graph Models (Version 4.2.2) [Computer software]. https://doi.org/10.32614/CRAN.package.tergm

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 tergm version 4.2.2 [Data set]. HJJB, LLC. Data release v2026-08-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-21, 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