Package: SmokingHistoryGenerator
Type: Package
Title: R Package for the Smoking History Generator
Version: 7.0.0
Date: 2026-06-13
Authors@R: c(
    person("John", "Clarke", email = "john.clarke@cornerstonenw.com", role = c("aut", "cre"),
           comment = "Author and maintainer of SHG R package wrapper for the SHG"),
    person("Ben", "Racine", role = "aut",
           comment = "Co-author of the original SHG"),
    person("Martin", "Krapcho", role = "aut",
           comment = "Co-author of the original SHG"),
    person("Alexander", "Gaenko", role = "aut",
           comment = "Co-author of the original SHG"),
    person("Makoto", "Matsumoto", role = c("ctb", "cph"),
           comment = "Mersenne Twister mt19937 (src/mersenne_class.*); copyright notice in source"),
    person("Takuji", "Nishimura", role = c("ctb", "cph"),
           comment = "Mersenne Twister mt19937 (src/mersenne_class.*); copyright notice in source"),
    person("Pierre", "L'Ecuyer", role = c("ctb", "cph"),
           comment = "RngStream MRG32k3a (src/RngStream.*); copyright notice in source")
  )
Maintainer: John Clarke <john.clarke@cornerstonenw.com>
Description: Efficient R interface to the Cancer Intervention and Surveillance
    Modeling Network (CISNET) Smoking History Generator microsimulation
    engine, which synthesizes individual smoking histories
    (initiation, cessation, intensity) and ages at death from calibrated
    initiation, cessation, cigarettes-per-day, and mortality tables. The
    wrapper exposes fixed-cohort and population data-frame simulation,
    multi-threaded segmentation, reproducible pseudo-random streams
    (L'Ecuyer RngStream MRG32k3a or Matsumoto--Nishimura Mersenne Twister),
    legacy CLI-style configuration files, and portable YAML configuration
    save/load with optional split smoking and mortality parameter bundles.
    Methods follow Jeon et al. (2012) <doi:10.1111/j.1539-6924.2011.01775.x>.
    Random number generators: Matsumoto and Nishimura (1998)
    <doi:10.1145/272991.272995>; L'Ecuyer (1999) <doi:10.1287/opre.47.1.159>;
    L'Ecuyer et al. (2002) <doi:10.1287/opre.50.6.1073.358>.
RoxygenNote: 7.3.3
URL: https://github.com/NCI-CISNET/shg-r
Imports: methods, Rcpp (>= 1.0.2), yaml
Suggests: testthat (>= 3.0.0), glue, httr2
Config/testthat/edition: 3
LinkingTo: Rcpp
Encoding: UTF-8
License: GPL-3
NeedsCompilation: yes
Packaged: 2026-06-13 21:19:07 UTC; jclarke
Author: John Clarke [aut, cre] (Author and maintainer of SHG R package wrapper
    for the SHG),
  Ben Racine [aut] (Co-author of the original SHG),
  Martin Krapcho [aut] (Co-author of the original SHG),
  Alexander Gaenko [aut] (Co-author of the original SHG),
  Makoto Matsumoto [ctb, cph] (Mersenne Twister mt19937
    (src/mersenne_class.*); copyright notice in source),
  Takuji Nishimura [ctb, cph] (Mersenne Twister mt19937
    (src/mersenne_class.*); copyright notice in source),
  Pierre L'Ecuyer [ctb, cph] (RngStream MRG32k3a (src/RngStream.*);
    copyright notice in source)
Repository: CRAN
Date/Publication: 2026-06-14 06:50:02 UTC
Built: R 4.6.0; aarch64-apple-darwin23; 2026-06-14 09:32:15 UTC; unix
Archs: SmokingHistoryGenerator.so.dSYM
