{
  "_id": "6ad09be0576abc75bd5cd8fa",
  "Package": "sandwichrand",
  "Type": "Package",
  "Title": "Sandwich Mixed Randomization for Allocation Sequence Generation",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(\"Bingshun\", \"Wang\", email = \"wangbshun@foxmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = \"Designer of the sandwich mixed randomization scheme\"),\nperson(\"Jinliang\", \"Xie\", role = \"ctb\"),\nperson(\"Wei\", \"Wang\", role = \"ctb\"))",
  "Description": "Generates allocation sequences for randomized controlled\ntrials using the sandwich mixed randomization (SMR) scheme,\ntogether with verification, diagnostics, and release utilities.",
  "License": "Apache License (>= 2.0)",
  "Encoding": "UTF-8",
  "URL": "https://github.com/wangbshun/sandwichrand",
  "BugReports": "https://github.com/wangbshun/sandwichrand/issues",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Config/roxygen2/version": "8.1.0",
  "Repository": "https://wangbshun.r-universe.dev",
  "Date/Publication": "2026-10-01 03:55:41 UTC",
  "RemoteUrl": "https://github.com/wangbshun/sandwichrand",
  "RemoteRef": "HEAD",
  "RemoteSha": "5116f661685f45daf0523f5a6d0fc6514ad5ca57",
  "Packaged": {
    "Date": "2026-10-15 09:08:08 UTC",
    "User": "root"
  },
  "Author": "Bingshun Wang [aut, cre] (Designer of the sandwich mixed randomization\nscheme),\nJinliang Xie [ctb],\nWei Wang [ctb]",
  "Maintainer": "Bingshun Wang <wangbshun@foxmail.com>",
  "_user": "wangbshun",
  "_type": "src",
  "_file": "sandwichrand_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/4b696ffeaeb78f54548bd89a4bd8b83113a7d30fbe7471ca1967e2cc62732b2e",
  "_filesize": 257879,
  "_sha256": "4b696ffeaeb78f54548bd89a4bd8b83113a7d30fbe7471ca1967e2cc62732b2e",
  "_expires": "2027-01-23T09:24:46.000Z",
  "_created": "2026-10-15T09:08:08.000Z",
  "_published": "2026-10-15T09:24:48.127Z",
  "_buildurl": "https://github.com/r-universe/wangbshun/actions/runs/38710314628",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116341204230,
      "time": 105,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11960312349"
    },
    {
      "job": 116341204043,
      "time": 104,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11959969620"
    },
    {
      "job": 116341204084,
      "time": 127,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11960497634"
    },
    {
      "job": 116341204115,
      "time": 153,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11960893183"
    },
    {
      "job": 116339897882,
      "time": 188,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11960268187"
    },
    {
      "job": 116341204088,
      "time": 90,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11960621026"
    },
    {
      "job": 116341204105,
      "time": 59,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11960780758"
    },
    {
      "job": 116341204087,
      "time": 85,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11960486193"
    },
    {
      "job": 116341204051,
      "time": 74,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11959894687"
    }
  ],
  "_upstream": "https://github.com/wangbshun/sandwichrand",
  "_commit": {
    "id": "5116f661685f45daf0523f5a6d0fc6514ad5ca57",
    "author": "WangBShun <wangbshun@sina.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Add files via upload\n\nVersion 1.0.0",
    "time": 1790826941
  },
  "_maintainer": {
    "name": "Bingshun Wang",
    "email": "wangbshun@foxmail.com"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "wangbshun",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-40",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "wangbshun",
      "count": 2,
      "uuid": 18473840
    }
  ],
  "_userbio": {
    "uuid": 18473840,
    "type": "user",
    "name": "WangBShun",
    "followers": 0
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sandwichrand"
  },
  "_devurl": "https://github.com/wangbshun/sandwichrand",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sandwichrand.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/wangbshun/sandwichrand",
  "_realowner": "wangbshun",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-10-14"
    }
  ],
  "_exports": [
    "smr_alloc",
    "smr_balance",
    "smr_blocks",
    "smr_correct_guesses",
    "smr_imbalance",
    "smr_pcg",
    "smr_reproduce",
    "smr_rtf",
    "smr_simulate",
    "smr_spread",
    "smr_streams",
    "smr_verify",
    "smr_write_csv"
  ],
  "_help": [
    {
      "page": "sandwichrand-package",
      "title": "Allocation sequences by sandwich mixed randomization",
      "topics": [
        "sandwichrand-package",
        "sandwichrand"
      ]
    },
    {
      "page": "sandwichrand-methods",
      "title": "Methods for 'sandwichrand' objects",
      "topics": [
        "as.data.frame.sandwichrand",
        "format.sandwichrand",
        "plot.sandwichrand",
        "print.sandwichrand",
        "print.summary.sandwichrand",
        "sandwichrand-methods",
        "summary.sandwichrand"
      ]
    },
    {
      "page": "smr_alloc",
      "title": "Allocation sequences by sandwich mixed randomization",
      "topics": [
        "smr_alloc"
      ]
    },
    {
      "page": "smr_balance",
      "title": "Balance summary of an allocation sequence",
      "topics": [
        "smr_balance"
      ]
    },
    {
      "page": "smr_blocks",
      "title": "Block structure of an allocation sequence",
      "topics": [
        "smr_blocks"
      ]
    },
    {
      "page": "smr_correct_guesses",
      "title": "Per-step correct guesses under the convergence strategy",
      "topics": [
        "smr_correct_guesses"
      ]
    },
    {
      "page": "smr_imbalance",
      "title": "Running imbalance of an allocation sequence",
      "topics": [
        "smr_imbalance"
      ]
    },
    {
      "page": "smr_pcg",
      "title": "Proportion of correct guesses (allocation predictability)",
      "topics": [
        "smr_pcg"
      ]
    },
    {
      "page": "smr_reproduce",
      "title": "Reproduce an allocation sequence",
      "topics": [
        "smr_reproduce"
      ]
    },
    {
      "page": "smr_rtf",
      "title": "Write an allocation sequence to an RTF report",
      "topics": [
        "smr_rtf"
      ]
    },
    {
      "page": "smr_simulate",
      "title": "Assess an SMR design by simulation",
      "topics": [
        "smr_simulate"
      ]
    },
    {
      "page": "smr_spread",
      "title": "The spread of deviations from the target allocation",
      "topics": [
        "smr_spread"
      ]
    },
    {
      "page": "smr_streams",
      "title": "Independent random streams for high-frequency calling",
      "topics": [
        "smr_streams"
      ]
    },
    {
      "page": "smr_verify",
      "title": "Verify the structural invariants of an allocation sequence",
      "topics": [
        "smr_verify"
      ]
    },
    {
      "page": "smr_write_csv",
      "title": "Write an allocation sequence to a CSV file",
      "topics": [
        "smr_write_csv"
      ]
    }
  ],
  "_readme": "https://github.com/wangbshun/sandwichrand/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "sandwichrand.Rmd",
      "filename": "sandwichrand.html",
      "title": "sandwichrand: Allocation Sequences by Sandwich Mixed Randomization",
      "author": "Bingshun Wang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Motivation",
        "Methods",
        "Module I: the two complementary unbalanced blocks",
        "Module II: permuted blocks with varying block sizes",
        "Boundary paths",
        "Implementation",
        "Usage",
        "Two-arm 1:1 trial",
        "Unequal allocation ratio",
        "Releasing the list (ICH E9 / GCP)",
        "Multi-center (center-stratified) randomization",
        "Validation",
        "Reproducibility",
        "Computational details",
        "Summary"
      ],
      "created": "2026-10-01 02:14:37",
      "modified": "2026-10-01 02:14:37",
      "commits": 1
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "sandwichrand",
  "_universes": [
    "wangbshun"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-15T09:09:58.000Z",
      "distro": "resolute",
      "commit": "5116f661685f45daf0523f5a6d0fc6514ad5ca57",
      "fileid": "https://r2.ropensci.org/7be60ebcb62ff673c893fd7017dcccd2859527624c734e0863050dd43b3b17ea",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/wangbshun/actions/runs/38710314628"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-15T09:09:53.000Z",
      "distro": "resolute",
      "commit": "5116f661685f45daf0523f5a6d0fc6514ad5ca57",
      "fileid": "https://r2.ropensci.org/766309cc647b1b1341ad2d50896f153742e650ebb5c5704ad479d86296b85e86",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/wangbshun/actions/runs/38710314628"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-15T09:18:27.000Z",
      "commit": "5116f661685f45daf0523f5a6d0fc6514ad5ca57",
      "fileid": "https://r2.ropensci.org/35dbaad63b09875dcb816aab568c30ee4cce9caa05db122c29aa7a8ec2fb83dd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/wangbshun/actions/runs/38710314628"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-15T09:23:36.000Z",
      "commit": "5116f661685f45daf0523f5a6d0fc6514ad5ca57",
      "fileid": "https://r2.ropensci.org/31686c273730c695db6b0308d6488124469737b306d00925673785031c3a2131",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/wangbshun/actions/runs/38710314628"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-15T09:09:57.000Z",
      "commit": "5116f661685f45daf0523f5a6d0fc6514ad5ca57",
      "fileid": "https://r2.ropensci.org/a5bae2ece62fc5f00db40f803cb3572d7bde42db34df5fdb500335a469988abb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/wangbshun/actions/runs/38710314628"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-15T09:09:07.000Z",
      "commit": "5116f661685f45daf0523f5a6d0fc6514ad5ca57",
      "fileid": "https://r2.ropensci.org/c56e637cd98ddb6834f226f274f5b3df6e2e93784e5a5e2186528dab271b96c0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/wangbshun/actions/runs/38710314628"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-15T09:09:24.000Z",
      "commit": "5116f661685f45daf0523f5a6d0fc6514ad5ca57",
      "fileid": "https://r2.ropensci.org/eb03f2eed6abd274d9631649f65fc91400c01c92042c124f07e6f866506357c1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/wangbshun/actions/runs/38710314628"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-15T09:09:14.000Z",
      "commit": "5116f661685f45daf0523f5a6d0fc6514ad5ca57",
      "fileid": "https://r2.ropensci.org/04ba95c140a5bcccfdf055dcc076ef2afaa6a8b218988485b9bb0b4638113679",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/wangbshun/actions/runs/38710314628"
    }
  ]
}