Skip to content

statnet.common

4.13.0Package record

Common R Scripts and Utilities Used by the Statnet Project Software

25packages dependsuggested by 2
411.5Kdownloads / year
–test coverage
0/13flavors OK

Overview

About

Non-statistical utilities used by the software developed by the Statnet Project. They may also be of use to others.

Changes in 4.13.0

New utilities

  • New testthat predicate, skip_if_not_checking(), that skips the test if it's not part of an R CMD check, e.g., if run by testthat::test_local().
  • New function, enlist() to wrap an object into a singleton list if it's not already a list, for various definitions of "list".
  • New function, which_top_n(), to return the indices of top or bottom n elements of a vector, with several methods for resolving ties.
  • New function, split_len() to split a split()-able object by lengths.

Enhancements to existing utilities

  • term_list objects now have envir(), envir<-(), sign(), and sign<-() methods to better encapsulate their environment and sign information.
  • ERRVL*() functions if not given any non-erroring expressions now throw the last error rather than a generic message.

From NEWS.md in the release

Install

Health

CRAN checks
13NOTE
Check messages
NOTER code for possible problemsr-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

r-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-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64

Found the following possibly unsafe calls:
File ‘statnet.common/R/control.utilities.R’:
  unlockBinding("snctrl", environment(snctrl))
  unlockBinding("snctrl", environment(update_my_snctrl))

r-devel-windows-x86_64, r-oldrel-windows-x86_64, r-release-windows-x86_64

Found the following possibly unsafe calls:
File 'statnet.common/R/control.utilities.R':
  unlockBinding("snctrl", environment(snctrl))
  unlockBinding("snctrl", environment(update_my_snctrl))

CRAN check page ↗

Slowest check: 2.5 min · r-devel-windows-x86_64
Status changes
  • NOTE13 NOTE2026-06-09
  • WARNING12 NOTE, 1 WARNING2026-06-08
  • NOTE14 NOTE2026-03-10
Advisories

none known

Documentation

In release 4.13.0
README· In the repository, left out of the releaseVignettesNoNEWSYes · 100% structured · mentions 4.13.0Citation fileYes · computed when R runs itWebsiteYes
Help pages
61
Examples that run
91%39 run in a plain check · 4 never run
Exported functions with examples
73%
Documented parameters
80%
Return-value docs
70%
Help pages citing references
0%

Downloads

411.5K
CRAN downloads in the past year
Rank #646 · ~1.1K/day · ~34.3K/mo
Daily download trend is not available in this view yet.
28.5K30 days
88.2K90 days
411.5K1 year
Compare downloads with other packages →
Also on5.7K r2u11 autocran15K conda_forge179 c2d4u

Repository

10Stars
5Forks
3Open issues
0Open PRs
0Releases
416Commits
5Commit identities
416 commits · Last activity 2026-09-21 · 0% stars, 30d · Default branch at 4.14.0-526, ahead of CRAN 4.13.0 (checked 2026-10-11) · Discussions: 1 post
Responsiveness
How these are sampled
PRs merged (all time)
70%
Median days to close, 50 most recently updated closed issues
8
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-05-13 · 92026-07-07 · 10
PracticesBeta

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

Checks run against github.com/statnet/statnet.common 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 (Codecov)
CRAN release process (1)
revdep/
Lint, format, editor (2)
Lint workflowRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing statnet.common adds 1 package (0 with compiled code, 73 KB of source tarballs). Heaviest: coda 73 KB.

