{
  "_id": "6a497009ef9e2ed9366e6c68",
  "Package": "scR",
  "Title": "Empirical Sample Complexity Bounds",
  "Version": "0.7.0",
  "Authors@R": "c(\nperson(\"Perry\", \"Carter\", email = \"pjc504@nyu.edu\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-4684-6533\")),\nperson(\"Dahyun\", \"Choi\", email = \"dahyunc@princeton.edu\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-2628-1467\"))\n)",
  "Description": "Provides tools for estimating empirical sample complexity\nbounds for supervised learning tasks. The package supports\nsimulation-based estimates of generalization curves, parametric\nextrapolation of empirical sample complexity bounds,\ntheoretical bounds based on Vapnik-Chervonenkis dimension, and\noptional monotone Gaussian process extrapolation for users who\ninstall the external 'cmdstanr' workflow. For more details, see\nCarter and Choi (2024) <doi:10.31219/osf.io/evrcj>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/pjesscarter/scR",
  "BugReports": "https://github.com/pjesscarter/scR/issues",
  "Encoding": "UTF-8",
  "Additional_repositories": "https://stan-dev.r-universe.dev",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-23 13:51:58 UTC",
    "User": "root"
  },
  "Author": "Perry Carter [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-4684-6533>), Dahyun Choi [aut]\n(ORCID: <https://orcid.org/0000-0002-2628-1467>)",
  "Maintainer": "Perry Carter <pjc504@nyu.edu>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-23 08:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/scR",
  "RemoteRef": "HEAD",
  "RemoteSha": "4e5a052c9cc9605bf1d352b33ae4a73252328aa4",
  "_user": "cran",
  "_type": "src",
  "_file": "scR_0.7.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/c7696cc708edcf09643e9d9c7f2c91823366be6c7b18bd024d58c424d0c41213",
  "_filesize": 199551,
  "_sha256": "c7696cc708edcf09643e9d9c7f2c91823366be6c7b18bd024d58c424d0c41213",
  "_expires": "2026-10-12T20:41:44.000Z",
  "_created": "2026-06-23T13:51:58.000Z",
  "_published": "2026-07-04T20:41:45.676Z",
  "_jobs": [
    {
      "job": 85165394090,
      "time": 191,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7823033528"
    },
    {
      "job": 85165394126,
      "time": 198,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7823037708"
    },
    {
      "job": 85165393793,
      "time": 266,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7822939191"
    },
    {
      "job": 85165394060,
      "time": 635,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7823245742"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/28030990588",
  "_status": "success",
  "_upstream": "https://github.com/cran/scR",
  "_commit": {
    "id": "4e5a052c9cc9605bf1d352b33ae4a73252328aa4",
    "author": "Perry Carter <pjc504@nyu.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.7.0\n",
    "time": 1782203402
  },
  "_maintainer": {
    "name": "Perry Carter",
    "email": "pjc504@nyu.edu",
    "orcid": "0000-0002-4684-6533"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "furrr",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "minpack.lm",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "parallelly",
      "role": "Imports"
    },
    {
      "package": "pbapply",
      "role": "Imports"
    },
    {
      "package": "plotly",
      "role": "Imports"
    },
    {
      "package": "progressr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "cmdstanr",
      "role": "Suggests"
    },
    {
      "package": "posterior",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-26",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.7.0",
      "date": "2026-06-23"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 610,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 229,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/scR"
  },
  "_devurl": "https://github.com/pjesscarter/scr",
  "_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/readme.html",
    "extra/readme.md",
    "extra/scR.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-12-02"
    },
    {
      "version": "0.2.0",
      "date": "2024-12-16"
    },
    {
      "version": "0.3.0",
      "date": "2024-12-18"
    },
    {
      "version": "0.4.0",
      "date": "2024-12-23"
    },
    {
      "version": "0.7.0",
      "date": "2026-06-23"
    }
  ],
  "_exports": [
    "acc_sim",
    "conduct_interpolation",
    "create_scb_model",
    "create_scb_prediction",
    "estimate_accuracy",
    "fit_gp_scb_curve",
    "gendata",
    "getpac",
    "interpolate_scb",
    "interpolate_scb_gp",
    "scb",
    "simvcd"
  ],
  "_help": [
    {
      "page": "acc_sim",
      "title": "Utility function to generate accuracy metrics, for use with 'estimate_accuracy()'",
      "topics": [
        "acc_sim"
      ]
    },
    {
      "page": "conduct_interpolation",
      "title": "Conduct interpolation on a single simulation",
      "topics": [
        "conduct_interpolation"
      ]
    },
    {
      "page": "create_scb_model",
      "title": "Create custom model fitting function",
      "topics": [
        "create_scb_model"
      ]
    },
    {
      "page": "create_scb_prediction",
      "title": "Create custom prediction function",
      "topics": [
        "create_scb_prediction"
      ]
    },
    {
      "page": "estimate_accuracy",
      "title": "Estimate sample complexity bounds for a binary classification algorithm using either simulated or user-supplied data.",
      "topics": [
        "estimate_accuracy"
      ]
    },
    {
      "page": "fit_and_predict",
      "title": "Fit an extrapolation model using nonlinear least squares",
      "topics": [
        "fit_and_predict"
      ]
    },
    {
      "page": "fit_gp_scb_curve",
      "title": "Fit a monotone Gaussian process sample-complexity curve",
      "topics": [
        "fit_gp_scb_curve"
      ]
    },
    {
      "page": "gendata",
      "title": "Simulate data with appropriate structure to be used in estimating sample complexity bounds",
      "topics": [
        "gendata"
      ]
    },
    {
      "page": "getpac",
      "title": "Recalculate achieved sample complexity bounds given different parameter inputs",
      "topics": [
        "getpac"
      ]
    },
    {
      "page": "interpolate_scb",
      "title": "Conduct interpolation on a list of data",
      "topics": [
        "interpolate_scb"
      ]
    },
    {
      "page": "interpolate_scb_gp",
      "title": "Interpolate sample-complexity curves using monotone Gaussian processes",
      "topics": [
        "interpolate_scb_gp"
      ]
    },
    {
      "page": "loss",
      "title": "Utility function to define the least-squares loss function to be optimized for 'simvcd()'",
      "topics": [
        "loss"
      ]
    },
    {
      "page": "plot.empirical_scb_gp",
      "title": "Plot a monotone Gaussian process sample-complexity fit",
      "topics": [
        "plot.empirical_scb_gp"
      ]
    },
    {
      "page": "plot.empirical_scb_list",
      "title": "Plot method for an 'empirical_scb_list' object",
      "topics": [
        "plot.empirical_scb_list"
      ]
    },
    {
      "page": "plot.scb_data",
      "title": "Plot method for simulated sample complexity bounds ('scb_data' object)",
      "topics": [
        "plot.scb_data"
      ]
    },
    {
      "page": "risk_bounds",
      "title": "Utility function to generate data points for estimation of the VC Dimension of a user-specified binary classification algorithm given a specified sample size.",
      "topics": [
        "risk_bounds"
      ]
    },
    {
      "page": "scb",
      "title": "Calculate sample complexity bounds for a classifier given target accuracy",
      "topics": [
        "scb"
      ]
    },
    {
      "page": "simvcd",
      "title": "Estimate the Vapnik-Chervonenkis (VC) dimension of an arbitrary binary classification algorithm.",
      "topics": [
        "simvcd"
      ]
    },
    {
      "page": "summary.empirical_scb_gp",
      "title": "Summarize a monotone Gaussian process sample-complexity fit",
      "topics": [
        "summary.empirical_scb_gp"
      ]
    },
    {
      "page": "summary.empirical_scb_list",
      "title": "Summary of empirical sample complexity bound results",
      "topics": [
        "summary.empirical_scb_list"
      ]
    }
  ],
  "_readme": "https://github.com/cran/scR/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "codetools",
    "cpp11",
    "crosstalk",
    "curl",
    "data.table",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "furrr",
    "future",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httr",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "listenv",
    "magrittr",
    "Matrix",
    "memoise",
    "mime",
    "minpack.lm",
    "openssl",
    "otel",
    "parallelly",
    "pbapply",
    "pillar",
    "pkgconfig",
    "plotly",
    "progressr",
    "promises",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_score": 1.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "scr",
  "_universes": [
    "cran",
    "pjesscarter"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.0",
      "date": "2026-06-23T13:54:51.000Z",
      "distro": "resolute",
      "commit": "4e5a052c9cc9605bf1d352b33ae4a73252328aa4",
      "fileid": "https://r2.ropensci.org/90fe0a1410e0f5c242e3c2c9d73300aeb1341a7ac30c2f626a83f9eacf0b9877",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28030990588"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.7.0",
      "date": "2026-06-23T13:54:55.000Z",
      "distro": "resolute",
      "commit": "4e5a052c9cc9605bf1d352b33ae4a73252328aa4",
      "fileid": "https://r2.ropensci.org/ebfc6b8cc95e6c36c42538647cb42449b534efb021f69abbb001a336ed771a3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28030990588"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.0",
      "date": "2026-06-23T14:02:54.000Z",
      "commit": "4e5a052c9cc9605bf1d352b33ae4a73252328aa4",
      "fileid": "https://r2.ropensci.org/5bbd1b8c20a439ea4170b901444960ab59a299908f38fabfeaeb0f637c6c5206",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28030990588"
    }
  ]
}