{
  "_id": "6aca6d96fe5cc25786e88ef7",
  "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-10-10 15:50:39 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",
  "_user": "samhaycock",
  "_type": "src",
  "_file": "stressor_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/5f8228417854fcbb9ef6ba837b5b88123602855b08b6d423444b9cdb67b05c4e",
  "_filesize": 768001,
  "_sha256": "5f8228417854fcbb9ef6ba837b5b88123602855b08b6d423444b9cdb67b05c4e",
  "_expires": "2027-01-18T16:53:40.000Z",
  "_created": "2026-10-10T15:50:39.000Z",
  "_published": "2026-10-10T16:53:42.025Z",
  "_buildurl": "https://github.com/r-universe/samhaycock/actions/runs/38065050741",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114251509211,
      "time": 121,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11674501957"
    },
    {
      "job": 114251509173,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11674602986"
    },
    {
      "job": 114251509220,
      "time": 207,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11676018412"
    },
    {
      "job": 114251509210,
      "time": 214,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11675738922"
    },
    {
      "job": 114250957861,
      "time": 166,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11674687260"
    },
    {
      "job": 114251509131,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11675300519"
    },
    {
      "job": 114251509135,
      "time": 133,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11675261774"
    },
    {
      "job": 114251509187,
      "time": 145,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11675096969"
    },
    {
      "job": 114251509194,
      "time": 138,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11674992163"
    }
  ],
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 1
  },
  "_downloads": {
    "count": 349,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/stressor"
  },
  "_searchresults": 7,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/stressor.html",
    "LICENSE"
  ],
  "_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-10-10T15:52:32.000Z",
      "distro": "resolute",
      "commit": "d00feeb9b6002ca51363653f352c44841db5096c",
      "fileid": "https://r2.ropensci.org/0a62ca0d94de8a8497ffb9b454695e9c48e25c2c7deaa1eb22973c7c78722138",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samhaycock/actions/runs/38065050741"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-10T15:52:38.000Z",
      "distro": "resolute",
      "commit": "d00feeb9b6002ca51363653f352c44841db5096c",
      "fileid": "https://r2.ropensci.org/0e34348ee0f5a6081444268765e4e7372d410aa3faea0aea5f7f7665431def98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samhaycock/actions/runs/38065050741"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-10T16:49:56.000Z",
      "commit": "d00feeb9b6002ca51363653f352c44841db5096c",
      "fileid": "https://r2.ropensci.org/3c269308e30d8f7f7e2f1a67352ed746729daccabc81281e364129cc40a29cd0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samhaycock/actions/runs/38065050741"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-10T16:51:29.000Z",
      "commit": "d00feeb9b6002ca51363653f352c44841db5096c",
      "fileid": "https://r2.ropensci.org/a1d65306d8cc9b99564853bd60802d74833a5f1a707f73816cd9d429eefaeeaf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samhaycock/actions/runs/38065050741"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-10T15:52:45.000Z",
      "commit": "d00feeb9b6002ca51363653f352c44841db5096c",
      "fileid": "https://r2.ropensci.org/64f3aa2f8be05a8759ca6afc822d450a12959d7118f23e2d15e491e3e01b9a18",
      "status": "success",
      "buildurl": "https://github.com/r-universe/samhaycock/actions/runs/38065050741"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-10T15:51:41.000Z",
      "commit": "d00feeb9b6002ca51363653f352c44841db5096c",
      "fileid": "https://r2.ropensci.org/37e0c5a10d096f6316aa5fded10f73444b3ca761e5c92d2f61b9f23d9f45891b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samhaycock/actions/runs/38065050741"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-10T15:51:55.000Z",
      "commit": "d00feeb9b6002ca51363653f352c44841db5096c",
      "fileid": "https://r2.ropensci.org/f74b035ea957760d57ceefe6d09368fc21a33415db9d8ff6e80254b370811b87",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samhaycock/actions/runs/38065050741"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-10T15:51:56.000Z",
      "commit": "d00feeb9b6002ca51363653f352c44841db5096c",
      "fileid": "https://r2.ropensci.org/8efaeafc3a0fb1afbe9e3ae6cb8163dc2e87ce100a995413f4ddc56cade0cf5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/samhaycock/actions/runs/38065050741"
    }
  ]
}