Depends (1)
R >= 4.1
Imports (6)
utilsmethodscodaparalleltoolsMatrix
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
25direct
119indirect
Depends 2 · Imports 23
Suggested by 2
Show all 27 packagesHide all 27 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (4)
Author, Maintainer since 3.1-0 (2013)
University of New South Wales
Contributor · added in 3.3.0
Contributor · added in 4.12.0
Contributor · added in 4.5.0
University of Washington
Listed in earlier versions (1)
Pavel N.
no longer listed · 4.9.0 to 4.13.0
Releases (20)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 4.13.0Latest
    record
    2025-12-16 · current release · diff ↗ ·
    added 7 exports
    envir<-, sign<-, enlist, envir, skip_if_not_checking, split_len, which_top_n
  • 4.12.0
    record
    2025-05-30 · diff ↗ ·
    added 14 exports
    replace<-, ERRVL2, ERRVL3, arr_from_coo, arr_to_coo, match_names, qrsolve, qrssolve, replace, sandwich_ginv, sandwich_qrsolve, sandwich_qrssolve, sandwich_sginv, set_diag
  • R
    R 4.5.0 released · 2025-04-11
  • 4.11.0
    record
    2025-01-08 · diff ↗ ·
    added 2 exports
    log1mexp, modify_in_place
  • 4.10.0
    record
    2024-10-06 · diff ↗ ·
    added 4 exports
    ginv_eigen, var.mcmc.list, xTAx_eigen, xTAx_seigen
  • R
    R 4.4.0 released · 2024-04-24
  • 4.9.0
    record
    2023-05-24 · diff ↗ ·
    added 14 exports
    is.SPD, lweighted.cov, sandwich_solve, sandwich_ssolve, sginv, snearPD, srcond, ssolve, xAxT, xTAx, xTAx_qrsolve, xTAx_qrssolve, xTAx_solve, xTAx_ssolve
  • R
    R 4.3.0 released · 2023-04-21
  • 4.8.0
    record
    2023-01-24 · diff ↗ ·
    added 1 export
    unused_dots_warning
  • 4.7.0
    record
    2022-09-08 · diff ↗ ·
    added 2 exports
    as.term_list, term_list
  • 4.6.0
    record
    2022-05-02 · diff ↗ ·
    added 1 export
    Welford
  • R
    R 4.2.0 released · 2022-04-22
  • 4.5.0
    record
    2021-06-05 · diff ↗ ·
    removed 3 exports
    as.rle, compact.rle, compress
    added 16 exports
    COLLATE_ALL_MY_CONTROLS_EXPR, UPDATE_MY_SCTRL_EXPR, as.control.list, attr, base_env, collate_controls, default_options, empty_env, fixed.pval, handle.controls, locate_function, locate_prefixed_function, simplify_simple, snctrl, snctrl_names, update_snctrl
  • R
    R 4.1.0 released · 2021-05-18
  • 4.4.1
    record
    2020-10-03 · diff ↗ ·
    removed 3 exports
    binop.rle, compress.data.frame, decompress.data.frame
    added 3 exports
    compress, deInf, trim_env
Show 19 earlier eventsHide 19 earlier events
  • R
    R 4.0.0 released · 2020-04-24
  • 4.3.0
    record
    2019-06-02 · diff ↗ ·
    added 7 exports
    EVL<-, EVL, EVL2, EVL3, once, persistEval, persistEvalQ
  • R
    R 3.6.0 released · 2019-04-26
  • 4.2.0
    record
    2019-01-08 · diff ↗ ·
    added 5 exports
    ult<-, .Deprecate_method, .Deprecate_once, forkTimeout, ult
  • 4.1.4
    record
    2018-06-22 · diff ↗
  • 4.1.2
    record
    2018-06-05 · diff ↗ ·
    added 15 exports
    NVL2, NVL3, append_rhs.formula, as.rle, colMeans.mcmc.list, despace, eval_lhs.formula, filter_rhs.formula, lapply.mcmc.list, list_rhs.formula, list_summands.call, message_print, nonsimp_update.formula, sweep.mcmc.list, unwhich
  • R
    R 3.5.0 released · 2018-04-23
  • 4.0.0
    record
    2017-08-16 · diff ↗ ·
    removed 1 export
    pattern:^[^\\.]
    added 40 exports
    NVL<-, lrowweights<-, rowweights<-, ERRVL, NVL, all_identical, append.rhs.formula, as.linwmatrix, as.logwmatrix, binop.rle, check.control.class, compact.rle, compress.data.frame, compress_rows, control.remap, decompress.data.frame, decompress_rows, is.linwmatrix, is.logwmatrix, is.wmatrix, linwmatrix, log_mean_exp, log_sum_exp, logwmatrix, lrowweights, lweighted.mean, lweighted.var, nonsimp.update.formula, opttest, order and 10 more
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 3.3.0
    record
    2015-10-24 · diff ↗
  • 3.2.3
    record
    2015-08-05 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 3.2.2
    record
    2014-12-09 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 3.1.1
    record
    2013-11-28 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 3.1-0
    record
    2013-03-06
  • R
    R 2.15.0 released · 2012-03-30

Package metadata

First published
2013-03-06
Total releases
20 / 13 yrs
License
GPL-3 + file LICENSE OSI
Minimum R
≥ 4.1
Download size
92 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("statnet.common")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

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

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