{
  "_id": "6ac10887552a13804ac7eb15",
  "Package": "PhysioTrial",
  "Type": "Package",
  "Title": "Randomization, Allocation Concealment and Blinding for Clinical\nTrials",
  "Version": "0.5.1",
  "Authors@R": "person(\"Yusuke\", \"Matsui\", email = \"mail.to.matsui@gmail.com\", role = c(\"aut\",\"cre\"))",
  "Description": "Provides reproducible trial-design infrastructure for\nsimple, permuted-block, stratified-block, and Pocock-Simon\nminimization randomization. Sealed allocation sequences,\ndeterministic audit fingerprints, treatment-code management,\nappend-only unblinding logs, CONSORT/SPIRIT operations,\nadverse-event summaries, explicit analysis populations,\nmissing-data hooks, and endpoint-analysis wrappers support\nauditable clinical-trial workflows. Deterministic CDISC\nSDTM-shaped and ADaM-shaped exports provide linked tabulation\nand analysis datasets without claiming external regulatory\nconformance.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Maintainer": "Yusuke Matsui <mail.to.matsui@gmail.com>",
  "URL": "https://github.com/x-biosignal/PhysioTrial,\nhttps://x-biosignal.r-universe.dev/PhysioTrial,\nhttps://x-biosignal.github.io/PhysioTrial/",
  "BugReports": "https://github.com/x-biosignal/PhysioTrial/issues",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Collate": "'PhysioTrial-package.R' 'class-trial.R' 'randomization.R'\n'blinding.R' 'consort.R' 'spirit.R' 'adverse-events.R'\n'analysis-sets.R' 'endpoints.R' 'power.R' 'cdisc.R' 'zzz.R'",
  "Config/pak/sysreqs": "zlib1g-dev",
  "Repository": "https://x-biosignal.r-universe.dev",
  "Date/Publication": "2026-10-03 13:11:44 UTC",
  "RemoteUrl": "https://github.com/x-biosignal/PhysioTrial",
  "RemoteRef": "HEAD",
  "RemoteSha": "1d209055a7a05ebdf94e80651a149907d47da782",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-03 13:42:00 UTC",
    "User": "root"
  },
  "Author": "Yusuke Matsui [aut, cre]",
  "_user": "x-biosignal",
  "_type": "src",
  "_file": "PhysioTrial_0.5.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/80d2c2dd1913723ddb12f4a8348d9bb33fc606fd35345884dede16635bb6694c",
  "_filesize": 316934,
  "_sha256": "80d2c2dd1913723ddb12f4a8348d9bb33fc606fd35345884dede16635bb6694c",
  "_expires": "2027-01-11T13:52:05.000Z",
  "_created": "2026-10-03T13:42:00.000Z",
  "_published": "2026-10-03T13:52:06.926Z",
  "_jobs": [
    {
      "job": 111214461515,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11274812945"
    },
    {
      "job": 111214461521,
      "time": 158,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11274909223"
    },
    {
      "job": 111214461502,
      "time": 105,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11275738604"
    },
    {
      "job": 111214461514,
      "time": 122,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11275756138"
    },
    {
      "job": 111213925153,
      "time": 189,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11274937485"
    },
    {
      "job": 111214461587,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11275243800"
    },
    {
      "job": 111214461585,
      "time": 100,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11275133850"
    },
    {
      "job": 111214461563,
      "time": 84,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11275003951"
    },
    {
      "job": 111214461612,
      "time": 98,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11275208826"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/x-biosignal/actions/runs/37126879747",
  "_status": "success",
  "_upstream": "https://github.com/x-biosignal/PhysioTrial",
  "_commit": {
    "id": "1d209055a7a05ebdf94e80651a149907d47da782",
    "author": "Yusuke Matsui <mail.to.matsui@gmail.com>",
    "committer": "Yusuke Matsui <mail.to.matsui@gmail.com>",
    "message": "Release snapshot\n",
    "time": 1791033104
  },
  "_maintainer": {
    "name": "Yusuke Matsui",
    "email": "mail.to.matsui@gmail.com",
    "login": "ymatts",
    "description": "Data scientist",
    "uuid": 5744286
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "PhysioExperiment",
      "version": ">= 2.0.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "PhysioCore",
      "role": "Suggests"
    },
    {
      "package": "DiagrammeR",
      "role": "Suggests"
    },
    {
      "package": "PhysioClinical",
      "role": "Suggests"
    },
    {
      "package": "PhysioClinStats",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.2.0",
      "role": "Suggests"
    }
  ],
  "_owner": "x-biosignal",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-40",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ymatts",
      "count": 1,
      "uuid": 5744286
    }
  ],
  "_userbio": {
    "uuid": 268545536,
    "type": "organization",
    "name": "x-biosignal",
    "followers": 1,
    "description": "Open-source R packages for biosignal analysis, biomechanics, clinical research, and rehabilitation."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PhysioTrial"
  },
  "_devurl": "https://github.com/x-biosignal/physiotrial",
  "_pkgdown": "https://x-biosignal.github.io/PhysioTrial/",
  "_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/PhysioTrial.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "adverseEvent",
    "aeSummary",
    "allocationRatio",
    "allocationTable",
    "analysisData",
    "analysisExclusions",
    "analysisParticipants",
    "Arm",
    "arms",
    "assignments",
    "auditLog",
    "blindingCodes",
    "blindingIndex",
    "blindingManager",
    "consortCounts",
    "consortDiagram",
    "defineXML",
    "endpointANCOVA",
    "endpointMMRM",
    "estimateBaselineCorrelation",
    "intentionToTreat",
    "nextAllocation",
    "Participant",
    "perProtocol",
    "powerBinary",
    "powerContinuous",
    "powerCurve",
    "randomize",
    "randomSeed",
    "responderAnalysis",
    "sampleSizeANCOVA",
    "sampleSizeBinary",
    "sampleSizeChangeScore",
    "sampleSizeContinuous",
    "sampleSizeRepeatedMeasures",
    "spiritChecklist",
    "spiritSchedule",
    "strata",
    "toADaM",
    "toSDTM",
    "Trial",
    "trialFingerprint",
    "unblind",
    "unblindingLog",
    "validateCDISC"
  ],
  "_help": [
    {
      "page": "adverseEvent",
      "title": "Capture an Adverse Event",
      "topics": [
        "adverseEvent"
      ]
    },
    {
      "page": "aeSummary",
      "title": "Summarize Adverse Events by Trial Arm",
      "topics": [
        "aeSummary"
      ]
    },
    {
      "page": "allocationRatio",
      "title": "Allocation Ratio",
      "topics": [
        "allocationRatio",
        "allocationRatio,Trial-method"
      ]
    },
    {
      "page": "allocationTable",
      "title": "Allocation Counts",
      "topics": [
        "allocationTable",
        "allocationTable,RandomizationSequence-method"
      ]
    },
    {
      "page": "analysisData",
      "title": "Apply an Analysis Set and Missing-Data Method",
      "topics": [
        "analysisData"
      ]
    },
    {
      "page": "analysisSetAccessors",
      "title": "Extract Analysis-Set Rows and Exclusions",
      "topics": [
        "analysisExclusions",
        "analysisParticipants",
        "analysisSetAccessors"
      ]
    },
    {
      "page": "Arm",
      "title": "Construct a Trial Arm",
      "topics": [
        "Arm"
      ]
    },
    {
      "page": "Arm-class",
      "title": "Trial Arm",
      "topics": [
        "Arm-class"
      ]
    },
    {
      "page": "arms",
      "title": "Arm Labels",
      "topics": [
        "arms",
        "arms,Trial-method"
      ]
    },
    {
      "page": "assignments",
      "title": "Revealed Assignments",
      "topics": [
        "assignments",
        "assignments,RandomizationSequence-method"
      ]
    },
    {
      "page": "auditLog",
      "title": "Randomization Audit Log",
      "topics": [
        "auditLog",
        "auditLog,RandomizationSequence-method"
      ]
    },
    {
      "page": "blindingCodes",
      "title": "Masked Treatment Codes",
      "topics": [
        "blindingCodes"
      ]
    },
    {
      "page": "blindingIndex",
      "title": "Bang Blinding Index",
      "topics": [
        "blindingIndex"
      ]
    },
    {
      "page": "blindingManager",
      "title": "Construct a Blinding Manager",
      "topics": [
        "blindingManager"
      ]
    },
    {
      "page": "BlindingManager-class",
      "title": "Blinding and Treatment-Code Manager",
      "topics": [
        "BlindingManager-class"
      ]
    },
    {
      "page": "consortCounts",
      "title": "CONSORT Node Counts",
      "topics": [
        "consortCounts"
      ]
    },
    {
      "page": "consortDiagram",
      "title": "CONSORT Participant-Flow Diagram",
      "topics": [
        "consortDiagram"
      ]
    },
    {
      "page": "defineXML",
      "title": "Create a Deterministic define.xml Metadata Stub",
      "topics": [
        "defineXML"
      ]
    },
    {
      "page": "endpointANCOVA",
      "title": "ANCOVA Endpoint Analysis",
      "topics": [
        "endpointANCOVA"
      ]
    },
    {
      "page": "endpointMMRM",
      "title": "MMRM Endpoint Analysis",
      "topics": [
        "endpointMMRM"
      ]
    },
    {
      "page": "estimateBaselineCorrelation",
      "title": "Estimate the baseline-outcome correlation (for ANCOVA planning)",
      "topics": [
        "estimateBaselineCorrelation"
      ]
    },
    {
      "page": "intentionToTreat",
      "title": "Intention-to-Treat Analysis Set",
      "topics": [
        "intentionToTreat"
      ]
    },
    {
      "page": "nextAllocation",
      "title": "Reveal the Next Allocation",
      "topics": [
        "nextAllocation",
        "nextAllocation,RandomizationSequence-method"
      ]
    },
    {
      "page": "Participant",
      "title": "Construct a Trial Participant",
      "topics": [
        "Participant"
      ]
    },
    {
      "page": "Participant-class",
      "title": "Trial Participant",
      "topics": [
        "Participant-class"
      ]
    },
    {
      "page": "perProtocol",
      "title": "Per-Protocol Analysis Set",
      "topics": [
        "perProtocol"
      ]
    },
    {
      "page": "powerBinary",
      "title": "Power of a two-arm binary endpoint at a given sample size",
      "topics": [
        "powerBinary"
      ]
    },
    {
      "page": "powerContinuous",
      "title": "Power of a two-arm continuous endpoint at a given sample size",
      "topics": [
        "powerContinuous"
      ]
    },
    {
      "page": "powerCurve",
      "title": "Power curve over a range of sample sizes or effect sizes",
      "topics": [
        "powerCurve"
      ]
    },
    {
      "page": "RandomizationSequence-class",
      "title": "Concealed Randomization Sequence",
      "topics": [
        "RandomizationSequence-class"
      ]
    },
    {
      "page": "randomize",
      "title": "Generate a Concealed Randomization Sequence",
      "topics": [
        "randomize"
      ]
    },
    {
      "page": "randomSeed",
      "title": "Captured Randomization Seed",
      "topics": [
        "randomSeed",
        "randomSeed,RandomizationSequence-method"
      ]
    },
    {
      "page": "responderAnalysis",
      "title": "MDC/MCID Responder Analysis",
      "topics": [
        "responderAnalysis"
      ]
    },
    {
      "page": "sampleSizeANCOVA",
      "title": "Sample size for a baseline-adjusted (ANCOVA) continuous endpoint",
      "topics": [
        "sampleSizeANCOVA"
      ]
    },
    {
      "page": "sampleSizeBinary",
      "title": "Sample size for a two-arm binary / responder endpoint",
      "topics": [
        "sampleSizeBinary"
      ]
    },
    {
      "page": "sampleSizeChangeScore",
      "title": "Sample size for a change-from-baseline continuous endpoint",
      "topics": [
        "sampleSizeChangeScore"
      ]
    },
    {
      "page": "sampleSizeContinuous",
      "title": "Sample size for a two-arm continuous endpoint",
      "topics": [
        "sampleSizeContinuous"
      ]
    },
    {
      "page": "sampleSizeRepeatedMeasures",
      "title": "Sample size for a repeated-measures continuous endpoint",
      "topics": [
        "sampleSizeRepeatedMeasures"
      ]
    },
    {
      "page": "spiritChecklist",
      "title": "SPIRIT 2013 Protocol Checklist",
      "topics": [
        "spiritChecklist"
      ]
    },
    {
      "page": "spiritSchedule",
      "title": "SPIRIT Schedule of Events",
      "topics": [
        "spiritSchedule"
      ]
    },
    {
      "page": "strata",
      "title": "Trial Strata",
      "topics": [
        "strata",
        "strata,Trial-method"
      ]
    },
    {
      "page": "toADaM",
      "title": "Export Trial Analysis Sets to ADaM-Shaped Data",
      "topics": [
        "toADaM"
      ]
    },
    {
      "page": "toSDTM",
      "title": "Export Trial Data to CDISC SDTM-Shaped Domains",
      "topics": [
        "toSDTM"
      ]
    },
    {
      "page": "Trial",
      "title": "Construct a Randomized Trial",
      "topics": [
        "Trial"
      ]
    },
    {
      "page": "Trial-class",
      "title": "Randomized Trial Definition",
      "topics": [
        "Trial-class"
      ]
    },
    {
      "page": "trialFingerprint",
      "title": "Trial Object Fingerprint",
      "topics": [
        "trialFingerprint",
        "trialFingerprint,BlindingManager-method",
        "trialFingerprint,RandomizationSequence-method"
      ]
    },
    {
      "page": "unblind",
      "title": "Record an Unblinding Event",
      "topics": [
        "unblind"
      ]
    },
    {
      "page": "unblindingLog",
      "title": "Unblinding Log",
      "topics": [
        "unblindingLog"
      ]
    },
    {
      "page": "validateCDISC",
      "title": "Validate a CDISC-Shaped Export",
      "topics": [
        "validateCDISC"
      ]
    }
  ],
  "_readme": "https://github.com/x-biosignal/PhysioTrial/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "Biobase",
    "BiocGenerics",
    "cli",
    "DelayedArray",
    "digest",
    "generics",
    "GenomicRanges",
    "IRanges",
    "lattice",
    "lifecycle",
    "Matrix",
    "MatrixGenerics",
    "matrixStats",
    "PhysioExperiment",
    "rlang",
    "S4Arrays",
    "S4Vectors",
    "Seqinfo",
    "SparseArray",
    "SummarizedExperiment",
    "XVector"
  ],
  "_vignettes": [
    {
      "source": "PhysioTrial.Rmd",
      "filename": "PhysioTrial.html",
      "title": "Designing and running a randomized trial with PhysioTrial",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Define the trial",
        "2. Plan the sample size",
        "3. Randomize with allocation concealment",
        "4. CONSORT flow",
        "5. Analysis populations",
        "6. CDISC-shaped export",
        "Where to go next"
      ],
      "created": "2026-10-03 13:11:44",
      "modified": "2026-10-03 13:11:44",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "physiotrial",
  "_universes": [
    "x-biosignal",
    "ymatts"
  ],
  "_previous": "0.5.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.1",
      "date": "2026-10-03T13:44:14.000Z",
      "distro": "resolute",
      "commit": "1d209055a7a05ebdf94e80651a149907d47da782",
      "fileid": "https://r2.ropensci.org/f842f4924ec0aba3e8fd1e27e96db1d600bae3f5be6d67e74abcff6d1d395831",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/x-biosignal/actions/runs/37126879747"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.1",
      "date": "2026-10-03T13:44:24.000Z",
      "distro": "resolute",
      "commit": "1d209055a7a05ebdf94e80651a149907d47da782",
      "fileid": "https://r2.ropensci.org/42f7aca554dd21d3be43feb4727da9240bd60aeb48af22be1f8928bb8910569e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/x-biosignal/actions/runs/37126879747"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.1",
      "date": "2026-10-03T13:51:14.000Z",
      "commit": "1d209055a7a05ebdf94e80651a149907d47da782",
      "fileid": "https://r2.ropensci.org/18df3c22d4624ad5dae2b794c44dd3e9e37bd08debed385fecdc8a0801a3322c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/x-biosignal/actions/runs/37126879747"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5.1",
      "date": "2026-10-03T13:51:11.000Z",
      "commit": "1d209055a7a05ebdf94e80651a149907d47da782",
      "fileid": "https://r2.ropensci.org/b28eaa930edbd0ecefd6bd74947fda19e2a462a2dae8da19e531f8d60e6d0503",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/x-biosignal/actions/runs/37126879747"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.1",
      "date": "2026-10-03T13:44:14.000Z",
      "commit": "1d209055a7a05ebdf94e80651a149907d47da782",
      "fileid": "https://r2.ropensci.org/2b43ee2d6f9e4f07dce93e01d2f1f646a2daf3ed86bb3a8e1f530aa16e4d01e0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/x-biosignal/actions/runs/37126879747"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.1",
      "date": "2026-10-03T13:43:09.000Z",
      "commit": "1d209055a7a05ebdf94e80651a149907d47da782",
      "fileid": "https://r2.ropensci.org/c8d9cc33648a8ec55c5b14afa3449dbc981eb994eebd14f028d2cc55111770c1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/x-biosignal/actions/runs/37126879747"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.1",
      "date": "2026-10-03T13:43:07.000Z",
      "commit": "1d209055a7a05ebdf94e80651a149907d47da782",
      "fileid": "https://r2.ropensci.org/8a5154a1e83866e6befa94dd11c761f9dbee46d32270d0e64d65808e8bc7747d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/x-biosignal/actions/runs/37126879747"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.1",
      "date": "2026-10-03T13:43:10.000Z",
      "commit": "1d209055a7a05ebdf94e80651a149907d47da782",
      "fileid": "https://r2.ropensci.org/65868ce55466ae16ebdba58667ae918972b01410a6828c91ad108d4fa5affc1c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/x-biosignal/actions/runs/37126879747"
    }
  ]
}