{
  "_id": "6af45f00535793c85332850e",
  "Package": "optconerrf",
  "Title": "Optimal Monotone Conditional Error Functions",
  "Version": "1.0.3",
  "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)",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/morten-dreher/optconerrf",
  "BugReports": "https://github.com/morten-dreher/optconerrf/issues",
  "Config/roxygen2/version": "8.1.0",
  "Repository": "https://morten-dreher.r-universe.dev",
  "Date/Publication": "2026-09-03 20:16:15 UTC",
  "RemoteUrl": "https://github.com/morten-dreher/optconerrf",
  "RemoteRef": "HEAD",
  "RemoteSha": "4052f060a29b3c90d5e95c8715e5a66dc4ff304d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-11 12:21:07 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>",
  "_user": "morten-dreher",
  "_type": "src",
  "_file": "optconerrf_1.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/c9eb9d583fdbcd6fd7101ce2847918191ee17f1408b2ca42da54a4e636a06d75",
  "_filesize": 1357265,
  "_sha256": "c9eb9d583fdbcd6fd7101ce2847918191ee17f1408b2ca42da54a4e636a06d75",
  "_expires": "2027-02-19T12:26:38.000Z",
  "_created": "2026-11-11T12:21:07.000Z",
  "_published": "2026-11-11T12:26:40.092Z",
  "_upstream": "https://github.com/morten-dreher/optconerrf",
  "_status": "success",
  "_maintainer": {
    "name": "Morten Dreher",
    "email": "morten.dreher@outlook.de",
    "login": "morten-dreher",
    "description": "",
    "uuid": 129039537
  },
  "_jobs": [
    {
      "job": 130519285356,
      "time": 219,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13854587355"
    },
    {
      "job": 130519285253,
      "time": 209,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13854696614"
    },
    {
      "job": 130519285409,
      "time": 245,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13854881407"
    },
    {
      "job": 130519285446,
      "time": 266,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13854816827"
    },
    {
      "job": 130517530877,
      "time": 217,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13854556296"
    },
    {
      "job": 130519285247,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13853813678"
    },
    {
      "job": 130519285416,
      "time": 271,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13854881566"
    },
    {
      "job": 130519285439,
      "time": 257,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13855555216"
    },
    {
      "job": 130519285461,
      "time": 291,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13855001450"
    }
  ],
  "_buildurl": "https://github.com/r-universe/morten-dreher/actions/runs/43019063639",
  "_commit": {
    "id": "4052f060a29b3c90d5e95c8715e5a66dc4ff304d",
    "author": "morten-dreher <morten.dreher@outlook.de>",
    "committer": "morten-dreher <morten.dreher@outlook.de>",
    "message": "Update to CRAN submission\n",
    "time": 1788466575
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": "2026-16",
      "n": 3
    },
    {
      "week": "2026-25",
      "n": 1
    },
    {
      "week": "2026-33",
      "n": 11
    },
    {
      "week": "2026-36",
      "n": 6
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "morten-dreher",
      "count": 150,
      "uuid": 129039537
    },
    {
      "user": "jzurverth",
      "count": 3,
      "uuid": 187747816
    }
  ],
  "_userbio": {
    "uuid": 129039537,
    "type": "user",
    "name": "Morten Dreher",
    "followers": 1
  },
  "_downloads": {
    "count": 261,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/optconerrf"
  },
  "_devurl": "https://github.com/morten-dreher/optconerrf",
  "_searchresults": 5,
  "_abi": {
    "exports": [
      {
        "key": "optconerrf::PowerResultsOptimalConditionalError",
        "hash": "c68a0132a2b54f54"
      },
      {
        "key": "optconerrf::SimulationResultsOptimalConditionalError",
        "hash": "667c500b919aa557"
      },
      {
        "key": "optconerrf::TrialDesignOptimalConditionalError",
        "hash": "4509673277b1c1e7"
      }
    ],
    "imports": []
  },
  "_rbuild": "4.6.2",
  "_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/optconerrf.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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"
    },
    {
      "version": "1.0.3",
      "date": "2026-09-08"
    }
  ],
  "_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": "getConstraintC_max",
      "title": "Calculates the upper constraint.",
      "topics": [
        "getConstraintC_max"
      ]
    },
    {
      "page": "getConstraintC_min",
      "title": "Calculates the lower constraint.",
      "topics": [
        "getConstraintC_min"
      ]
    },
    {
      "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": "2026-09-03 13:35:20",
      "commits": 5
    }
  ],
  "_score": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "optconerrf",
  "_universes": [
    "morten-dreher"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-11-11T12:23:07.000Z",
      "distro": "resolute",
      "commit": "4052f060a29b3c90d5e95c8715e5a66dc4ff304d",
      "fileid": "https://r2.ropensci.org/8924b31c3efad5e412374cf5dbefabbaca87e8431c0c9b73bb587a2fb7562429",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/morten-dreher/actions/runs/43019063639"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-11-11T12:23:01.000Z",
      "distro": "resolute",
      "commit": "4052f060a29b3c90d5e95c8715e5a66dc4ff304d",
      "fileid": "https://r2.ropensci.org/b85f3c98092f0f3761fcce3b4c9f40405475243ba237bdb5ae587ac00773c1ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/morten-dreher/actions/runs/43019063639"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-11-11T12:23:35.000Z",
      "commit": "4052f060a29b3c90d5e95c8715e5a66dc4ff304d",
      "fileid": "https://r2.ropensci.org/857e0153694697bcf7e1787b251d25225405d7685dd9adcb4369e6015014ec8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/morten-dreher/actions/runs/43019063639"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-11-11T12:23:35.000Z",
      "commit": "4052f060a29b3c90d5e95c8715e5a66dc4ff304d",
      "fileid": "https://r2.ropensci.org/161384bb72e5c21416d47f7553cd5e3a6f38c8b1375e0dd6084013166ad3ca23",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/morten-dreher/actions/runs/43019063639"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-11-11T12:23:11.000Z",
      "commit": "4052f060a29b3c90d5e95c8715e5a66dc4ff304d",
      "fileid": "https://r2.ropensci.org/d6bd233e7bb9a0ebc4cc3cdfc82af53826eb3e6c18dc3d7b6cbffbd5b5795980",
      "status": "success",
      "buildurl": "https://github.com/r-universe/morten-dreher/actions/runs/43019063639"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-11-11T12:23:00.000Z",
      "commit": "4052f060a29b3c90d5e95c8715e5a66dc4ff304d",
      "fileid": "https://r2.ropensci.org/48cc11bcf6fe14457eb6f407acc53334b0022b84c47b20a5f986c493a0fd304e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/morten-dreher/actions/runs/43019063639"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-11-11T12:23:17.000Z",
      "commit": "4052f060a29b3c90d5e95c8715e5a66dc4ff304d",
      "fileid": "https://r2.ropensci.org/216a07d40a131e8ac61c393ea7657581fa00127d139678926db2f00c9798e01e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/morten-dreher/actions/runs/43019063639"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-11-11T12:23:18.000Z",
      "commit": "4052f060a29b3c90d5e95c8715e5a66dc4ff304d",
      "fileid": "https://r2.ropensci.org/2ac27f633f220aa061561925be360f3e85c11f1ec126a9ac791a16e50fb6541f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/morten-dreher/actions/runs/43019063639"
    }
  ]
}