{
  "_id": "6a3bf215bab6ba93a1603c6b",
  "Package": "preventr",
  "Title": "An Implementation of the PREVENT and Pooled Cohort Equations",
  "Version": "0.12.0",
  "Date": "2026-06-23",
  "Authors@R": "person(\"Martin\", \"Mayer\", , \"mmayer@ebsco.com\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-3210-2274\"))",
  "Description": "Implements the American Heart Association Predicting Risk\nof cardiovascular disease EVENTs (PREVENT) equations from Khan\nSS, Matsushita K, Sang Y, and colleagues (2023)\n<doi:10.1161/CIRCULATIONAHA.123.067626>, with optional\ncomparison with their de facto predecessor, the Pooled Cohort\nEquations from the American Heart Association and American\nCollege of Cardiology (2013)\n<doi:10.1161/01.cir.0000437741.48606.98> and the revision to\nthe Pooled Cohort Equations from Yadlowsky and colleagues\n(2018) <doi:10.7326/M17-3011>.",
  "License": "MIT + file LICENSE",
  "URL": "https://martingmayer.com/preventr,\nhttps://github.com/martingmayer/preventr,\nhttps://martingmayer.shinyapps.io/prevent-equations/",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "rmarkdown",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://martingmayer.r-universe.dev",
  "Date/Publication": "2026-06-24 11:30:18 UTC",
  "RemoteUrl": "https://github.com/martingmayer/preventr",
  "RemoteRef": "HEAD",
  "RemoteSha": "ebe2ac15c38569c3bdaf871c4853b6eeff77b039",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-24 14:59:19 UTC",
    "User": "root"
  },
  "Author": "Martin Mayer [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-3210-2274>)",
  "Maintainer": "Martin Mayer <mmayer@ebsco.com>",
  "MD5sum": "d94c42eb0d796602a3e3d0cb7cd31527",
  "_user": "martingmayer",
  "_type": "src",
  "_file": "preventr_0.12.0.tar.gz",
  "_fileid": "2754e270fb12dddda8d95842bbe936396759da2e102e3bc9b78c0c2ad5e299dd",
  "_filesize": 2203641,
  "_sha256": "2754e270fb12dddda8d95842bbe936396759da2e102e3bc9b78c0c2ad5e299dd",
  "_created": "2026-06-24T14:59:19.000Z",
  "_published": "2026-06-24T15:04:53.826Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 83227261641,
      "time": 283,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7853614953"
    },
    {
      "job": 83227261658,
      "time": 289,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7853617405"
    },
    {
      "job": 83227261628,
      "time": 213,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7853573038"
    },
    {
      "job": 83227261665,
      "time": 292,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7853607808"
    },
    {
      "job": 83226228334,
      "time": 259,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7853481998"
    },
    {
      "job": 83227261883,
      "time": 150,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7853553585"
    },
    {
      "job": 83227261602,
      "time": 252,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7853599933"
    },
    {
      "job": 83227261615,
      "time": 251,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7853599390"
    },
    {
      "job": 83227261686,
      "time": 267,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7853606603"
    }
  ],
  "_buildurl": "https://github.com/r-universe/martingmayer/actions/runs/28107646934",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/martingmayer/preventr",
  "_commit": {
    "id": "ebe2ac15c38569c3bdaf871c4853b6eeff77b039",
    "author": "martingmayer <84666325+martingmayer@users.noreply.github.com>",
    "committer": "martingmayer <84666325+martingmayer@users.noreply.github.com>",
    "message": "preventr 0.12.0 - ready for CRAN\n",
    "time": 1782300618
  },
  "_maintainer": {
    "name": "Martin Mayer",
    "email": "mmayer@ebsco.com",
    "login": "mmayerebsco",
    "description": "",
    "uuid": 182695893,
    "orcid": "0000-0003-3210-2274"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "utils",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    }
  ],
  "_owner": "martingmayer",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-26",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 40,
  "_contributors": [
    {
      "user": "martingmayer",
      "count": 12,
      "uuid": 84666325
    }
  ],
  "_userbio": {
    "uuid": 84666325,
    "type": "user",
    "name": "Martin Mayer",
    "followers": 9,
    "description": "Practicing clinician-scientist ▪ Internal medicine & cardiology ▪ Research methods, biostatistics, & evidence synthesis ▪ Expertise in R ▪ Website has details"
  },
  "_downloads": {
    "count": 872,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/preventr"
  },
  "_devurl": "https://github.com/martingmayer/preventr",
  "_pkgdown": "https://martingmayer.com/preventr",
  "_searchresults": 11,
  "_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/preventr.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/martingmayer/preventr",
  "_realowner": "martingmayer",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.9.0",
      "date": "2024-02-26"
    },
    {
      "version": "0.10.0",
      "date": "2024-08-17"
    },
    {
      "version": "0.11.0",
      "date": "2025-01-26"
    },
    {
      "version": "0.12.0",
      "date": "2026-06-24"
    }
  ],
  "_exports": [
    "app",
    "est_risk",
    "estimate_risk",
    "plot_risk"
  ],
  "_help": [
    {
      "page": "app",
      "title": "Navigate to browser-based Shiny implementation of PREVENT equations",
      "topics": [
        "app"
      ]
    },
    {
      "page": "estimate_risk",
      "title": "Estimate risk of cardiovascular events using the American Heart Association (AHA) Predicting Risk of cardiovascular disease EVENTs (PREVENT) equations, with optional comparison to their _de facto_ predecessor, the Pooled Cohort Equations (PCEs) from the AHA and American College of Cardiology (ACC)",
      "topics": [
        "estimate_risk",
        "est_risk"
      ]
    },
    {
      "page": "plot_risk",
      "title": "Plot risk estimates from 'estimate_risk()'",
      "topics": [
        "plot_risk"
      ]
    }
  ],
  "_pkglogo": "https://github.com/martingmayer/preventr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/martingmayer/preventr/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "plot-risk.Rmd",
      "filename": "plot-risk.html",
      "title": "Plotting risk estimates",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "What plot_risk() expects",
        "Example data used in this vignette",
        "The default behavior for data-frame input",
        "Return formats and the roles of add_to_dat and collapse",
        "Rendering plots directly",
        "Using a manually constructed data frame",
        "Reordering or restricting outcomes",
        "Annotation controls",
        "Removing annotation",
        "Keeping only selected annotation components",
        "Showing the 30-year age-warning subtitle",
        "Color schemes",
        "Single-color plots",
        "Category-based plots",
        "Cleaning threshold input",
        "Legend and threshold-line controls",
        "Removing the legend",
        "Removing the dashed threshold lines",
        "Keeping lines but removing line text",
        "Base font size",
        "Multiple time horizons in one data frame",
        "Multiple people in one data frame",
        "Working with a list of data frames",
        "Returning a list of data frames with plots attached",
        "Collapsing a list input to one data frame",
        "Returning only the plots from a list input",
        "Malformed list input is not accepted",
        "Strict logical arguments",
        "Viewing data frames with plots as a list column",
        "Notes on progress",
        "Summary"
      ],
      "created": "2026-06-24 11:30:18",
      "modified": "2026-06-24 11:30:18",
      "commits": 1
    },
    {
      "source": "using-data-frame.Rmd",
      "filename": "using-data-frame.html",
      "title": "Using preventr with a data frame",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Using use_dat and add_to_dat",
        "Our first call using use_dat",
        "Progress bar",
        "Passing a data frame with a predictor variable located in a differently-named column",
        "Optional behavior variables: Data frame vs. in the call",
        "Number of rows returned for a given input row = number of models requested",
        "add_to_dat",
        "Type-stability of return",
        "What about the PCEs?",
        "What about the convenience functions for eGFR and BMI?",
        "I don't want to use use_dat and add_to_dat",
        "Then don't!",
        "lapply()",
        "Map()",
        "purrr::pmap()",
        "Wrap-up"
      ],
      "created": "2025-01-26 13:11:59",
      "modified": "2026-06-24 11:30:18",
      "commits": 2
    }
  ],
  "_score": 6.1205739312058505,
  "_indexed": true,
  "_nocasepkg": "preventr",
  "_universes": [
    "martingmayer",
    "mmayerebsco"
  ],
  "_previous": "0.11.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.12.0",
      "date": "2026-06-24T15:01:53.000Z",
      "distro": "resolute",
      "commit": "ebe2ac15c38569c3bdaf871c4853b6eeff77b039",
      "fileid": "7c1975937a5dad9662bd48e2605bf318c4791840e5bec976fbc0e968a1d91b38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martingmayer/actions/runs/28107646934"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.12.0",
      "date": "2026-06-24T15:01:53.000Z",
      "distro": "resolute",
      "commit": "ebe2ac15c38569c3bdaf871c4853b6eeff77b039",
      "fileid": "d8dd825aebaa83df0e6365f92dfece48caba6269b61e5f857f86429b135c47d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martingmayer/actions/runs/28107646934"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.12.0",
      "date": "2026-06-24T15:01:28.000Z",
      "commit": "ebe2ac15c38569c3bdaf871c4853b6eeff77b039",
      "fileid": "87d4fd1d537e19256037f8c40a340ae61e832434fca093ba676b6134f1946f91",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martingmayer/actions/runs/28107646934"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.12.0",
      "date": "2026-06-24T15:01:54.000Z",
      "commit": "ebe2ac15c38569c3bdaf871c4853b6eeff77b039",
      "fileid": "7ddb86e20ede70442fe4554b3d6f3b59929050ed96079b7fb696701ce8fd1da5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martingmayer/actions/runs/28107646934"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.12.0",
      "date": "2026-06-24T15:02:10.000Z",
      "commit": "ebe2ac15c38569c3bdaf871c4853b6eeff77b039",
      "fileid": "fe60496e3510009f730b0a61ebcfd5c848262ffb76bfa0b92753817c44fdd8cb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/martingmayer/actions/runs/28107646934"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.12.0",
      "date": "2026-06-24T15:00:47.000Z",
      "commit": "ebe2ac15c38569c3bdaf871c4853b6eeff77b039",
      "fileid": "98919fdcb38f23e8e9d9ab59552fc3073a6a96361e0dcc50092081811e6484f5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martingmayer/actions/runs/28107646934"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.12.0",
      "date": "2026-06-24T15:00:49.000Z",
      "commit": "ebe2ac15c38569c3bdaf871c4853b6eeff77b039",
      "fileid": "a8bb567284ee77660e193191b168d602450a85ebdeb1a8a97d338f8c52f6e973",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martingmayer/actions/runs/28107646934"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.12.0",
      "date": "2026-06-24T15:00:59.000Z",
      "commit": "ebe2ac15c38569c3bdaf871c4853b6eeff77b039",
      "fileid": "dfb1e82b9fe2145833db9395917df563ffea55bab098c17520ac16a9c576f8af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martingmayer/actions/runs/28107646934"
    }
  ]
}