{
  "_id": "6a2c95173efcd9bda42e0a3c",
  "Package": "SmokingHistoryGenerator",
  "Type": "Package",
  "Title": "R Package for the Smoking History Generator",
  "Version": "6.5.3-1.0.1",
  "Date": "2026-05-18",
  "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",
  "URL": "https://github.com/NCI-CISNET/shg-r",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "License": "GPL-3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-12 23:20:12 UTC",
    "User": "root"
  },
  "Author": "John Clarke [aut, cre] (Author and maintainer of SHG R package\nwrapper for the SHG), Ben Racine [aut] (Co-author of the\noriginal SHG), Martin Krapcho [aut] (Co-author of the original\nSHG), Alexander Gaenko [aut] (Co-author of the original SHG),\nMakoto Matsumoto [ctb, cph] (Mersenne Twister mt19937\n(src/mersenne_class.*); copyright notice in source), Takuji\nNishimura [ctb, cph] (Mersenne Twister mt19937\n(src/mersenne_class.*); copyright notice in source), Pierre\nL'Ecuyer [ctb, cph] (RngStream MRG32k3a (src/RngStream.*);\ncopyright notice in source)",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-12 19:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/SmokingHistoryGenerator",
  "RemoteRef": "HEAD",
  "RemoteSha": "7f5039e5a95549b284df20b8f9e8a7dcf7f4d1bc",
  "MD5sum": "f818180f8ef49183a5d7dbd674581db8",
  "_user": "cran",
  "_type": "src",
  "_file": "SmokingHistoryGenerator_6.5.3-1.0.1.tar.gz",
  "_fileid": "31be422eeda48a4bc4500d68a87f2caf1f4383a7e63edbde371773e1ee66816c",
  "_filesize": 555394,
  "_sha256": "31be422eeda48a4bc4500d68a87f2caf1f4383a7e63edbde371773e1ee66816c",
  "_created": "2026-06-12T23:20:12.000Z",
  "_published": "2026-06-12T23:24:07.186Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81139243984,
      "time": 125,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7604700583"
    },
    {
      "job": 81139243995,
      "time": 141,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7604702932"
    },
    {
      "job": 81139243987,
      "time": 184,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7604710919"
    },
    {
      "job": 81139243976,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7604703831"
    },
    {
      "job": 81138895736,
      "time": 207,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7604674761"
    },
    {
      "job": 81139243962,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7604701686"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27448554490",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/SmokingHistoryGenerator",
  "_commit": {
    "id": "7f5039e5a95549b284df20b8f9e8a7dcf7f4d1bc",
    "author": "John Clarke <john.clarke@cornerstonenw.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 6.5.3-1.0.1\n",
    "time": 1781292002
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "6.5.3-1.0.1",
      "date": "2026-06-12"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "john-clarke",
      "count": 1,
      "uuid": 1505085
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SmokingHistoryGenerator"
  },
  "_devurl": "https://github.com/nci-cisnet/shg-r",
  "_searchresults": 29,
  "_topics": [
    "cpp"
  ],
  "_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"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "6.5.3-1.0.1",
      "date": "2026-06-12"
    }
  ],
  "_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/cran/SmokingHistoryGenerator/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": 2.161368002234975,
  "_indexed": true,
  "_nocasepkg": "smokinghistorygenerator",
  "_universes": [
    "cran",
    "john-clarke",
    "nci-cisnet"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "6.5.3-1.0.1",
      "date": "2026-06-12T23:22:20.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7f5039e5a95549b284df20b8f9e8a7dcf7f4d1bc",
      "fileid": "0e9b7f3ba38d16fa493abd3849b83c7e8b8d6f698c424bd55bee71a454a8bf96",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27448554490"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "6.5.3-1.0.1",
      "date": "2026-06-12T23:22:31.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7f5039e5a95549b284df20b8f9e8a7dcf7f4d1bc",
      "fileid": "232d0b19d5afa73c0c9f0122f56a296f1589fd673632822a5d2d3730a102fc3d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27448554490"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "6.5.3-1.0.1",
      "date": "2026-06-12T23:23:12.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7f5039e5a95549b284df20b8f9e8a7dcf7f4d1bc",
      "fileid": "8060372c0ddffc4682c1c4a1c01060b2be3929138b00320dad9c8065a4619584",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27448554490"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "6.5.3-1.0.1",
      "date": "2026-06-12T23:22:33.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7f5039e5a95549b284df20b8f9e8a7dcf7f4d1bc",
      "fileid": "4bb772bb8a8a3055d3d877e730f1550fc3cb15233c755b65b008d55da8e034db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27448554490"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "6.5.3-1.0.1",
      "date": "2026-06-12T23:22:43.000Z",
      "arch": "emscripten",
      "commit": "7f5039e5a95549b284df20b8f9e8a7dcf7f4d1bc",
      "fileid": "1f874eba398e3a474e1b7ac07c57919fc27ebfc5e799d2e0d5b10df366c529e4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27448554490"
    }
  ]
}