{
  "_id": "6a3ba4e45cdecea1d6828a6e",
  "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",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libssl-dev",
  "Repository": "https://pjesscarter.r-universe.dev",
  "Date/Publication": "2026-06-23 08:09:01 UTC",
  "RemoteUrl": "https://github.com/pjesscarter/scr",
  "RemoteRef": "HEAD",
  "RemoteSha": "8fe5769fd130e7de2530c712a8a57240411cb384",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-24 09:31:30 UTC",
    "User": "root"
  },
  "Author": "Perry Carter [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-4684-6533>),\nDahyun Choi [aut] (ORCID: <https://orcid.org/0000-0002-2628-1467>)",
  "Maintainer": "Perry Carter <pjc504@nyu.edu>",
  "MD5sum": "465ef5d39a51e2d1fec3a8e0e54237a9",
  "_user": "pjesscarter",
  "_type": "src",
  "_file": "scR_0.7.0.tar.gz",
  "_fileid": "e350fa403f85e1d9d446901271b5c702e82294769c1a202e5c2fe6685569be49",
  "_filesize": 198944,
  "_sha256": "e350fa403f85e1d9d446901271b5c702e82294769c1a202e5c2fe6685569be49",
  "_created": "2026-06-24T09:31:30.000Z",
  "_published": "2026-06-24T09:35:32.162Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 83162236107,
      "time": 165,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7845632156"
    },
    {
      "job": 83162236097,
      "time": 202,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7845645956"
    },
    {
      "job": 83162236096,
      "time": 192,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7845630107"
    },
    {
      "job": 83162236115,
      "time": 156,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7845618875"
    },
    {
      "job": 83161486258,
      "time": 238,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7845566339"
    },
    {
      "job": 83162236092,
      "time": 185,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7845639778"
    },
    {
      "job": 83162236102,
      "time": 109,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7845611086"
    },
    {
      "job": 83162236121,
      "time": 99,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7845607291"
    },
    {
      "job": 83162236125,
      "time": 110,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7845611522"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pjesscarter/actions/runs/28088829133",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/pjesscarter/scr",
  "_commit": {
    "id": "8fe5769fd130e7de2530c712a8a57240411cb384",
    "author": "Perry Carter <65866634+pjesscarter@users.noreply.github.com>",
    "committer": "Perry Carter <65866634+pjesscarter@users.noreply.github.com>",
    "message": "updated readme\n",
    "time": 1782202141
  },
  "_maintainer": {
    "name": "Perry Carter",
    "email": "pjc504@nyu.edu",
    "orcid": "0000-0002-4684-6533"
  },
  "_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": "pjesscarter",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2026-26",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "pjesscarter",
      "count": 66,
      "uuid": 65866634
    },
    {
      "user": "dahyunc",
      "count": 22,
      "uuid": 51750420
    }
  ],
  "_userbio": {
    "uuid": 65866634,
    "type": "user",
    "name": "Perry Carter",
    "followers": 2
  },
  "_downloads": {
    "count": 232,
    "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"
  ],
  "_homeurl": "https://github.com/pjesscarter/scr",
  "_realowner": "pjesscarter",
  "_cranurl": true,
  "_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/pjesscarter/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": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "scr",
  "_universes": [
    "pjesscarter"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.0",
      "date": "2026-06-24T09:34:02.000Z",
      "distro": "resolute",
      "commit": "8fe5769fd130e7de2530c712a8a57240411cb384",
      "fileid": "0dea4510828bf49a5927b8d5c2805b7154c12b4c96f5d467c922ca2b8337f285",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pjesscarter/actions/runs/28088829133"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.7.0",
      "date": "2026-06-24T09:34:30.000Z",
      "distro": "resolute",
      "commit": "8fe5769fd130e7de2530c712a8a57240411cb384",
      "fileid": "ac94dbf69cdb02f6af7aeffa7c467c808b300cf51e0290af4f2e1e63dc03f720",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pjesscarter/actions/runs/28088829133"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.0",
      "date": "2026-06-24T09:34:04.000Z",
      "commit": "8fe5769fd130e7de2530c712a8a57240411cb384",
      "fileid": "dfd4f269e14f0b023467a7ddf5a6a77353ecd0882b7f663f3ba93e64515a10cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pjesscarter/actions/runs/28088829133"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.7.0",
      "date": "2026-06-24T09:33:31.000Z",
      "commit": "8fe5769fd130e7de2530c712a8a57240411cb384",
      "fileid": "9c2385c93be84b96510c767b8943fc5100e432f798f7c2b4aca504c1eb543a9d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pjesscarter/actions/runs/28088829133"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.0",
      "date": "2026-06-24T09:35:00.000Z",
      "commit": "8fe5769fd130e7de2530c712a8a57240411cb384",
      "fileid": "b8f916d1f5dd68556f4d46f8c6a015b7d79e091a55e5b98e59d3cc9b17710747",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pjesscarter/actions/runs/28088829133"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-06-24T09:32:55.000Z",
      "commit": "8fe5769fd130e7de2530c712a8a57240411cb384",
      "fileid": "06d15785a77a8e7f8fcf571d833dffb9e4b8b1df4f12a0ff1fbb9c38f83ae782",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pjesscarter/actions/runs/28088829133"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-06-24T09:32:46.000Z",
      "commit": "8fe5769fd130e7de2530c712a8a57240411cb384",
      "fileid": "08b40f15cdddba7293f4db105d4955f21bc29da89925198b0cd7c7c3e76c01a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pjesscarter/actions/runs/28088829133"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-06-24T09:32:46.000Z",
      "commit": "8fe5769fd130e7de2530c712a8a57240411cb384",
      "fileid": "5da898420718c61f4b14cff86e99c847f60980080a16382a089163878054250e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pjesscarter/actions/runs/28088829133"
    }
  ]
}