Package: cusna
Type: Package
Title: Native Simulation and Estimation of Network Models
Version: 0.1.1
Authors@R: person("Artem", "Maltsev", email = "MaltsevSNA@proton.me",
    role = c("aut", "cre"))
Author: Artem Maltsev [aut, cre]
Maintainer: Artem Maltsev <MaltsevSNA@proton.me>
Description: A self-contained native engine (a C interface over C++ host
    logic) for stochastic actor-oriented models (the model family of
    'RSiena'), exponential random graph models (cross-sectional, temporal,
    and separable temporal), and models for binary actor attributes,
    callable from R without a Python runtime. The CRAN build is CPU-only
    (C++17, multi-threaded with 'OpenMP'); a 'CUDA' backend implements the
    same interface and is built separately from source. The data
    preparation, host statistics ('RSiena' Appendix B conventions), and
    moment targets are validated bit-for-bit against the reference
    implementation and reproduce 'RSiena' targets on public datasets to
    machine precision; the estimators match 'RSiena', 'ergm', 'btergm', and
    'tergm' on public benchmark models. The method-of-moments estimator
    returns standard fit objects with the simulated networks on request, and
    the simulator also plugs into the unmodified 'RSiena' estimator.
License: MIT + file LICENSE
URL: https://github.com/artemmaltsev74-techcom/cusna
BugReports: https://github.com/artemmaltsev74-techcom/cusna/issues
Encoding: UTF-8
SystemRequirements: C++17
Depends: R (>= 3.5.0)
LinkingTo: cpp11
Imports: stats, utils
Suggests: testthat (>= 3.0.0), jsonlite, litedown, RSiena (>= 1.4)
VignetteBuilder: litedown
LazyData: true
Config/testthat/edition: 3
NeedsCompilation: yes
Packaged: 2026-10-27 19:42:51 UTC; root
Repository: CRAN
Date/Publication: 2026-10-29 12:10:02 UTC
