{
  "_id": "6a3449563efcd9bda43c1ed5",
  "Package": "SmokingHistoryGenerator",
  "Type": "Package",
  "Title": "R Package for the Smoking History Generator",
  "Version": "7.0.0",
  "Date": "2026-06-13",
  "Authors@R": "c(\nperson(\"John\", \"Clarke\", email = \"john.clarke@cornerstonenw.com\", role = c(\"aut\", \"cre\"),\ncomment = \"Author and maintainer of SHG R package wrapper for the SHG\"),\nperson(\"Ben\", \"Racine\", role = \"aut\",\ncomment = \"Co-author of the original SHG\"),\nperson(\"Martin\", \"Krapcho\", role = \"aut\",\ncomment = \"Co-author of the original SHG\"),\nperson(\"Alexander\", \"Gaenko\", role = \"aut\",\ncomment = \"Co-author of the original SHG\"),\nperson(\"Makoto\", \"Matsumoto\", role = c(\"ctb\", \"cph\"),\ncomment = \"Mersenne Twister mt19937 (src/mersenne_class.*); copyright notice in source\"),\nperson(\"Takuji\", \"Nishimura\", role = c(\"ctb\", \"cph\"),\ncomment = \"Mersenne Twister mt19937 (src/mersenne_class.*); copyright notice in source\"),\nperson(\"Pierre\", \"L'Ecuyer\", role = c(\"ctb\", \"cph\"),\ncomment = \"RngStream MRG32k3a (src/RngStream.*); copyright notice in source\")\n)",
  "Maintainer": "John Clarke <john.clarke@cornerstonenw.com>",
  "Description": "Efficient R interface to the Cancer Intervention and\nSurveillance Modeling Network (CISNET) Smoking History\nGenerator microsimulation engine, which synthesizes individual\nsmoking histories (initiation, cessation, intensity) and ages\nat death from calibrated initiation, cessation,\ncigarettes-per-day, and mortality tables. The wrapper exposes\nfixed-cohort and population data-frame simulation,\nmulti-threaded segmentation, reproducible pseudo-random streams\n(L'Ecuyer RngStream MRG32k3a or Matsumoto--Nishimura Mersenne\nTwister), legacy CLI-style configuration files, and portable\nYAML configuration save/load with optional split smoking and\nmortality parameter bundles. Methods follow Jeon et al. (2012)\n<doi:10.1111/j.1539-6924.2011.01775.x>. Random number\ngenerators: Matsumoto and Nishimura (1998)\n<doi:10.1145/272991.272995>; L'Ecuyer (1999)\n<doi:10.1287/opre.47.1.159>; L'Ecuyer et al. (2002)\n<doi:10.1287/opre.50.6.1073.358>.",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "URL": "https://github.com/NCI-CISNET/shg-r",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "License": "GPL-3",
  "Repository": "https://nci-cisnet.r-universe.dev",
  "Date/Publication": "2026-06-18 17:54:56 UTC",
  "RemoteUrl": "https://github.com/nci-cisnet/shg-r",
  "RemoteRef": "HEAD",
  "RemoteSha": "add4ae93732dec6ec99cfef9508ce39758f40168",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-18 19:33:12 UTC",
    "User": "root"
  },
  "Author": "John Clarke [aut, cre] (Author and maintainer of SHG R package wrapper\nfor the SHG),\nBen Racine [aut] (Co-author of the original SHG),\nMartin Krapcho [aut] (Co-author of the original SHG),\nAlexander Gaenko [aut] (Co-author of the original SHG),\nMakoto Matsumoto [ctb, cph] (Mersenne Twister mt19937\n(src/mersenne_class.*); copyright notice in source),\nTakuji Nishimura [ctb, cph] (Mersenne Twister mt19937\n(src/mersenne_class.*); copyright notice in source),\nPierre L'Ecuyer [ctb, cph] (RngStream MRG32k3a (src/RngStream.*);\ncopyright notice in source)",
  "MD5sum": "f5d86464188513028432969576e07bbf",
  "_user": "nci-cisnet",
  "_type": "src",
  "_file": "SmokingHistoryGenerator_7.0.0.tar.gz",
  "_fileid": "3c6052c0cb74b9e95d7bf932d8e4cc031e091a395e3f3b497d3763ae378a3f9f",
  "_filesize": 492911,
  "_sha256": "3c6052c0cb74b9e95d7bf932d8e4cc031e091a395e3f3b497d3763ae378a3f9f",
  "_created": "2026-06-18T19:33:12.000Z",
  "_published": "2026-06-18T19:39:02.063Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82217223016,
      "time": 152,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7733861508"
    },
    {
      "job": 82217223094,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7733855680"
    },
    {
      "job": 82217223028,
      "time": 130,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7733853910"
    },
    {
      "job": 82217223054,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7733852113"
    },
    {
      "job": 82217223074,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7733843582"
    },
    {
      "job": 82217223045,
      "time": 170,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7733866949"
    },
    {
      "job": 82217223048,
      "time": 132,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7733853582"
    },
    {
      "job": 82217223019,
      "time": 295,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7733911271"
    },
    {
      "job": 82216673572,
      "time": 178,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7733806319"
    },
    {
      "job": 82217222991,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7733843057"
    },
    {
      "job": 82217223093,
      "time": 131,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7733853181"
    },
    {
      "job": 82217223090,
      "time": 124,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7733851129"
    },
    {
      "job": 82217223096,
      "time": 158,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7733862309"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nci-cisnet/actions/runs/27784229291",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/nci-cisnet/shg-r",
  "_commit": {
    "id": "add4ae93732dec6ec99cfef9508ce39758f40168",
    "author": "Jamie Tam <jamie.tam@rutgers.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "corrected email",
    "time": 1781805296
  },
  "_maintainer": {
    "name": "John Clarke",
    "email": "john.clarke@cornerstonenw.com",
    "login": "john-clarke",
    "description": "Maker at @CSNW | interested in interactive, data-driven decision tools",
    "uuid": 1505085
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.2",
      "role": "Imports"
    },
    {
      "package": "yaml",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "glue",
      "role": "Suggests"
    },
    {
      "package": "httr2",
      "role": "Suggests"
    }
  ],
  "_owner": "nci-cisnet",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-27",
      "n": 2
    },
    {
      "week": "2025-46",
      "n": 1
    },
    {
      "week": "2025-47",
      "n": 3
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2026-01",
      "n": 5
    },
    {
      "week": "2026-18",
      "n": 3
    },
    {
      "week": "2026-19",
      "n": 16
    },
    {
      "week": "2026-21",
      "n": 2
    },
    {
      "week": "2026-23",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.0.2-beta",
      "date": "2026-01-02"
    },
    {
      "name": "v0.0.2",
      "date": "2026-05-01"
    },
    {
      "name": "v6.5.2",
      "date": "2026-05-04"
    },
    {
      "name": "v6.5.2-1.0.0",
      "date": "2026-05-06"
    },
    {
      "name": "v6.5.3-1.0.0",
      "date": "2026-05-19"
    },
    {
      "name": "v7.0.0",
      "date": "2026-06-15"
    }
  ],
  "_topics": [
    "shg",
    "cpp"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "john-clarke",
      "count": 529,
      "uuid": 1505085
    },
    {
      "user": "copilot",
      "count": 5,
      "uuid": 198982749
    },
    {
      "user": "m-morton",
      "count": 2,
      "uuid": 97915755
    },
    {
      "user": "jamietam",
      "count": 1,
      "uuid": 6785825
    },
    {
      "user": "mwfrost",
      "count": 1,
      "uuid": 201835
    }
  ],
  "_userbio": {
    "uuid": 58011683,
    "type": "organization",
    "name": "Cancer Intervention and Surveillance Modeling Network (CISNET)",
    "followers": 13,
    "description": "CISNET is a consortium of NCI-sponsored investigators who use simulation modeling to improve our understanding of cancer control interventions."
  },
  "_downloads": {
    "count": 134,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SmokingHistoryGenerator"
  },
  "_devurl": "https://github.com/nci-cisnet/shg-r",
  "_searchresults": 22,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/SmokingHistoryGenerator.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/nci-cisnet/shg-r",
  "_realowner": "nci-cisnet",
  "_cranurl": true,
  "_releases": [
    {
      "version": "6.5.3-1.0.1",
      "date": "2026-06-12"
    },
    {
      "version": "7.0.0",
      "date": "2026-06-14"
    }
  ],
  "_exports": [
    "clear_params_cache",
    "shg_apply_config",
    "shg_clear_params_cache",
    "shg_config_bundle",
    "shg_load_config",
    "shg_load_params",
    "shg_params_cache_dir",
    "shg_params_summary",
    "shg_reset_defaults",
    "shg_run",
    "shg_save_config",
    "shg_use_config_bundle",
    "shg_write_config_yaml",
    "SHGInterface"
  ],
  "_help": [
    {
      "page": "SmokingHistoryGenerator-package",
      "title": "R Package for the Smoking History Generator",
      "topics": [
        "SmokingHistoryGenerator-package",
        "SmokingHistoryGenerator"
      ]
    },
    {
      "page": "get_data_shape",
      "title": "get_data_shape method",
      "topics": [
        "get_data_shape"
      ]
    },
    {
      "page": "getConfig",
      "title": "Get SHG Configuration",
      "topics": [
        "getConfig"
      ]
    },
    {
      "page": "getReproConfig",
      "title": "Get Reproducibility Configuration",
      "topics": [
        "getReproConfig"
      ]
    },
    {
      "page": "LegacyRunWebVersion",
      "title": "LegacyRunWebVersion method",
      "topics": [
        "LegacyRunWebVersion"
      ]
    },
    {
      "page": "Rcpp_SHGInterface",
      "title": "Rcpp SHG Interface Class",
      "topics": [
        "Rcpp_SHGInterface"
      ]
    },
    {
      "page": "Rcpp_SHGInterface-class",
      "title": "Class '\"Rcpp_SHGInterface\"'",
      "topics": [
        "Rcpp_SHGInterface-class"
      ]
    },
    {
      "page": "runSimFromDataFrame",
      "title": "runSimFromDataFrame method",
      "topics": [
        "runSimFromDataFrame"
      ]
    },
    {
      "page": "runSimFromFixedValues",
      "title": "runSimFromFixedValues method",
      "topics": [
        "runSimFromFixedValues"
      ]
    },
    {
      "page": "shg_apply_config",
      "title": "Apply a sparse or complete configuration (defaults first, then overlay)",
      "topics": [
        "shg_apply_config"
      ]
    },
    {
      "page": "shg_clear_params_cache",
      "title": "Clear the SHG parameter cache",
      "topics": [
        "clear_params_cache",
        "shg_clear_params_cache"
      ]
    },
    {
      "page": "shg_config_bundle",
      "title": "Build a config list suitable for inspection or advanced serialization",
      "topics": [
        "shg_config_bundle"
      ]
    },
    {
      "page": "shg_load_config",
      "title": "Load engine state and parameters from a YAML config file",
      "topics": [
        "shg_load_config",
        "shg_use_config_bundle"
      ]
    },
    {
      "page": "shg_load_params",
      "title": "Load SHG smoking and mortality parameter bundles and configure the instance",
      "topics": [
        "shg_load_params"
      ]
    },
    {
      "page": "shg_params_cache_dir",
      "title": "Return the directory where downloaded parameter sets are cached",
      "topics": [
        "shg_params_cache_dir"
      ]
    },
    {
      "page": "shg_params_summary",
      "title": "Summarize currently configured SHG parameter tables",
      "topics": [
        "shg_params_summary"
      ]
    },
    {
      "page": "shg_reset_defaults",
      "title": "Reset an SHG instance to factory defaults",
      "topics": [
        "shg_reset_defaults"
      ]
    },
    {
      "page": "shg_run",
      "title": "Run a fixed cohort simulation from a config list",
      "topics": [
        "shg_run"
      ]
    },
    {
      "page": "shg_save_config",
      "title": "Save a portable reproducibility config as YAML",
      "topics": [
        "shg_save_config"
      ]
    },
    {
      "page": "shg_write_config_yaml",
      "title": "Write a configuration list to YAML",
      "topics": [
        "shg_write_config_yaml"
      ]
    },
    {
      "page": "SHGInterface",
      "title": "SHGInterface",
      "topics": [
        "SHGInterface"
      ]
    },
    {
      "page": "useConfig",
      "title": "Use SHG Configuration",
      "topics": [
        "useConfig"
      ]
    }
  ],
  "_readme": "https://github.com/nci-cisnet/shg-r/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp",
    "yaml"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 4.643452676486188,
  "_indexed": true,
  "_nocasepkg": "smokinghistorygenerator",
  "_universes": [
    "nci-cisnet",
    "john-clarke"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "7.0.0",
      "date": "2026-06-18T19:35:47.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "add4ae93732dec6ec99cfef9508ce39758f40168",
      "fileid": "1f46886bd0cca857bb1994c32ebbe3bda3937af3281cf5e07c8a574d0e8ba33a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nci-cisnet/actions/runs/27784229291"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "7.0.0",
      "date": "2026-06-18T19:35:25.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "add4ae93732dec6ec99cfef9508ce39758f40168",
      "fileid": "c6fb53ef7256e3226c9b5d5084e4e5f0d4d05327c012733c581942da2011543d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nci-cisnet/actions/runs/27784229291"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "7.0.0",
      "date": "2026-06-18T19:35:24.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "add4ae93732dec6ec99cfef9508ce39758f40168",
      "fileid": "b1d720834121d671c81833f9cfd60d18084e598323f2b29cbe0f2fb44076f58a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nci-cisnet/actions/runs/27784229291"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "7.0.0",
      "date": "2026-06-18T19:35:17.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "add4ae93732dec6ec99cfef9508ce39758f40168",
      "fileid": "78949fe8bec1e7edd643f66f4197de4d6bc478a56a1599a165f04a66532c52fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nci-cisnet/actions/runs/27784229291"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "7.0.0",
      "date": "2026-06-18T19:35:00.000Z",
      "arch": "aarch64",
      "commit": "add4ae93732dec6ec99cfef9508ce39758f40168",
      "fileid": "c9cbc0f6f012d51e3167fc4ec3bc0e401dfa6abdd0b212d99f232f4bb74a7068",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nci-cisnet/actions/runs/27784229291"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "7.0.0",
      "date": "2026-06-18T19:35:42.000Z",
      "arch": "x86_64",
      "commit": "add4ae93732dec6ec99cfef9508ce39758f40168",
      "fileid": "2c20c5c425a647a6300b13aaa85feeff97ffb688417da8c3d99cebb971bfb5c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nci-cisnet/actions/runs/27784229291"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "7.0.0",
      "date": "2026-06-18T19:35:16.000Z",
      "arch": "aarch64",
      "commit": "add4ae93732dec6ec99cfef9508ce39758f40168",
      "fileid": "23c7687e5124deac84dd29da622c1046dfd6833600eca1510c412631b4db3847",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nci-cisnet/actions/runs/27784229291"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "7.0.0",
      "date": "2026-06-18T19:37:22.000Z",
      "arch": "x86_64",
      "commit": "add4ae93732dec6ec99cfef9508ce39758f40168",
      "fileid": "a8c1d77fc4754ae0d3e389930ec29d0e3ba4e47fe77c6f3298108cb122a23e47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nci-cisnet/actions/runs/27784229291"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "7.0.0",
      "date": "2026-06-18T19:35:15.000Z",
      "arch": "emscripten",
      "commit": "add4ae93732dec6ec99cfef9508ce39758f40168",
      "fileid": "b48fe8f6c2435a442263f4e6ce357d8c0f90b371ab3223d26cccea9ce58cb8e1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nci-cisnet/actions/runs/27784229291"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "7.0.0",
      "date": "2026-06-18T19:34:35.000Z",
      "arch": "x86_64",
      "commit": "add4ae93732dec6ec99cfef9508ce39758f40168",
      "fileid": "b1cda4d8466c3f3f451fb5dffae8917a06dce8ae2c8306d6333ab7faca5ea2ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nci-cisnet/actions/runs/27784229291"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "7.0.0",
      "date": "2026-06-18T19:34:34.000Z",
      "arch": "x86_64",
      "commit": "add4ae93732dec6ec99cfef9508ce39758f40168",
      "fileid": "96abe47eabe93d223e6872d9268cfa88e28c009929825f1d84e6623ef989091f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nci-cisnet/actions/runs/27784229291"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "7.0.0",
      "date": "2026-06-18T19:34:52.000Z",
      "arch": "x86_64",
      "commit": "add4ae93732dec6ec99cfef9508ce39758f40168",
      "fileid": "bb6763ab956cfaf379f38803abb93b3fb243b300a0701b8d2df3ea67892113aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nci-cisnet/actions/runs/27784229291"
    }
  ]
}