remstats
Computes Statistics for Relational Event History Data
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
771
Last 30 days
4278th
2.2K
Last 90 days
5.3K
Last year
Trend: -4.9% (30d vs prior 30d)
25
Last 30 days
136
Last 90 days
437
Last year
Trend: -56.9% (30d vs prior 30d)
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
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
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
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
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
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
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
installed package size
installed size is 7.1Mb
sub-directories of 1Mb or more:
libs 6.5Mb
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
whether package can be installed
Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/remstats.Rcheck/00install.out' for details.
installed package size
installed size is 7.1Mb
sub-directories of 1Mb or more:
libs 6.5Mb
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
installed package size
installed size is 7.1Mb
sub-directories of 1Mb or more:
libs 6.5Mb
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
whether package can be installed
Installation failed. See ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/remstats.Rcheck/00install.out’ for details.
installed package size
installed size is 7.1Mb
sub-directories of 1Mb or more:
libs 6.5Mb
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
installed package size
installed size is 7.3Mb
sub-directories of 1Mb or more:
libs 6.7Mb
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
API
Exported functions
54
Internal functions
68
Recent export changes
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
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.