{
  "_id": "6a4a8f8f1e9cffeb4b833cc1",
  "Package": "recoverlite",
  "Title": "Pre-Data Recovery Tests for Planned Study Designs",
  "Version": "0.2.0",
  "Authors@R": "person(\"Heidi Helena\", \"Andersen\", , \"andersenheidihelena@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-5923-5865\"))",
  "Description": "A prototype implementation of the pre-data recovery test:\na standardized simulation protocol for evaluating whether a\nplanned design-analysis pair can recover its target estimand\nbefore data collection. Researchers declare the estimand,\ndata-generating assumptions, data strategy, missing-data\nprocess, and analysis strategy; the package simulates a crossed\nscenario grid (null and target effects, each under declared and\npessimistically perturbed nuisance assumptions), applies the\nplanned analysis to each simulated dataset, and reports\ntarget-null rejection, power, target bias with its exact\ndecomposition into estimator bias and estimand drift, coverage,\nType S and Type M errors, precision, and classified model\nfailure, each with Monte Carlo uncertainty and explicit\ninclusion rules. A versioned threshold profile converts the\ndiagnosands into a PASS/RISK/FAIL verdict - a decision\nconvention, not a validity classification. Built on the\n'DeclareDesign' framework.",
  "License": "Apache License (>= 2)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/heidihelena/recoverlite",
  "BugReports": "https://github.com/heidihelena/recoverlite/issues",
  "Repository": "https://heidihelena.r-universe.dev",
  "Date/Publication": "2026-07-04 21:37:56 UTC",
  "RemoteUrl": "https://github.com/heidihelena/recoverlite",
  "RemoteRef": "HEAD",
  "RemoteSha": "cf27d33b3dde2eef9177c39f5e808dcb9a2707f3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-05 17:04:58 UTC",
    "User": "root"
  },
  "Author": "Heidi Helena Andersen [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5923-5865>)",
  "Maintainer": "Heidi Helena Andersen <andersenheidihelena@gmail.com>",
  "_user": "heidihelena",
  "_type": "src",
  "_file": "recoverlite_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/92a7bab966905b1a457e5c4ff37120b324f977ebf702f5f6e467ec7d980c3153",
  "_filesize": 244933,
  "_sha256": "92a7bab966905b1a457e5c4ff37120b324f977ebf702f5f6e467ec7d980c3153",
  "_expires": "2026-10-13T17:08:30.000Z",
  "_created": "2026-07-05T17:04:58.000Z",
  "_published": "2026-07-05T17:08:31.653Z",
  "_jobs": [
    {
      "job": 85243031984,
      "time": 175,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8093938005"
    },
    {
      "job": 85243032004,
      "time": 164,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8093936646"
    },
    {
      "job": 85243031983,
      "time": 81,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8093926508"
    },
    {
      "job": 85243031974,
      "time": 95,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8093928199"
    },
    {
      "job": 85242781881,
      "time": 200,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8093915836"
    },
    {
      "job": 85243031972,
      "time": 155,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8093935694"
    },
    {
      "job": 85243032026,
      "time": 94,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8093928359"
    },
    {
      "job": 85243032027,
      "time": 109,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8093929704"
    },
    {
      "job": 85243032051,
      "time": 101,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8093928811"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/heidihelena/actions/runs/28748245080",
  "_status": "success",
  "_upstream": "https://github.com/heidihelena/recoverlite",
  "_commit": {
    "id": "cf27d33b3dde2eef9177c39f5e808dcb9a2707f3",
    "author": "Heidi Andersén <heidihelena@hotmail.com>",
    "committer": "Heidi Andersén <heidihelena@hotmail.com>",
    "message": "v0.2.0: 2-MCSE stability guard, doubling stopping rule, Wilson bounds\n\nReviewer round 6 engine changes; regenerates the section-3 worked\nexamples so the Zenodo archive matches the manuscript.\n\n- verdict(): the 2-MCSE stability guard now takes precedence in BOTH\n  directions. A within-2-MCSE declared failure is capped at RISK; FAIL\n  is reserved for stable declared failures (|margin| > 2 MCSE). Fixes a\n  self-consistency bug where a borderline design could be called FAIL\n  while its margins were indistinguishable from passing.\n- recovery_test_stable(): new exported function implementing the\n  algorithmic doubling stopping rule (start 2000, double to a\n  pre-declared max 16000 while any required margin is within 2 MCSE;\n  stable declared failure locks FAIL; unresolved at the ceiling = RISK).\n- diagnosands: zero-count conditional proportions (Type S = 0) now carry\n  a one-sided 95% Wilson upper bound; the verdict checks the threshold\n  against the bound, not the point estimate.\n- run-examples.R: stopping rule for every job, complete-case ANCOVA\n  repair arm for example 3.1, multi-seed robustness sweep with a\n  verdict-stability table.\n- tests: cover the two-directional guard and the Wilson zero-count path.\n\nCross-validated against the Python port (recoverlite-py). Apache-2.0.\n\nCo-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>\n",
    "time": 1783201076
  },
  "_maintainer": {
    "name": "Heidi Helena Andersen",
    "email": "andersenheidihelena@gmail.com",
    "orcid": "0000-0001-5923-5865"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "DeclareDesign",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "fabricatr",
      "role": "Imports"
    },
    {
      "package": "randomizr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "role": "Suggests"
    },
    {
      "package": "lmerTest",
      "role": "Suggests"
    },
    {
      "package": "pbkrtest",
      "role": "Suggests"
    },
    {
      "package": "simr",
      "role": "Suggests"
    },
    {
      "package": "estimatr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "heidihelena",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-27",
      "n": 6
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-07-04"
    },
    {
      "name": "v0.2.0",
      "date": "2026-07-04"
    }
  ],
  "_topics": [
    "clinical-trials",
    "declaredesign",
    "estimands",
    "metascience",
    "monte-carlo",
    "power-analysis",
    "preregistration",
    "research-methods",
    "simulation",
    "statistics",
    "study-design"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "heidihelena",
      "count": 6,
      "uuid": 155103098
    }
  ],
  "_userbio": {
    "uuid": 155103098,
    "type": "user",
    "name": "Heidi Andersen",
    "followers": 8,
    "description": "Founder, Vahtian | Thoracic oncologist, pulmonologist, and clinical data analyst | MD, PhD"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/recoverlite"
  },
  "_devurl": "https://github.com/heidihelena/recoverlite",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/recoverlite.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "attrition_model",
    "cluster_trial",
    "declare_recovery",
    "effect_fragility",
    "measured_outcome",
    "nuisance_fragility",
    "planned_analysis",
    "recovery_test",
    "recovery_test_stable",
    "recovery_thresholds",
    "report",
    "target_estimand",
    "two_arm_trial",
    "verdict"
  ],
  "_help": [
    {
      "page": "attrition_model",
      "title": "Declare the attrition (missing-outcome) model",
      "topics": [
        "attrition_model"
      ]
    },
    {
      "page": "cluster_trial",
      "title": "Declare a cluster-randomized trial data strategy",
      "topics": [
        "cluster_trial"
      ]
    },
    {
      "page": "declare_recovery",
      "title": "Declare a recovery design",
      "topics": [
        "declare_recovery"
      ]
    },
    {
      "page": "effect_fragility",
      "title": "Effect-size fragility curve",
      "topics": [
        "effect_fragility"
      ]
    },
    {
      "page": "measured_outcome",
      "title": "Declare the measurement model for the observed outcome",
      "topics": [
        "measured_outcome"
      ]
    },
    {
      "page": "nuisance_fragility",
      "title": "Nuisance-parameter fragility curve",
      "topics": [
        "nuisance_fragility"
      ]
    },
    {
      "page": "planned_analysis",
      "title": "Declare the planned analysis (answer strategy)",
      "topics": [
        "planned_analysis"
      ]
    },
    {
      "page": "recovery_test",
      "title": "Run the recovery test",
      "topics": [
        "recovery_test"
      ]
    },
    {
      "page": "recovery_test_stable",
      "title": "Run the recovery test under the algorithmic doubling stopping rule",
      "topics": [
        "recovery_test_stable"
      ]
    },
    {
      "page": "recovery_thresholds",
      "title": "Versioned verdict threshold profiles",
      "topics": [
        "recovery_thresholds"
      ]
    },
    {
      "page": "report",
      "title": "Produce the standalone recovery report",
      "topics": [
        "report"
      ]
    },
    {
      "page": "target_estimand",
      "title": "Declare the target estimand",
      "topics": [
        "target_estimand"
      ]
    },
    {
      "page": "two_arm_trial",
      "title": "Declare a two-arm randomized trial data strategy",
      "topics": [
        "two_arm_trial"
      ]
    },
    {
      "page": "verdict",
      "title": "Apply the PASS/RISK/FAIL verdict rule",
      "topics": [
        "verdict"
      ]
    }
  ],
  "_readme": "https://github.com/heidihelena/recoverlite/raw/HEAD/README.md",
  "_rundeps": [
    "DeclareDesign",
    "estimatr",
    "fabricatr",
    "Formula",
    "generics",
    "randomizr",
    "Rcpp",
    "RcppEigen",
    "rlang"
  ],
  "_vignettes": [
    {
      "source": "recoverlite.Rmd",
      "filename": "recoverlite.html",
      "title": "The recovery test: a pre-data feasibility protocol",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The six steps",
        "A minimal run"
      ],
      "created": "2026-07-03 18:22:39",
      "modified": "2026-07-03 18:22:39",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "recoverlite",
  "_universes": [
    "heidihelena"
  ],
  "_previous": "0.1.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-07-05T17:07:34.000Z",
      "distro": "resolute",
      "commit": "cf27d33b3dde2eef9177c39f5e808dcb9a2707f3",
      "fileid": "https://r2.ropensci.org/b74b92ac45a454db6a0ab57a785a5c1912d2af641507661b902961ced99c0013",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidihelena/actions/runs/28748245080"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-07-05T17:07:29.000Z",
      "distro": "resolute",
      "commit": "cf27d33b3dde2eef9177c39f5e808dcb9a2707f3",
      "fileid": "https://r2.ropensci.org/fddaf235fafed3caf770f314ead233706c3af3ea775047ab5364ca86716bb2c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidihelena/actions/runs/28748245080"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-07-05T17:06:16.000Z",
      "commit": "cf27d33b3dde2eef9177c39f5e808dcb9a2707f3",
      "fileid": "https://r2.ropensci.org/328d4cced2ef7071c453e593259b4ce736bc1829467fe413f94c960cef05d3b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidihelena/actions/runs/28748245080"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-07-05T17:06:25.000Z",
      "commit": "cf27d33b3dde2eef9177c39f5e808dcb9a2707f3",
      "fileid": "https://r2.ropensci.org/b7406ae25377bfd717385a6923a83ab3117b8407fb995eebc86cd06af6db2bb0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidihelena/actions/runs/28748245080"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-07-05T17:07:49.000Z",
      "commit": "cf27d33b3dde2eef9177c39f5e808dcb9a2707f3",
      "fileid": "https://r2.ropensci.org/d560300a58eec9e37a8ac3e482ab4434b2f8dbd70103581c827757e3fbe352fc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/heidihelena/actions/runs/28748245080"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-07-05T17:06:09.000Z",
      "commit": "cf27d33b3dde2eef9177c39f5e808dcb9a2707f3",
      "fileid": "https://r2.ropensci.org/da9ce769118446e87377d10c4735fa7561775ff6e4a261b134e4592f56af03b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidihelena/actions/runs/28748245080"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-07-05T17:06:17.000Z",
      "commit": "cf27d33b3dde2eef9177c39f5e808dcb9a2707f3",
      "fileid": "https://r2.ropensci.org/d94e22f8448f0bb1fd11715960920b66eefe24fecba9f24e1f06a1a651dec9cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidihelena/actions/runs/28748245080"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-07-05T17:06:11.000Z",
      "commit": "cf27d33b3dde2eef9177c39f5e808dcb9a2707f3",
      "fileid": "https://r2.ropensci.org/25baa6bbd4023d8b45da3f3e21c3622e9a31b326f89c0f3c5e4f853fa699cf53",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidihelena/actions/runs/28748245080"
    }
  ]
}