{
  "_id": "6ab77c9b99f7aa8c6aa3134e",
  "Package": "foresty",
  "Title": "Forest Plots and Subgroup Effects from Fitted Regression Models",
  "Version": "0.2.0.9000",
  "Authors@R": "c(\nperson(\n\"Akihiro\", \"Shiroshita\",\nemail = \"akihirokun8@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\")\n),\nperson(\n\"Yuki\", \"Kataoka\",\nemail = \"youkiti@gmail.com\",\nrole = \"aut\"\n)\n)",
  "Description": "Draws forest plots of exposure effects from fitted\nregression models. Name an exposure and 'foresty' plots its\neffect. Name an effect modifier as well and it refits the model\nwith the interaction term, estimates the exposure effect within\neach level of the modifier as a linear combination of the\ncoefficients, and reports the joint interaction test beside\nthose estimates. It takes one exposure and one modifier at a\ntime, so the interaction is always a two-way one. Rows of the\nplot and of the table beside it share one scale, in a layout\nthat can follow a journal's house style. The same results go to\na self-contained HTML page holding the subgroup estimates, the\njoint test and the coefficient table. The 'car' package\ncomputes the linear combinations and their tests. Models fitted\nby stats::glm(), stats::lm(), the 'survival' package, the\n'lme4' package, the 'geepack' package and the 'survey' package\nare supported, as is any fit supplying coef() and vcov().\nOrdinal outcomes are supported through the 'MASS' package and\nnominal ones through the 'nnet' package, where the figure\ncarries one row per level of the outcome and the interaction is\ntested jointly across the equations. Fits from the 'rms'\npackage are refused, naming the function that fits the same\nmodel in their place. The estimation of an exposure effect\nwithin a level of a modifier, and the test of the difference\nbetween such estimates, follow Altman and Bland (2003)\n<doi:10.1136/bmj.326.7382.219> and VanderWeele and Knol (2014)\n<doi:10.1515/em-2013-0005>; the reporting of subgroup effects\nbeside the interaction test follows Wang et al. (2007)\n<doi:10.1056/NEJMsr077003>, and the figure itself the forest\nplot described by Lewis and Clarke (2001)\n<doi:10.1136/bmj.322.7300.1479>.",
  "License": "GPL-3",
  "URL": "https://github.com/AkiShiroshita/foresty,\nhttps://akishiroshita.github.io/foresty/",
  "BugReports": "https://github.com/AkiShiroshita/foresty/issues",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://akishiroshita.r-universe.dev",
  "Date/Publication": "2026-09-26 02:16:49 UTC",
  "RemoteUrl": "https://github.com/akishiroshita/foresty",
  "RemoteRef": "HEAD",
  "RemoteSha": "9755a7fbda9c9293c536136a9f04f59fef2a3eb3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-26 07:59:11 UTC",
    "User": "root"
  },
  "Author": "Akihiro Shiroshita [aut, cre, cph],\nYuki Kataoka [aut]",
  "Maintainer": "Akihiro Shiroshita <akihirokun8@gmail.com>",
  "_user": "akishiroshita",
  "_type": "src",
  "_file": "foresty_0.2.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/61693308372286021dc299a957aa05e2364a560e4a157c26ea3eafc470441c28",
  "_filesize": 1130153,
  "_sha256": "61693308372286021dc299a957aa05e2364a560e4a157c26ea3eafc470441c28",
  "_expires": "2027-01-04T08:04:41.000Z",
  "_created": "2026-09-26T07:59:11.000Z",
  "_published": "2026-09-26T08:04:43.155Z",
  "_jobs": [
    {
      "job": 108366821554,
      "time": 288,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10901655965"
    },
    {
      "job": 108366821481,
      "time": 279,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10901631857"
    },
    {
      "job": 108366821507,
      "time": 162,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10902210441"
    },
    {
      "job": 108366821444,
      "time": 150,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10902370020"
    },
    {
      "job": 108366324605,
      "time": 230,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10901159948"
    },
    {
      "job": 108366821635,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10901219895"
    },
    {
      "job": 108366821487,
      "time": 239,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10902385206"
    },
    {
      "job": 108366821451,
      "time": 244,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10902130751"
    },
    {
      "job": 108366821506,
      "time": 244,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10902210535"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/akishiroshita/actions/runs/36228247989",
  "_status": "success",
  "_upstream": "https://github.com/akishiroshita/foresty",
  "_commit": {
    "id": "9755a7fbda9c9293c536136a9f04f59fef2a3eb3",
    "author": "AkiShiroshita <55659285+AkiShiroshita@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #6 from AkiShiroshita/after-cran-0.2.0\n\nRecord the 0.2.0 CRAN release and begin development",
    "time": 1790389009
  },
  "_maintainer": {
    "name": "Akihiro Shiroshita",
    "email": "akihirokun8@gmail.com",
    "login": "akishiroshita",
    "description": "Akihiro Shiroshita, MD, MPH.\nPhD candidate.\nDivision of Epidemiology, Department of Medicine, Vanderbilt University School of Medicine",
    "uuid": 55659285
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "car",
      "version": ">= 3.1.0",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "version": ">= 2.1.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "scales",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "base64enc",
      "role": "Suggests"
    },
    {
      "package": "broom",
      "version": ">= 1.0.0",
      "role": "Suggests"
    },
    {
      "package": "bslib",
      "version": ">= 0.5.0",
      "role": "Suggests"
    },
    {
      "package": "data.table",
      "role": "Suggests"
    },
    {
      "package": "geepack",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "version": ">= 0.9.0",
      "role": "Suggests"
    },
    {
      "package": "Hmisc",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lme4",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "nnet",
      "role": "Suggests"
    },
    {
      "package": "ragg",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rms",
      "role": "Suggests"
    },
    {
      "package": "sandwich",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "version": ">= 1.7.0",
      "role": "Suggests"
    },
    {
      "package": "survey",
      "version": ">= 4.1",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "version": ">= 3.2.0",
      "role": "Suggests"
    },
    {
      "package": "svglite",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "zip",
      "role": "Suggests"
    }
  ],
  "_owner": "akishiroshita",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-33",
      "n": 17
    },
    {
      "week": "2026-34",
      "n": 8
    },
    {
      "week": "2026-35",
      "n": 2
    },
    {
      "week": "2026-36",
      "n": 6
    },
    {
      "week": "2026-37",
      "n": 2
    },
    {
      "week": "2026-38",
      "n": 2
    },
    {
      "week": "2026-39",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-09-03"
    },
    {
      "name": "v0.2.0",
      "date": "2026-09-26"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "akishiroshita",
      "count": 6,
      "uuid": 55659285
    }
  ],
  "_userbio": {
    "uuid": 55659285,
    "type": "user",
    "name": "AkiShiroshita",
    "followers": 1,
    "description": "Akihiro Shiroshita, MD, MPH.\r\nPhD candidate.\r\nDivision of Epidemiology, Department of Medicine, Vanderbilt University School of Medicine"
  },
  "_downloads": {
    "count": 258,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/foresty"
  },
  "_devurl": "https://github.com/akishiroshita/foresty",
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/foresty.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/akishiroshita/foresty",
  "_realowner": "akishiroshita",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-09-12"
    },
    {
      "version": "0.2.0",
      "date": "2026-09-25"
    }
  ],
  "_exports": [
    "foresty_app",
    "foresty_colors",
    "foresty_combine",
    "foresty_data",
    "foresty_interaction",
    "foresty_layout",
    "foresty_main",
    "foresty_report"
  ],
  "_datasets": [
    {
      "name": "foresty_cohort",
      "title": "A simulated birth cohort",
      "object": "foresty_cohort",
      "class": [
        "data.frame"
      ],
      "fields": [
        "asthma",
        "asthma_severity",
        "wheeze",
        "wheeze_phenotype",
        "followup_years",
        "no2",
        "black_carbon",
        "sex",
        "maternal_smoking",
        "maternal_asthma",
        "maternal_age",
        "birth_year",
        "urbanicity"
      ],
      "rows": 4000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "foresty_app",
      "title": "Build a forest plot by clicking",
      "topics": [
        "foresty_app"
      ]
    },
    {
      "page": "foresty_cohort",
      "title": "A simulated birth cohort",
      "topics": [
        "foresty_cohort"
      ]
    },
    {
      "page": "foresty_colors",
      "title": "The qualitative palettes a figure can be colored from",
      "topics": [
        "foresty_colors"
      ]
    },
    {
      "page": "foresty_combine",
      "title": "Combine several foresty figures into one forest plot",
      "topics": [
        "foresty_combine"
      ]
    },
    {
      "page": "foresty_data",
      "title": "Draw a forest plot and its table from a data frame of estimates",
      "topics": [
        "foresty_data"
      ]
    },
    {
      "page": "foresty_interaction",
      "title": "Exposure effect within each level of an effect modifier",
      "topics": [
        "foresty_interaction"
      ]
    },
    {
      "page": "foresty_layout",
      "title": "Layout and style of a foresty figure",
      "topics": [
        "foresty_layout"
      ]
    },
    {
      "page": "foresty_main",
      "title": "Forest plot of exposure effects across models",
      "topics": [
        "foresty_main"
      ]
    },
    {
      "page": "foresty_report",
      "title": "Write a foresty figure and its numbers to a self-contained HTML page",
      "topics": [
        "foresty_report"
      ]
    },
    {
      "page": "foresty-model-methods",
      "title": "Model methods for foresty figures",
      "topics": [
        "coef.foresty",
        "foresty-model-methods",
        "formula.foresty",
        "model.frame.foresty",
        "nobs.foresty",
        "predict.foresty",
        "vcov.foresty"
      ]
    },
    {
      "page": "foresty-tidiers",
      "title": "Turn a foresty figure into a data frame",
      "topics": [
        "as.data.frame.foresty",
        "foresty-tidiers",
        "glance.foresty",
        "tidy.foresty"
      ]
    },
    {
      "page": "print.foresty",
      "title": "Draw a forest plot",
      "topics": [
        "grid.draw.foresty",
        "plot.foresty",
        "print.foresty"
      ]
    },
    {
      "page": "summary.foresty",
      "title": "Summarize a foresty figure",
      "topics": [
        "print.summary.foresty",
        "summary.foresty"
      ]
    }
  ],
  "_pkglogo": "https://github.com/akishiroshita/foresty/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/akishiroshita/foresty/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "checkmate",
    "cli",
    "colorspace",
    "cowplot",
    "cpp11",
    "Deriv",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "minqa",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "patchwork",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "forest.Rmd",
      "filename": "forest.html",
      "title": "Forest plots with foresty",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is foresty?",
        "Before you start",
        "Fit a model",
        "Launch the app",
        "Choose the comparison",
        "Create an interaction figure in R",
        "Combine and style figures",
        "Complex survey designs",
        "Outcomes with more than two levels",
        "Reproduce and export results",
        "Where to read next"
      ],
      "created": "2026-08-16 16:38:45",
      "modified": "2026-09-14 18:52:36",
      "commits": 6
    }
  ],
  "_score": 4.544068044350276,
  "_indexed": true,
  "_nocasepkg": "foresty",
  "_universes": [
    "akishiroshita"
  ],
  "_previous": "0.2.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0.9000",
      "date": "2026-09-26T08:02:03.000Z",
      "distro": "resolute",
      "commit": "9755a7fbda9c9293c536136a9f04f59fef2a3eb3",
      "fileid": "https://r2.ropensci.org/3d6e2facf5ee390b571ebffcf436c1110a3af3c12dd792d39725a69e13b90565",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/akishiroshita/actions/runs/36228247989"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0.9000",
      "date": "2026-09-26T08:02:01.000Z",
      "distro": "resolute",
      "commit": "9755a7fbda9c9293c536136a9f04f59fef2a3eb3",
      "fileid": "https://r2.ropensci.org/55865c525660d7feac99b218948ce0ac918cac55874e38899f3f965245611b42",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/akishiroshita/actions/runs/36228247989"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0.9000",
      "date": "2026-09-26T08:00:51.000Z",
      "commit": "9755a7fbda9c9293c536136a9f04f59fef2a3eb3",
      "fileid": "https://r2.ropensci.org/090af8533ad9b5290fba6d18005101f2874c9ecddd1d720a9d0d8bc10753b0c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/akishiroshita/actions/runs/36228247989"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0.9000",
      "date": "2026-09-26T08:00:45.000Z",
      "commit": "9755a7fbda9c9293c536136a9f04f59fef2a3eb3",
      "fileid": "https://r2.ropensci.org/3691631b9e3b69b6aa04458a24c3df82ce756bb70f98a71c007acf606a2f87ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/akishiroshita/actions/runs/36228247989"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0.9000",
      "date": "2026-09-26T08:01:53.000Z",
      "commit": "9755a7fbda9c9293c536136a9f04f59fef2a3eb3",
      "fileid": "https://r2.ropensci.org/48fff7923026da44cb4d4f3374fc2ca137abac33bd6e3ef086543a6c6a9a9f64",
      "status": "success",
      "buildurl": "https://github.com/r-universe/akishiroshita/actions/runs/36228247989"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0.9000",
      "date": "2026-09-26T08:00:38.000Z",
      "commit": "9755a7fbda9c9293c536136a9f04f59fef2a3eb3",
      "fileid": "https://r2.ropensci.org/113e9c510b1c23b46a61a819af3513c566f28403500b94baa7e283f85a42da8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/akishiroshita/actions/runs/36228247989"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0.9000",
      "date": "2026-09-26T08:00:39.000Z",
      "commit": "9755a7fbda9c9293c536136a9f04f59fef2a3eb3",
      "fileid": "https://r2.ropensci.org/02dc08649a1bc00d5f46443783a4103b58887523c714778e178187105015ea89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/akishiroshita/actions/runs/36228247989"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0.9000",
      "date": "2026-09-26T08:00:36.000Z",
      "commit": "9755a7fbda9c9293c536136a9f04f59fef2a3eb3",
      "fileid": "https://r2.ropensci.org/4a124f0cc03a4d76a2eef2e4ce2f31142842a0b1b9e9781764e6bfba55c17d54",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/akishiroshita/actions/runs/36228247989"
    }
  ]
}