{
  "_id": "6a1f2f60b401979e73427087",
  "Package": "optconerrf",
  "Title": "Optimal Monotone Conditional Error Functions",
  "Version": "1.0.2",
  "Authors@R": "c(person(given = \"Morten\", family = \"Dreher\", email = \"morten.dreher@outlook.de\", role = c(\"aut\", \"cre\")),\nperson(given = \"Werner\", family = \"Brannath\", role = c(\"aut\", \"cph\"), comment = c(ORCID = \"0000-0002-8622-3904\")),\nperson(given = \"Cornelia Ursula\", family = \"Kunz\", role = \"ctb\", comment = c(ORCID = \"0000-0002-8900-9401\")),\nperson(given = \"Johanna\", family = \"zur Verth\", role = \"aut\"))",
  "Description": "Design and analysis of confirmatory adaptive clinical\ntrials using the optimal conditional error framework according\nto Brannath and Bauer (2004)\n<doi:10.1111/j.0006-341X.2004.00221.x>. An extension to the\noptimal conditional error function using interim estimates as\ndescribed in Brannath and Dreher (2024)\n<doi:10.48550/arXiv.2402.00814> and functions to ensure that\nthe resulting conditional error function is non-increasing are\nalso available.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/morten-dreher/optconerrf",
  "BugReports": "https://github.com/morten-dreher/optconerrf/issues",
  "Repository": "https://morten-dreher.r-universe.dev",
  "Date/Publication": "2026-04-15 19:52:16 UTC",
  "RemoteUrl": "https://github.com/morten-dreher/optconerrf",
  "RemoteRef": "HEAD",
  "RemoteSha": "30771e6300f9eff60f7efa61bb6fb671451c331b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-15 09:12:16 UTC",
    "User": "root"
  },
  "Author": "Morten Dreher [aut, cre],\nWerner Brannath [aut, cph] (ORCID:\n<https://orcid.org/0000-0002-8622-3904>),\nCornelia Ursula Kunz [ctb] (ORCID:\n<https://orcid.org/0000-0002-8900-9401>),\nJohanna zur Verth [aut]",
  "Maintainer": "Morten Dreher <morten.dreher@outlook.de>",
  "MD5sum": "04f3f38dba9f332088938b02b11768d6",
  "_user": "morten-dreher",
  "_type": "src",
  "_file": "optconerrf_1.0.2.tar.gz",
  "_fileid": "7f0065a6363a470d19f8a470da3728cef154c3560fa934f73811379eddfaf230",
  "_filesize": 1357928,
  "_sha256": "7f0065a6363a470d19f8a470da3728cef154c3560fa934f73811379eddfaf230",
  "_created": "2026-05-15T09:12:16.000Z",
  "_published": "2026-06-02T19:30:40.518Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79154940871,
      "time": 192,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7013834206"
    },
    {
      "job": 79154940507,
      "time": 186,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013832851"
    },
    {
      "job": 79154940560,
      "time": 255,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7013837102"
    },
    {
      "job": 79154940636,
      "time": 225,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013832258"
    },
    {
      "job": 79154939908,
      "time": 223,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013779033"
    },
    {
      "job": 79154939653,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367798389"
    },
    {
      "job": 79154940118,
      "time": 180,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7013831335"
    },
    {
      "job": 79154940898,
      "time": 170,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7013828188"
    },
    {
      "job": 79154940777,
      "time": 164,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013826452"
    }
  ],
  "_buildurl": "https://github.com/r-universe/morten-dreher/actions/runs/25909784050",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/morten-dreher/optconerrf",
  "_commit": {
    "id": "30771e6300f9eff60f7efa61bb6fb671451c331b",
    "author": "morten-dreher <morten.dreher@outlook.de>",
    "committer": "morten-dreher <morten.dreher@outlook.de>",
    "message": "CRAN version update\n",
    "time": 1776282736
  },
  "_maintainer": {
    "name": "Morten Dreher",
    "email": "morten.dreher@outlook.de",
    "login": "morten-dreher",
    "uuid": 129039537
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "morten-dreher",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-21",
      "n": 1
    },
    {
      "week": "2025-22",
      "n": 1
    },
    {
      "week": "2025-23",
      "n": 2
    },
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2025-31",
      "n": 1
    },
    {
      "week": "2025-33",
      "n": 1
    },
    {
      "week": "2025-34",
      "n": 3
    },
    {
      "week": "2025-35",
      "n": 7
    },
    {
      "week": "2025-36",
      "n": 2
    },
    {
      "week": "2025-40",
      "n": 2
    },
    {
      "week": "2025-43",
      "n": 5
    },
    {
      "week": "2025-44",
      "n": 5
    },
    {
      "week": "2026-16",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "morten-dreher",
      "count": 145,
      "uuid": 129039537
    },
    {
      "user": "jzurverth",
      "count": 3,
      "uuid": 187747816
    }
  ],
  "_userbio": {
    "uuid": 129039537,
    "type": "user",
    "name": "Morten Dreher"
  },
  "_downloads": {
    "count": 402,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/optconerrf"
  },
  "_devurl": "https://github.com/morten-dreher/optconerrf",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/optconerrf.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/morten-dreher/optconerrf",
  "_realowner": "morten-dreher",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-09-09"
    },
    {
      "version": "1.0.1",
      "date": "2025-09-29"
    },
    {
      "version": "1.0.2",
      "date": "2026-04-15"
    }
  ],
  "_exports": [
    "getDesignOptimalConditionalErrorFunction",
    "getExpectedSecondStageInformation",
    "getLikelihoodRatio",
    "getNu",
    "getNuPrime",
    "getOptimalConditionalError",
    "getOverallPower",
    "getPsi",
    "getQ",
    "getSecondStageInformation",
    "getSimulationResults"
  ],
  "_help": [
    {
      "page": "dot-rangeCheck",
      "title": "Simple range check for numeric variables",
      "topics": [
        ".rangeCheck"
      ]
    },
    {
      "page": "getDesignOptimalConditionalErrorFunction",
      "title": "Create a design object for the optimal conditional error function.",
      "topics": [
        "getDesignOptimalConditionalErrorFunction"
      ]
    },
    {
      "page": "getExpectedSecondStageInformation",
      "title": "Calculate Expected Second-stage Information",
      "topics": [
        "getExpectedSecondStageInformation"
      ]
    },
    {
      "page": "getLevelConstant",
      "title": "Get Level Constant for Optimal Conditional Error Function",
      "topics": [
        "getLevelConstant"
      ]
    },
    {
      "page": "getLikelihoodRatio",
      "title": "Calculate Likelihood Ratio",
      "topics": [
        "getLikelihoodRatio"
      ]
    },
    {
      "page": "getMonotoneFunction",
      "title": "Return Monotone Function Values",
      "topics": [
        "getMonotoneFunction"
      ]
    },
    {
      "page": "getMonotonisationConstants",
      "title": "Calculate the Constants for Monotonisation",
      "topics": [
        "getMonotonisationConstants"
      ]
    },
    {
      "page": "getNu",
      "title": "Calculate Nu",
      "topics": [
        "getNu"
      ]
    },
    {
      "page": "getNuPrime",
      "title": "Calculate the Derivate of Nu",
      "topics": [
        "getNuPrime"
      ]
    },
    {
      "page": "getOptimalConditionalError",
      "title": "Calculate the Optimal Conditional Error",
      "topics": [
        "getOptimalConditionalError"
      ]
    },
    {
      "page": "getOverallPower",
      "title": "Calculate the overall power",
      "topics": [
        "getOverallPower"
      ]
    },
    {
      "page": "getPsi",
      "title": "Calculate Psi, the Inverse of Nu Prime",
      "topics": [
        "getPsi"
      ]
    },
    {
      "page": "getQ",
      "title": "Calculate Q",
      "topics": [
        "getQ"
      ]
    },
    {
      "page": "getSecondStageInformation",
      "title": "Calculate the Second-stage Information",
      "topics": [
        "getSecondStageInformation"
      ]
    },
    {
      "page": "getSimulationResults",
      "title": "Simulate trials",
      "topics": [
        "getSimulationResults"
      ]
    },
    {
      "page": "plot.TrialDesignOptimalConditionalError",
      "title": "Plot the optimal conditional error function",
      "topics": [
        "plot.TrialDesignOptimalConditionalError"
      ]
    },
    {
      "page": "PowerResultsOptimalConditionalError",
      "title": "Power results for optimal conditional error design",
      "topics": [
        "PowerResultsOptimalConditionalError"
      ]
    },
    {
      "page": "print.PowerResultsOptimalConditionalError",
      "title": "Print power results",
      "topics": [
        "print.PowerResultsOptimalConditionalError"
      ]
    },
    {
      "page": "print.SimulationResultsOptimalConditionalError",
      "title": "Print simulation results",
      "topics": [
        "print.SimulationResultsOptimalConditionalError"
      ]
    },
    {
      "page": "print.TrialDesignOptimalConditionalError",
      "title": "Print optimal conditional error trial design",
      "topics": [
        "print.TrialDesignOptimalConditionalError"
      ]
    },
    {
      "page": "SimulationResultsOptimalConditionalError",
      "title": "Simulation results for optimal conditional error design",
      "topics": [
        "SimulationResultsOptimalConditionalError"
      ]
    },
    {
      "page": "summary.TrialDesignOptimalConditionalError",
      "title": "Summary of the optimal conditional error trial design",
      "topics": [
        "summary.TrialDesignOptimalConditionalError"
      ]
    },
    {
      "page": "TrialDesignOptimalConditionalError",
      "title": "Optimal Conditional Error Design",
      "topics": [
        "TrialDesignOptimalConditionalError"
      ]
    }
  ],
  "_readme": "https://github.com/morten-dreher/optconerrf/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to the 'optconerrf' package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Purpose of the package",
        "Prerequisites to computing the optimal conditional error function",
        "Creating the design object",
        "Overall type I error rate and early stopping boundaries",
        "Effect for likelihood ratio",
        "Conditional power",
        "Effect for conditional power",
        "First-stage information",
        "Optional: Minimum and maximum conditional error",
        "Calculating the level constant",
        "Calculating monotonisation constants",
        "Using the design object",
        "Computing the optimal conditional error function and second-stage information",
        "Calculation of expected second-stage information",
        "Complementary functions",
        "References"
      ],
      "created": "2024-11-08 08:36:21",
      "modified": "2025-08-29 10:38:30",
      "commits": 16
    },
    {
      "source": "constraints_interim_estimates.Rmd",
      "filename": "constraints_interim_estimates.html",
      "title": "Constraints, Interim Estimates and Conditional Power Functions for the Optimal Conditional Error Function",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Summary",
        "Constraints",
        "Interim Estimate for Treatment Effect",
        "Using a Conditional Power Function",
        "Limitations"
      ],
      "created": "2025-03-03 16:23:36",
      "modified": "2025-08-21 11:17:02",
      "commits": 4
    }
  ],
  "_score": 5.113943352306837,
  "_indexed": true,
  "_nocasepkg": "optconerrf",
  "_universes": [
    "morten-dreher"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-15T09:14:36.000Z",
      "distro": "noble",
      "commit": "30771e6300f9eff60f7efa61bb6fb671451c331b",
      "fileid": "d2fd74d0e72c09530499ceb7e8db5a4ef29180ef08fe28a7e186f54a8d19849c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/morten-dreher/actions/runs/25909784050"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-15T09:14:17.000Z",
      "distro": "noble",
      "commit": "30771e6300f9eff60f7efa61bb6fb671451c331b",
      "fileid": "b4e1902037c11ade65a77ee73b03dbe8a55b5a448b2e695ab412d439e17838c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/morten-dreher/actions/runs/25909784050"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-15T09:14:40.000Z",
      "commit": "30771e6300f9eff60f7efa61bb6fb671451c331b",
      "fileid": "012c918a0ff74ac9d13b2cf3a31390b05fbdb33496fb30b59458e76afb49dc65",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/morten-dreher/actions/runs/25909784050"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-15T09:14:26.000Z",
      "commit": "30771e6300f9eff60f7efa61bb6fb671451c331b",
      "fileid": "da1400f33758a973116c94b494a3fc415a32a00bfaa5cfe01f54f54f81bd211b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/morten-dreher/actions/runs/25909784050"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-15T09:13:38.000Z",
      "commit": "30771e6300f9eff60f7efa61bb6fb671451c331b",
      "fileid": "6953bab4e9ea837196be10c0297b7fedd7d7e18d65b2b5605fcc2c4dede7c882",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/morten-dreher/actions/runs/25909784050"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-15T09:13:32.000Z",
      "commit": "30771e6300f9eff60f7efa61bb6fb671451c331b",
      "fileid": "9d5e1ee5eca4d5d03b06eb19c00aae3621111760700517766ed92dff2f1fca00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/morten-dreher/actions/runs/25909784050"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-15T09:13:23.000Z",
      "commit": "30771e6300f9eff60f7efa61bb6fb671451c331b",
      "fileid": "fb45fa5eda78cfed8a803818397cd543d4540cc931474c7f3d8152644705bac6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/morten-dreher/actions/runs/25909784050"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-06-02T19:30:04.000Z",
      "commit": "30771e6300f9eff60f7efa61bb6fb671451c331b",
      "fileid": "d6f073ad7b2f517cc35c2612a0b705b50a81c709bb0f7201354dd0d509c854b6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/morten-dreher/actions/runs/25909784050"
    }
  ]
}