{
  "_id": "6accceeba14063b82c3a96c3",
  "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-10-12 12:07:26 UTC",
    "User": "root"
  },
  "Author": "Sidi Wang [aut],\nKelley Kidwell [aut],\nMichael Kleinsasser [cre]",
  "_user": "sidiwang",
  "_type": "src",
  "_file": "snSMART_0.2.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/5080ed44d7b3fd6b1edd534069f702bd88b1925d71968f1c3ae085811b80532e",
  "_filesize": 256404,
  "_sha256": "5080ed44d7b3fd6b1edd534069f702bd88b1925d71968f1c3ae085811b80532e",
  "_expires": "2027-01-20T12:13:29.000Z",
  "_created": "2026-10-12T12:07:26.000Z",
  "_published": "2026-10-12T12:13:31.301Z",
  "_buildurl": "https://github.com/r-universe/sidiwang/actions/runs/38246628454",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114803592124,
      "time": 190,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11746368172"
    },
    {
      "job": 114803592131,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11746118079"
    },
    {
      "job": 114803591997,
      "time": 298,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11746688124"
    },
    {
      "job": 114803592366,
      "time": 170,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11745728713"
    },
    {
      "job": 114802497077,
      "time": 178,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11745808314"
    },
    {
      "job": 114803592027,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11746622659"
    },
    {
      "job": 114803592028,
      "time": 193,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11746657991"
    },
    {
      "job": 114803592033,
      "time": 154,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11746143022"
    },
    {
      "job": 114803592191,
      "time": 185,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11745433896"
    }
  ],
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 0,
    "description": "PhD in Biostatistics"
  },
  "_downloads": {
    "count": 260,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/snSMART"
  },
  "_devurl": "https://github.com/sidiwang/snsmart",
  "_searchresults": 3,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/snSMART.html"
  ],
  "_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.2604.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "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-10-12T12:09:39.000Z",
      "distro": "resolute",
      "commit": "39aa45736b03904e7552662ac073934d5ca50be5",
      "fileid": "https://r2.ropensci.org/27c385f0f923f995e8ca88216a08f58602a6431025b8a588492cd7b4fd4cb8f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sidiwang/actions/runs/38246628454"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.4",
      "date": "2026-10-12T12:09:31.000Z",
      "distro": "resolute",
      "commit": "39aa45736b03904e7552662ac073934d5ca50be5",
      "fileid": "https://r2.ropensci.org/7175c7df0e4eb5c990814d4787badfede7f7eeb42b051f8994dbfc079b6809b3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/sidiwang/actions/runs/38246628454"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-10-12T12:10:49.000Z",
      "commit": "39aa45736b03904e7552662ac073934d5ca50be5",
      "fileid": "https://r2.ropensci.org/96e347422ac08728152da6f0cc47d0bcef55f090c6e4b2af7c5a7b98ac438aeb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sidiwang/actions/runs/38246628454"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-10-12T12:09:54.000Z",
      "commit": "39aa45736b03904e7552662ac073934d5ca50be5",
      "fileid": "https://r2.ropensci.org/ececa975669b7c38e80472b27d2dffbc67f107e699d6f3f04255476525e345df",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/sidiwang/actions/runs/38246628454"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.4",
      "date": "2026-10-12T12:09:36.000Z",
      "commit": "39aa45736b03904e7552662ac073934d5ca50be5",
      "fileid": "https://r2.ropensci.org/c17c7e7177821dcec96b9f3e83fbdd988c540aac5c8f5a21d33ad40bd5d260db",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sidiwang/actions/runs/38246628454"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-10-12T12:08:46.000Z",
      "commit": "39aa45736b03904e7552662ac073934d5ca50be5",
      "fileid": "https://r2.ropensci.org/183734e6490922a719f62abb01f84ad241ec05672eeef95f28aa59584109cfd6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sidiwang/actions/runs/38246628454"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-10-12T12:08:56.000Z",
      "commit": "39aa45736b03904e7552662ac073934d5ca50be5",
      "fileid": "https://r2.ropensci.org/c1341a3a453dcf706565337b55653a23ad13bce653e45f8a8363dbea9cf745e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sidiwang/actions/runs/38246628454"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-10-12T12:08:46.000Z",
      "commit": "39aa45736b03904e7552662ac073934d5ca50be5",
      "fileid": "https://r2.ropensci.org/6c7e539024212cbc696a5fec68cde6260bde09f2e2e9d380ef7922600359b37e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sidiwang/actions/runs/38246628454"
    }
  ]
}