{
  "_id": "6a1d4ab01d7bb097a0a434ff",
  "Type": "Package",
  "Package": "snSMART",
  "Title": "Small N Sequential Multiple Assignment Randomized Trial Methods",
  "Version": "0.2.4",
  "Authors@R": "c(\nperson(\"Sidi\", \"Wang\", , \"sidiwang@umich.edu\", role = \"aut\"),\nperson(\"Kelley\", \"Kidwell\", , \"kidwell@umich.edu\", role = \"aut\"),\nperson(\"Michael\", \"Kleinsasser\", , \"mkleinsa@umich.edu\", role = \"cre\")\n)",
  "Maintainer": "Michael Kleinsasser <mkleinsa@umich.edu>",
  "Description": "Consolidated data simulation, sample size calculation and\nanalysis functions for several snSMART (small sample\nsequential, multiple assignment, randomized trial) designs\nunder one library.  See Wei, B., Braun, T.M., Tamura, R.N. and\nKidwell, K.M. \"A Bayesian analysis of small n sequential\nmultiple assignment randomized trials (snSMARTs).\" (2018)\nStatistics in medicine, 37(26), pp.3723-3732\n<doi:10.1002/sim.7900>.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/sidiwang/snSMART",
  "BugReports": "https://github.com/sidiwang/snSMART/issues",
  "Biarch": "true",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "SystemRequirements": "JAGS 4.x.y",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "make jags libicu-dev",
  "Repository": "https://sidiwang.r-universe.dev",
  "Date/Publication": "2024-10-07 17:53:03 UTC",
  "RemoteUrl": "https://github.com/sidiwang/snsmart",
  "RemoteRef": "HEAD",
  "RemoteSha": "39aa45736b03904e7552662ac073934d5ca50be5",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-01 08:57:17 UTC",
    "User": "root"
  },
  "Author": "Sidi Wang [aut],\nKelley Kidwell [aut],\nMichael Kleinsasser [cre]",
  "MD5sum": "6fb04bc9265ce17fc4f5bfae0cad11f3",
  "_user": "sidiwang",
  "_type": "src",
  "_file": "snSMART_0.2.4.tar.gz",
  "_fileid": "471ddb3cd9c3ce87b09e8560f63ff47d02efc9b334385188d241a87c5616657c",
  "_filesize": 256900,
  "_sha256": "471ddb3cd9c3ce87b09e8560f63ff47d02efc9b334385188d241a87c5616657c",
  "_created": "2026-06-01T08:57:17.000Z",
  "_published": "2026-06-01T09:02:40.383Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78818771679,
      "time": 216,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7327397543"
    },
    {
      "job": 78818771674,
      "time": 200,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327392048"
    },
    {
      "job": 78818771780,
      "time": 226,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7327387353"
    },
    {
      "job": 78818771742,
      "time": 217,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327386938"
    },
    {
      "job": 78818277392,
      "time": 186,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327323451"
    },
    {
      "job": 78818771775,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327360565"
    },
    {
      "job": 78818771734,
      "time": 194,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7327390727"
    },
    {
      "job": 78818771764,
      "time": 252,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7327410528"
    },
    {
      "job": 78818771765,
      "time": 173,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327383029"
    }
  ],
  "_buildurl": "https://github.com/r-universe/sidiwang/actions/runs/26745029437",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/sidiwang/snsmart",
  "_commit": {
    "id": "39aa45736b03904e7552662ac073934d5ca50be5",
    "author": "Sidi Wang <sidiwang@umich.edu>",
    "committer": "Sidi Wang <sidiwang@umich.edu>",
    "message": "deleted draft pdf yml\n",
    "time": 1728323583
  },
  "_maintainer": {
    "name": "Michael Kleinsasser",
    "email": "mkleinsa@umich.edu",
    "login": "mkleinsa",
    "description": "R programmer for the Department of Biostatistics at the University of Michigan, Ann Arbor. M.S. Statistics. ",
    "uuid": 39565600
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "EnvStats",
      "version": ">= 2.4.0",
      "role": "Depends"
    },
    {
      "package": "bayestestR",
      "version": ">= 0.11.0",
      "role": "Imports"
    },
    {
      "package": "condMVNorm",
      "version": ">= 2020.1",
      "role": "Imports"
    },
    {
      "package": "cubature",
      "version": ">= 2.0.4.1",
      "role": "Imports"
    },
    {
      "package": "geepack",
      "version": ">= 1.3-1",
      "role": "Imports"
    },
    {
      "package": "HDInterval",
      "version": ">= 0.2.0",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "version": ">= 2.3.3",
      "role": "Imports"
    },
    {
      "package": "rjags",
      "version": ">= 4-12",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.1.2",
      "role": "Imports"
    },
    {
      "package": "truncdist",
      "version": ">= 1.0-1",
      "role": "Imports"
    },
    {
      "package": "coda",
      "version": ">= 0.19-2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "sidiwang",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "bayesian-analysis",
    "clinical-trials",
    "rare-disease",
    "small-sample",
    "jags",
    "cpp"
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "sidiwang",
      "count": 125,
      "uuid": 56009989
    },
    {
      "user": "mkleinsa",
      "count": 10,
      "uuid": 39565600
    },
    {
      "user": "osorensen",
      "count": 2,
      "uuid": 21175639
    }
  ],
  "_userbio": {
    "uuid": 56009989,
    "type": "user",
    "name": "Sidi Wang",
    "description": "PhD in Biostatistics"
  },
  "_downloads": {
    "count": 159,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/snSMART"
  },
  "_devurl": "https://github.com/sidiwang/snsmart",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/snSMART.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/sidiwang/snsmart",
  "_realowner": "sidiwang",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-08-26"
    },
    {
      "version": "0.2.1",
      "date": "2022-10-06"
    },
    {
      "version": "0.2.2",
      "date": "2022-11-16"
    },
    {
      "version": "0.2.3",
      "date": "2023-07-19"
    },
    {
      "version": "0.2.4",
      "date": "2024-10-16"
    }
  ],
  "_exports": [
    "BJSM_binary",
    "BJSM_c",
    "group_seq",
    "LPJSM_binary",
    "print.BJSM_binary",
    "print.BJSM_c",
    "print.BJSM_dose_binary",
    "print.group_seq",
    "print.LPJSM_binary",
    "print.sample_size",
    "print.summary.BJSM_binary",
    "print.summary.BJSM_c",
    "print.summary.BJSM_dose_binary",
    "print.summary.group_seq",
    "print.summary.LPJSM_binary",
    "print.summary.sample_size",
    "sample_size"
  ],
  "_datasets": [
    {
      "name": "data_binary",
      "title": "Dataset with binary outcomes",
      "object": "data_binary",
      "class": [
        "data.frame"
      ],
      "fields": [
        "treatment_stageI",
        "response_stageI",
        "treatment_stageII",
        "response_stageII"
      ],
      "rows": 30,
      "table": true,
      "tojson": true
    },
    {
      "name": "data_dose",
      "title": "Dose Level dataset with binary outcomes",
      "object": "data_dose",
      "class": [
        "data.frame"
      ],
      "fields": [
        "response_stageI",
        "treatment_stageI",
        "response_stageII",
        "treatment_stageII"
      ],
      "rows": 90,
      "table": true,
      "tojson": true
    },
    {
      "name": "groupseqDATA_full",
      "title": "Group sequential full data",
      "object": "groupseqDATA_full",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time.1st.trt",
        "time.1st.resp",
        "time.2nd.trt",
        "time.2nd.resp",
        "trt.1st",
        "resp.1st",
        "trt.2nd",
        "resp.2nd"
      ],
      "rows": 300,
      "table": true,
      "tojson": true
    },
    {
      "name": "groupseqDATA_look1",
      "title": "Group sequential data look 1",
      "object": "groupseqDATA_look1",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time.1st.trt",
        "time.1st.resp",
        "time.2nd.trt",
        "time.2nd.resp",
        "trt.1st",
        "resp.1st",
        "trt.2nd",
        "resp.2nd"
      ],
      "rows": 90,
      "table": true,
      "tojson": true
    },
    {
      "name": "trialDataMF",
      "title": "Dataset with continuous outcomes",
      "object": "trialDataMF",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "trt1",
        "stage1outcome",
        "stay",
        "trt2",
        "stage2outcome"
      ],
      "rows": 60,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "BJSM_binary",
      "title": "BJSM for snSMART (3 active treatments/placebo and 2 dose level) with binary outcome",
      "topics": [
        "BJSM_binary",
        "print.BJSM_binary",
        "print.BJSM_dose_binary",
        "print.summary.BJSM_binary",
        "print.summary.BJSM_dose_binary"
      ]
    },
    {
      "page": "BJSM_c",
      "title": "BJSM continuous (snSMART with three active treatments and a continuous outcome design)",
      "topics": [
        "BJSM_c",
        "print.BJSM_c",
        "print.summary.BJSM_c",
        "summary.BJSM_c"
      ]
    },
    {
      "page": "data_binary",
      "title": "Dataset with binary outcomes",
      "topics": [
        "data_binary"
      ]
    },
    {
      "page": "data_dose",
      "title": "Dose Level dataset with binary outcomes",
      "topics": [
        "data_dose"
      ]
    },
    {
      "page": "group_seq",
      "title": "BJSM method for interim analysis and final analysis of group sequential trial design",
      "topics": [
        "group_seq",
        "print.group_seq",
        "print.summary.group_seq"
      ]
    },
    {
      "page": "groupseqDATA_full",
      "title": "Group sequential full data",
      "topics": [
        "groupseqDATA_full"
      ]
    },
    {
      "page": "groupseqDATA_look1",
      "title": "Group sequential data look 1",
      "topics": [
        "groupseqDATA_look1"
      ]
    },
    {
      "page": "LPJSM_binary",
      "title": "LPJSM for snSMART with binary outcomes (3 active treatments or placebo and two dose level)",
      "topics": [
        "LPJSM_binary",
        "print.LPJSM_binary",
        "print.summary.LPJSM_binary",
        "summary.LPJSM_binary"
      ]
    },
    {
      "page": "sample_size",
      "title": "Sample size calculation for snSMART with 3 active treatments and a binary outcome",
      "topics": [
        "print.sample_size",
        "print.summary.sample_size",
        "sample_size",
        "summary.sample_size"
      ]
    },
    {
      "page": "summary.BJSM_binary",
      "title": "Summarizing BJSM fits",
      "topics": [
        "summary.BJSM_binary"
      ]
    },
    {
      "page": "summary.BJSM_dose_binary",
      "title": "Summarizing BJSM fits",
      "topics": [
        "summary.BJSM_dose_binary"
      ]
    },
    {
      "page": "summary.group_seq",
      "title": "Summarizing BJSM fits",
      "topics": [
        "summary.group_seq"
      ]
    },
    {
      "page": "trialDataMF",
      "title": "Dataset with continuous outcomes",
      "topics": [
        "trialDataMF"
      ]
    }
  ],
  "_readme": "https://github.com/sidiwang/snsmart/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "bayestestR",
    "broom",
    "cli",
    "coda",
    "condMVNorm",
    "cpp11",
    "cubature",
    "datawizard",
    "dplyr",
    "EnvStats",
    "evd",
    "farver",
    "geepack",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "HDInterval",
    "insight",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "mvtnorm",
    "nortest",
    "pillar",
    "pkgconfig",
    "pracma",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rjags",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "truncdist",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libjags",
      "package": "jags",
      "headers": "jags",
      "source": "jags",
      "version": "4.3.2-2.2404.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary\nJAGS is Just Another Gibbs Sampler.  It is a program for analysis of\nBayesian hierarchical models using Markov Chain Monte Carlo (MCMC)\nsimulation not wholly unlike BUGS.\n\nJAGS was written with three aims in mind:\n* To have an engine for the BUGS language that runs on Unix\n* To be extensible, allowing users to write their own functions,\ndistributions and samplers.\n* To be a plaftorm for experimentation with ideas in Bayesian modelling\n\nThis package contains the 'jags' binary as well as the associated\nshared library modules loaded by the binary."
    },
    {
      "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": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "snsmart",
  "_universes": [
    "sidiwang",
    "mkleinsa"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.4",
      "date": "2026-06-01T08:59:48.000Z",
      "distro": "noble",
      "commit": "39aa45736b03904e7552662ac073934d5ca50be5",
      "fileid": "4d2a834705828db8a38e8634d91014c8b2af3ef54a64be05e5a616e336041daa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sidiwang/actions/runs/26745029437"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.4",
      "date": "2026-06-01T08:59:32.000Z",
      "distro": "noble",
      "commit": "39aa45736b03904e7552662ac073934d5ca50be5",
      "fileid": "d1f67dda9c35985334b7111dc53d464292a3e51dcef3f911c8b4a4e714059705",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sidiwang/actions/runs/26745029437"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-06-01T08:59:37.000Z",
      "commit": "39aa45736b03904e7552662ac073934d5ca50be5",
      "fileid": "3084d00c5edfd356cd8996b76fee79af20040b41dd1dda3bae24465d2df65957",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sidiwang/actions/runs/26745029437"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-06-01T08:59:26.000Z",
      "commit": "39aa45736b03904e7552662ac073934d5ca50be5",
      "fileid": "b930177c2ed248e28ac86f841269118668594a009bc288ab9846d6bfaceb05e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sidiwang/actions/runs/26745029437"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.4",
      "date": "2026-06-01T08:59:23.000Z",
      "commit": "39aa45736b03904e7552662ac073934d5ca50be5",
      "fileid": "2e0671c699ed62755203b670e9b50918c7d363fcbac153ec916689ff9f2f2100",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sidiwang/actions/runs/26745029437"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-06-01T08:58:39.000Z",
      "commit": "39aa45736b03904e7552662ac073934d5ca50be5",
      "fileid": "081b8a513c43e121d007b18f5807e9ed2ab3f07ea6d166240f61e3f06e5f059c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sidiwang/actions/runs/26745029437"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-06-01T08:58:42.000Z",
      "commit": "39aa45736b03904e7552662ac073934d5ca50be5",
      "fileid": "4895b40a8ef907149ad3bbddd5a7e4ceffb27f15c0de972d242a687e4c754909",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sidiwang/actions/runs/26745029437"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-06-01T08:58:43.000Z",
      "commit": "39aa45736b03904e7552662ac073934d5ca50be5",
      "fileid": "f5bd228ea2d74ff281997684a08fd0c723025f47ab114abe996a5e813e63423e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sidiwang/actions/runs/26745029437"
    }
  ]
}