Skip to content

remstats

Computes Statistics for Relational Event History Data

v4.0.0 · May 9, 2026 · MIT + file LICENSE

Description

Computes a variety of statistics for relational event models (Meijerink et al., 2023, <doi:10.3758/s13428-022-01821-8>). Relational event models enable researchers to investigate exogenous and endogenous factors, and interactions, influencing the evolution of a time-ordered sequence of events. These models are categorized into tie-oriented models (Butts, C., 2008, <doi:10.1111/j.1467-9531.2008.00203.x>), where the probability of a dyad interacting next is modeled in a single step, and actor-oriented models (Stadtfeld, C., & Block, P., 2017, <doi:10.15195/v4.a14>), which first model the probability of a sender initiating an interaction and subsequently the probability of the sender's choice of receiver. The package is designed to compute a variety of statistics that summarize exogenous and endogenous influences on the event stream for both types of models.

Downloads

CRAN

771

Last 30 days

4278th

2.2K

Last 90 days

5.3K

Last year

Trend: -4.9% (30d vs prior 30d)

r2u CRAN

25

Last 30 days

136

Last 90 days

437

Last year

Trend: -56.9% (30d vs prior 30d)

autoCRAN

3

Last 7 days

12

Last 30 days

3

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running massageExamples to create ‘remstats-Ex.R’ failed
Error in file(out, "wt") : cannot open the connection
Calls: <Anonymous> -> Rd2ex -> file
In addition: Warning message:
In file(out, "wt") :
  cannot open file '/tmp/Rtmphvz6Zt/file146755628ad0a8/maximum.R': No space left on device
Execution halted
 NONE
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 7, 2026
WARNING r-devel-linux-x86_64-debian-gcc

for unstated dependencies in examples

Warning in file(out, "wt") :
  cannot open file '/tmp/RtmprT2mgi/file3fab7a17c98fd3/sp.R': No space left on device
Error in file(out, "wt") : cannot open the connection
Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 17, 2026
ERROR 10 OK · 0 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE May 5, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘remstats-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: FEtype
> ### Title: FEtype
> ### Aliases: FEtype
> 
> ### ** Examples
> 
> history$type <- history$setting
> reh_tie <- remify::remify(history, model = "tie")
> effects <- ~ FEtype()
> remstats(reh = reh_tie, tie_effects = effects)
Error in if (attr(reh, "model") == "tie") { : argument is of length zero
Calls: remstats
Execution halted
ERROR r-devel-linux-x86_64-fedora-clang

examples

Running examples in ‘remstats-Ex.R’ failed
The error most likely occurred in:

> ### Name: FEtype
> ### Title: FEtype
> ### Aliases: FEtype
> 
> ### ** Examples
> 
> history$type <- history$setting
> reh_tie <- remify::remify(history, model = "tie")
> effects <- ~ FEtype()
> remstats(reh = reh_tie, tie_effects = effects)
Error in if (attr(reh, "model") == "tie") { : argument is of length zero
Calls: remstats
Execution halted
ERROR r-devel-linux-x86_64-fedora-gcc

examples

Running examples in ‘remstats-Ex.R’ failed
The error most likely occurred in:

> ### Name: FEtype
> ### Title: FEtype
> ### Aliases: FEtype
> 
> ### ** Examples
> 
> history$type <- history$setting
> reh_tie <- remify::remify(history, model = "tie")
> effects <- ~ FEtype()
> remstats(reh = reh_tie, tie_effects = effects)
Error in if (attr(reh, "model") == "tie") { : argument is of length zero
Calls: remstats
Execution halted
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.1Mb
  sub-directories of 1Mb or more:
    libs   6.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.4Mb
  sub-directories of 1Mb or more:
    libs   6.7Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/remstats.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.1Mb
  sub-directories of 1Mb or more:
    libs   6.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.4Mb
  sub-directories of 1Mb or more:
    libs   6.7Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.1Mb
  sub-directories of 1Mb or more:
    libs   6.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.4Mb
  sub-directories of 1Mb or more:
    libs   6.7Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 9, 2026
ERROR r-devel-linux-x86_64-debian-gcc

whether package can be installed

Installation failed.
See ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/remstats.Rcheck/00install.out’ for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.1Mb
  sub-directories of 1Mb or more:
    libs   6.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.4Mb
  sub-directories of 1Mb or more:
    libs   6.7Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.3Mb
  sub-directories of 1Mb or more:
    libs   6.7Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.4Mb
  sub-directories of 1Mb or more:
    libs   6.7Mb

Code

Structure

Lines of code

21,668

Files

139

Compiled share

46%

Has compiled src

Yes

Language breakdown

R 7,587 (35%)C/C++/src 9,957 (46%)Tests 11 (0.1%)Docs 3,804 (17.6%)Vignettes 309 (1.4%)

API

Exported functions

54

Internal functions

68

Recent export changes

v4.0.0+1 stack_stats

Testing & CI

Has tests

Yes

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

3.3%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

40%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.0.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

6

First release

2023-11-17

Latest release

2026-05-09

Avg cadence

168 days

Cold removal rate

Dep drift

3

LOC over versions

v3.2.0: 15,170 LOCv3.2.1: 15,188 LOCv3.2.2: 15,610 LOCv3.2.4: 15,610 LOCv3.2.5: 15,610 LOCv4.0.0: 21,668 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (3)

depends

imports

suggests

Dependency Network

Dependencies Reverse dependencies Rcpp remify remverse remstimate remify remstats

Version History

7 tracked
updated 4.0.0 ← 3.2.5 diff May 9, 2026
updated 3.2.5 ← 3.2.4 diff Mar 13, 2026
new 3.2.4 Mar 10, 2026
updated 3.2.4 ← 3.2.2 diff Jan 28, 2025
updated 3.2.2 ← 3.2.1 diff May 14, 2024
updated 3.2.1 ← 3.2.0 diff Nov 28, 2023
new 3.2.0 Nov 16, 2023