{
  "_id": "6ae251938d250e7ad09eed36",
  "Package": "figsr",
  "Title": "Fast Interpretable Greedy-Tree Sums for Tree Ensembles",
  "Version": "0.2.0",
  "Authors@R": "c(\nperson(\"João Paulo\", \"Assis Bonifácio\", email = \"jpab.27@hotmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"), comment = c(ORCID = \"0009-0009-2335-8391\")),\nperson(\"Geraldo Magela\", \"da Cruz Pereira\", email = \"geraldo.pereira@ufla.br\",\nrole = c(\"aut\", \"cph\"), comment = c(ORCID = \"0000-0001-6280-4870\")),\nperson(\"Pedro\", \"Mambelli Fernandes\", role = c(\"aut\", \"cph\"),\ncomment = c(ORCID = \"0009-0001-1695-279X\")),\nperson(\"João Vitor\", \"Andrade Alves de Souza\", email = \"joaovitor.alvez16@gmail.com\",\nrole = c(\"aut\", \"cph\"), comment = c(ORCID = \"0009-0006-2780-318X\"))\n)",
  "Description": "Flexible, interpretable machine learning algorithm for\nadditive tree sums (FIGS). Fits a sum of shallow classification\nand regression trees (CART) by greedily minimizing residual\nimpurity, growing a new tree or deepening an existing one at\neach step, whichever reduces the residuals most. Supports\nregression and two-class classification, variable importance,\n'ggplot2' graphics, bootstrap ensembling and seamless\nintegration with 'parsnip' and 'tidymodels' workflows. The\nmethod is described in Tan et al. (2023)\n<doi:10.1073/pnas.2310151122>.",
  "License": "MIT + file LICENSE",
  "URL": "https://bonijoao.github.io/figsr/,\nhttps://github.com/bonijoao/figsr",
  "BugReports": "https://github.com/bonijoao/figsr/issues",
  "VignetteBuilder": "knitr, rmarkdown",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-28 19:44:52 UTC",
    "User": "root"
  },
  "Author": "João Paulo Assis Bonifácio [aut, cre, cph] (ORCID:\n<https://orcid.org/0009-0009-2335-8391>), Geraldo Magela da\nCruz Pereira [aut, cph] (ORCID:\n<https://orcid.org/0000-0001-6280-4870>), Pedro Mambelli\nFernandes [aut, cph] (ORCID:\n<https://orcid.org/0009-0001-1695-279X>), João Vitor Andrade\nAlves de Souza [aut, cph] (ORCID:\n<https://orcid.org/0009-0006-2780-318X>)",
  "Maintainer": "João Paulo Assis Bonifácio <jpab.27@hotmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-28 03:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/figsr",
  "RemoteRef": "HEAD",
  "RemoteSha": "c5b0a6675f33a03d324a1aca660fb9a52724a9d2",
  "_user": "cran",
  "_type": "src",
  "_file": "figsr_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/876fdd8100892a5ccd1ff8a5dcf15a8377283d5edfb604ef0524b5643ec76899",
  "_filesize": 627929,
  "_sha256": "876fdd8100892a5ccd1ff8a5dcf15a8377283d5edfb604ef0524b5643ec76899",
  "_expires": "2027-02-05T19:48:32.000Z",
  "_created": "2026-10-28T19:44:52.000Z",
  "_published": "2026-10-28T19:48:35.676Z",
  "_upstream": "https://github.com/cran/figsr",
  "_status": "success",
  "_maintainer": {
    "name": "João Paulo Assis Bonifácio",
    "email": "jpab.27@hotmail.com",
    "login": "bonijoao",
    "orcid": "0009-0009-2335-8391",
    "description": "Physicist | MSc & BSc in Statistics | R package developer | Time Series & Machine Learning",
    "uuid": 87396526
  },
  "_jobs": [
    {
      "job": 123058898721,
      "time": 177,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12846186955"
    },
    {
      "job": 123058898725,
      "time": 171,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12846931371"
    },
    {
      "job": 123053118742,
      "time": 662,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12844999564"
    },
    {
      "job": 123058898702,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12845932685"
    },
    {
      "job": 123058899243,
      "time": 134,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12846092837"
    },
    {
      "job": 123058898951,
      "time": 134,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12846891936"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40755412290",
  "_commit": {
    "id": "c5b0a6675f33a03d324a1aca660fb9a52724a9d2",
    "author": "João Paulo Assis Bonifácio <jpab.27@hotmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.0\n",
    "time": 1793157602
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "dials",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 4.0.0",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "parsnip",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "ggiraph",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "recipes",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "workflows",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-36",
      "n": 2
    },
    {
      "week": "2026-44",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-08-31"
    },
    {
      "name": "0.1.1",
      "date": "2026-08-31"
    },
    {
      "name": "0.2.0",
      "date": "2026-10-28"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "bonijoao",
      "count": 3,
      "uuid": 87396526
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 324,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/figsr"
  },
  "_devurl": "https://github.com/bonijoao/figsr",
  "_pkgdown": "https://bonijoao.github.io/figsr/",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/figsr.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/bonijoao/figsr",
  "_realowner": "bonijoao",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-09-08"
    },
    {
      "version": "0.1.1",
      "date": "2026-09-08"
    },
    {
      "version": "0.2.0",
      "date": "2026-10-28"
    }
  ],
  "_exports": [
    "bagging_figs",
    "figs",
    "figs_tree",
    "figsr_importance",
    "fit_figs",
    "ggfigs",
    "max_splits",
    "max_trees",
    "predict_figs"
  ],
  "_datasets": [
    {
      "name": "pima_diabetes",
      "title": "Pima Indians Diabetes Database",
      "object": "pima_diabetes",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Pregnancies",
        "Glucose",
        "BloodPressure",
        "SkinThickness",
        "Insulin",
        "BMI",
        "DiabetesPedigreeFunction",
        "Age",
        "Outcome"
      ],
      "rows": 768,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bagging_figs",
      "title": "Bagging-FIGS: Ensemble of FIGS Models",
      "topics": [
        "bagging_figs"
      ]
    },
    {
      "page": "figs",
      "title": "Fit Fast Interpretable Greedy-Tree Sums (FIGS)",
      "topics": [
        "figs"
      ]
    },
    {
      "page": "figs_tree",
      "title": "FIGS Model Specification for Parsnip",
      "topics": [
        "figs_tree"
      ]
    },
    {
      "page": "figsr_importance",
      "title": "Calculate Variable Importance for a 'figsr_fit' Model",
      "topics": [
        "figsr_importance"
      ]
    },
    {
      "page": "fit_figs",
      "title": "Fitting Bridge for the Parsnip Interface",
      "topics": [
        "fit_figs"
      ]
    },
    {
      "page": "ggfigs",
      "title": "'ggplot2' Graphics for 'figsr_fit' Models",
      "topics": [
        "autoplot.figsr_fit",
        "ggfigs"
      ]
    },
    {
      "page": "max_splits",
      "title": "Dials Parameter for Maximum Splits",
      "topics": [
        "max_splits"
      ]
    },
    {
      "page": "max_trees",
      "title": "Dials Parameter for Maximum Trees",
      "topics": [
        "max_trees"
      ]
    },
    {
      "page": "pima_diabetes",
      "title": "Pima Indians Diabetes Database",
      "topics": [
        "pima_diabetes"
      ]
    },
    {
      "page": "plot.figsr_fit",
      "title": "Plot Method for 'figsr_fit' Models",
      "topics": [
        "plot.figsr_fit"
      ]
    },
    {
      "page": "predict_figs",
      "title": "Internal / Parsnip Predict Bridge Function for 'figsr_fit'",
      "topics": [
        "predict_figs"
      ]
    },
    {
      "page": "predict.bagging_figs_fit",
      "title": "Predict Method for 'bagging_figs_fit' Models",
      "topics": [
        "predict.bagging_figs_fit"
      ]
    },
    {
      "page": "predict.figsr_fit",
      "title": "Predict Method for 'figsr_fit' Models",
      "topics": [
        "predict.figsr_fit"
      ]
    },
    {
      "page": "print.figsr_fit",
      "title": "Print Method for 'figsr_fit' Models",
      "topics": [
        "print.figsr_fit"
      ]
    },
    {
      "page": "summary.figsr_fit",
      "title": "Summary Method for 'figsr_fit' Models",
      "topics": [
        "summary.figsr_fit"
      ]
    },
    {
      "page": "update.figs_tree",
      "title": "Update a FIGS Model Specification",
      "topics": [
        "update.figs_tree"
      ]
    }
  ],
  "_readme": "https://github.com/cran/figsr/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "cpp11",
    "dials",
    "DiceDesign",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gtable",
    "hardhat",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "parsnip",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "sfd",
    "sparsevctrs",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "figsr-intro.Rmd",
      "filename": "figsr-intro.html",
      "title": "Getting Started with figsr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction to FIGS",
        "A regression fit",
        "Variable importance",
        "Visualizing the tree sum",
        "Two-class classification",
        "Missing values",
        "Use inside tidymodels",
        "Bootstrap ensembling",
        "Limitations"
      ],
      "created": "2026-08-31 14:10:07",
      "modified": "2026-10-28 03:20:02",
      "commits": 3
    },
    {
      "source": "missing-values.Rmd",
      "filename": "missing-values.html",
      "title": "Missing Values in figsr: A Worked Example",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The Pima Indians Diabetes Database",
        "Fitting with and without na_method = \"mia\"",
        "Coverage, not just accuracy",
        "Reading the tree sum",
        "Visualizing the tree sum",
        "When to impute instead",
        "References"
      ],
      "created": "2026-10-28 03:20:02",
      "modified": "2026-10-28 03:20:02",
      "commits": 1
    }
  ],
  "_score": 3.3010299956639813,
  "_indexed": false,
  "_nocasepkg": "figsr",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://bonijoao.r-universe.dev/figsr",
  "_previous": "0.1.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-28T19:47:36.000Z",
      "distro": "resolute",
      "commit": "c5b0a6675f33a03d324a1aca660fb9a52724a9d2",
      "fileid": "https://r2.ropensci.org/035352878fa22813b38a425d95f72dc246bb4fc702414b1e1ff46f037d11ae88",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40755412290"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-28T19:47:11.000Z",
      "distro": "resolute",
      "commit": "c5b0a6675f33a03d324a1aca660fb9a52724a9d2",
      "fileid": "https://r2.ropensci.org/29d43cc30315a57b3649a585a23393245fefbb8b9cb2fd0be52f93d11a303788",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40755412290"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-28T19:47:06.000Z",
      "commit": "c5b0a6675f33a03d324a1aca660fb9a52724a9d2",
      "fileid": "https://r2.ropensci.org/6da0beca4f3c13ec9cc9e4c98c418924fab75ea6e36c203987723dd950d60402",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40755412290"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-28T19:46:29.000Z",
      "commit": "c5b0a6675f33a03d324a1aca660fb9a52724a9d2",
      "fileid": "https://r2.ropensci.org/2de7e3001aca182568f6f5f3487da206d8cc722c00d6a3c91acb628f897cf8af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40755412290"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-28T19:46:19.000Z",
      "commit": "c5b0a6675f33a03d324a1aca660fb9a52724a9d2",
      "fileid": "https://r2.ropensci.org/966302a16d50c0c22f7bce08b832871be6f713c9fd64dc1235ce06dd06422cc6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40755412290"
    }
  ]
}