{
  "_id": "6a213fd8cd65a98ecbd2a163",
  "Package": "stressor",
  "Type": "Package",
  "Title": "Algorithms for Testing Models under Stress",
  "Version": "0.2.0",
  "Authors@R": "c(\nperson(\"Sam\", \"Haycock\", email = \"haycock.sam@outlook.com\",\nrole = c(\"aut\", \"cre\")),\nperson(\"Brennan\", \"Bean\", email = \"brennan.bean@usu.edu\",\nrole = c(\"aut\")),\nperson(\"Utah State University\", role = c(\"cph\", \"fnd\")),\nperson(\"Thermo Fisher Scientific\", \"Inc.\", role = c(\"fnd\"))\n)",
  "Description": "Traditional model evaluation metrics fail to capture model\nperformance under less than ideal conditions. This package\nemploys techniques to evaluate models \"under-stress\". This\nincludes testing models' extrapolation ability, or testing\naccuracy on specific sub-samples of the overall model space.\nDetails describing stress-testing methods in this package are\nprovided in Haycock (2023) <doi:10.26076/2am5-9f67>. The other\nprimary contribution of this package is provided to R users\naccess to the 'Python' library 'PyCaret' <https://pycaret.org/>\nfor quick and easy access to auto-tuned machine learning\nmodels.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "SystemRequirements": "python(>=3.8.10)",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-04 09:00:46 UTC",
    "User": "root"
  },
  "Author": "Sam Haycock [aut, cre], Brennan Bean [aut], Utah State\nUniversity [cph, fnd], Thermo Fisher Scientific Inc. [fnd]",
  "Maintainer": "Sam Haycock <haycock.sam@outlook.com>",
  "Config/pak/sysreqs": "libpng-dev python3",
  "Repository": "https://samhaycock.r-universe.dev",
  "Date/Publication": "2024-05-02 02:37:27 UTC",
  "RemoteUrl": "https://github.com/cran/stressor",
  "RemoteRef": "HEAD",
  "RemoteSha": "d00feeb9b6002ca51363653f352c44841db5096c",
  "MD5sum": "0f3b8dafb5ef02bc6db19c08a833a76d",
  "_user": "samhaycock",
  "_type": "src",
  "_file": "stressor_0.2.0.tar.gz",
  "_fileid": "567ec8e7d417eab263284761cc597e2a2f4e8b1991f19d13fc76e4280142d9e3",
  "_filesize": 767817,
  "_sha256": "567ec8e7d417eab263284761cc597e2a2f4e8b1991f19d13fc76e4280142d9e3",
  "_created": "2026-06-04T09:00:46.000Z",
  "_published": "2026-06-04T09:05:28.249Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79485162462,
      "time": 136,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7407359461"
    },
    {
      "job": 79485162577,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7407356850"
    },
    {
      "job": 79485162444,
      "time": 248,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7407382776"
    },
    {
      "job": 79485162433,
      "time": 157,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7407358430"
    },
    {
      "job": 79484674991,
      "time": 174,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7407311432"
    },
    {
      "job": 79485162436,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7407351917"
    },
    {
      "job": 79485162493,
      "time": 134,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7407358476"
    },
    {
      "job": 79485162477,
      "time": 140,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7407360402"
    },
    {
      "job": 79485162451,
      "time": 170,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7407370347"
    }
  ],
  "_buildurl": "https://github.com/r-universe/samhaycock/actions/runs/26941725589",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/stressor",
  "_commit": {
    "id": "d00feeb9b6002ca51363653f352c44841db5096c",
    "author": "Sam Haycock <haycock.sam@outlook.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.0\n",
    "time": 1714617447
  },
  "_maintainer": {
    "name": "Sam Haycock",
    "email": "haycock.sam@outlook.com",
    "login": "samhaycock",
    "description": "",
    "uuid": 89880522
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "reticulate",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "mlbench",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "samhaycock",
      "count": 2,
      "uuid": 89880522
    }
  ],
  "_userbio": {
    "uuid": 89880522,
    "type": "user",
    "name": "samhaycock"
  },
  "_downloads": {
    "count": 643,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/stressor"
  },
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/stressor.html",
    "manual.pdf"
  ],
  "_realowner": "samhaycock",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-01-31"
    },
    {
      "version": "0.2.0",
      "date": "2024-05-01"
    }
  ],
  "_exports": [
    "create_groups",
    "create_virtualenv",
    "cv",
    "cv_cluster",
    "data_gen_asym",
    "data_gen_lm",
    "data_gen_sine",
    "dist_cent",
    "mlm_classification",
    "mlm_refit",
    "mlm_regressor",
    "python_avail",
    "reg_asym",
    "reg_sine",
    "score",
    "split_data_prob",
    "thinning"
  ],
  "_datasets": [
    {
      "name": "boston",
      "title": "Boston Housing Data",
      "object": "boston",
      "class": [
        "data.frame"
      ],
      "fields": [
        "cmedv",
        "crim",
        "zn",
        "indus",
        "chas",
        "nox",
        "rm",
        "age",
        "dis",
        "rad",
        "tax",
        "ptratio",
        "lstat"
      ],
      "rows": 506,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "boston",
      "title": "Boston Housing Data",
      "topics": [
        "boston"
      ]
    },
    {
      "page": "create_groups",
      "title": "Create Groups for CV",
      "topics": [
        "create_groups"
      ]
    },
    {
      "page": "create_virtualenv",
      "title": "Create `Python` Virtual Environment",
      "topics": [
        "create_virtualenv"
      ]
    },
    {
      "page": "cv",
      "title": "Cross Validation",
      "topics": [
        "cv",
        "cv.lm",
        "cv.mlm_stressor",
        "cv.reg_asym",
        "cv.reg_sine"
      ]
    },
    {
      "page": "cv_cluster",
      "title": "Spatial Cluster-Based Partitions for Cross-Validation",
      "topics": [
        "cv_cluster"
      ]
    },
    {
      "page": "cv_core",
      "title": "Cross Validation Function",
      "topics": [
        "cv_core"
      ]
    },
    {
      "page": "data_gen_asym",
      "title": "Data Generation Asymptotic",
      "topics": [
        "data_gen_asym"
      ]
    },
    {
      "page": "data_gen_lm",
      "title": "Data Generation for Linear Regression",
      "topics": [
        "data_gen_lm"
      ]
    },
    {
      "page": "data_gen_sine",
      "title": "Data Generation for Sinusoidal Regression",
      "topics": [
        "data_gen_sine"
      ]
    },
    {
      "page": "dist_cent",
      "title": "Distance to Center",
      "topics": [
        "dist_cent"
      ]
    },
    {
      "page": "kappa_class",
      "title": "Kappa function",
      "topics": [
        "kappa_class"
      ]
    },
    {
      "page": "mlm_classification",
      "title": "Fit Machine Learning Classification Models",
      "topics": [
        "mlm_classification"
      ]
    },
    {
      "page": "mlm_init",
      "title": "Compare Machine Learning Models",
      "topics": [
        "mlm_init"
      ]
    },
    {
      "page": "mlm_refit",
      "title": "Refit Machine Learning Models",
      "topics": [
        "mlm_refit"
      ]
    },
    {
      "page": "mlm_regressor",
      "title": "Fit Machine Learning Regressor Models",
      "topics": [
        "mlm_regressor"
      ]
    },
    {
      "page": "predict",
      "title": "Prediction Methods for Various Models",
      "topics": [
        "predict",
        "predict.mlm_stressor",
        "predict.reg_asym",
        "predict.reg_sine"
      ]
    },
    {
      "page": "python_avail",
      "title": "Check if `Python` is Available",
      "topics": [
        "python_avail"
      ]
    },
    {
      "page": "reg_asym",
      "title": "Asymptotic Regression",
      "topics": [
        "reg_asym"
      ]
    },
    {
      "page": "reg_sine",
      "title": "Sinusoidal Regression",
      "topics": [
        "reg_sine"
      ]
    },
    {
      "page": "rmse",
      "title": "Root Mean Squarred Error (RMSE)",
      "topics": [
        "rmse"
      ]
    },
    {
      "page": "score",
      "title": "Score Function for Metrics",
      "topics": [
        "score"
      ]
    },
    {
      "page": "score_classification",
      "title": "Score Function for Binary Classification",
      "topics": [
        "score_classification"
      ]
    },
    {
      "page": "score_regression",
      "title": "Score Function for Regression",
      "topics": [
        "score_regression"
      ]
    },
    {
      "page": "split_data_prob",
      "title": "Create Train Index Set",
      "topics": [
        "split_data_prob"
      ]
    },
    {
      "page": "thinning",
      "title": "Thinning Algorithm for Models with Predict Function",
      "topics": [
        "thinning"
      ]
    }
  ],
  "_readme": "https://github.com/cran/stressor/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "dplyr",
    "generics",
    "glue",
    "here",
    "jsonlite",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pillar",
    "pkgconfig",
    "png",
    "R6",
    "rappdirs",
    "Rcpp",
    "RcppTOML",
    "reticulate",
    "rlang",
    "rprojroot",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "stressor.Rmd",
      "filename": "stressor.html",
      "title": "stressor",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Data Generation",
        "Validation of Data Generation",
        "Machine Learning Model Workflow",
        "Real Data Example",
        "Troubleshooting"
      ],
      "created": "2024-02-01 02:41:32",
      "modified": "2024-02-01 02:41:32",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "stressor",
  "_universes": [
    "samhaycock"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-04T09:02:54.000Z",
      "distro": "noble",
      "commit": "d00feeb9b6002ca51363653f352c44841db5096c",
      "fileid": "d4015a2f49babb22fdb3b2e73049b2f911e116e1d7004d610468d20ffb8d4cd5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samhaycock/actions/runs/26941725589"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-04T09:02:51.000Z",
      "distro": "noble",
      "commit": "d00feeb9b6002ca51363653f352c44841db5096c",
      "fileid": "f65b1163c24fe5bdc81cacf731dd28142cb086ad1188bc476bba92d5afba37a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samhaycock/actions/runs/26941725589"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-04T09:03:55.000Z",
      "commit": "d00feeb9b6002ca51363653f352c44841db5096c",
      "fileid": "3444e34cf02cf49ab098c3ddd15dcf0fcab9e1f6d170378eca3327c64b3d2374",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samhaycock/actions/runs/26941725589"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-04T09:02:54.000Z",
      "commit": "d00feeb9b6002ca51363653f352c44841db5096c",
      "fileid": "f47e5ad425e23c6ec7886573af0b779a142f9a904abc404cb5cf159748695b80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samhaycock/actions/runs/26941725589"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-06-04T09:02:58.000Z",
      "commit": "d00feeb9b6002ca51363653f352c44841db5096c",
      "fileid": "8259ad5a1a4e8112632295586bb30b20073cbf961f52f69cdc141b239e312982",
      "status": "success",
      "buildurl": "https://github.com/r-universe/samhaycock/actions/runs/26941725589"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-04T09:02:03.000Z",
      "commit": "d00feeb9b6002ca51363653f352c44841db5096c",
      "fileid": "bb86fbdc577ecf3ff71e69133c53e932a4e2dd1265ea2b0dd54b505615ceb021",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samhaycock/actions/runs/26941725589"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-04T09:02:03.000Z",
      "commit": "d00feeb9b6002ca51363653f352c44841db5096c",
      "fileid": "736adeed62ad30631fd64d4011f28699e508ed4ca77852e075e1ae625268bcf2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samhaycock/actions/runs/26941725589"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-04T09:02:11.000Z",
      "commit": "d00feeb9b6002ca51363653f352c44841db5096c",
      "fileid": "eb11e79294a699ca25ec4e8a202f82eafb97cd754199883d39ccbf283df24a2b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samhaycock/actions/runs/26941725589"
    }
  ]
}