Changelog
Source:NEWS.md
preventr 0.10.0
CRAN release: 2024-08-17
-
User-visible changes:
Shiny app available online at https://martingmayer.shinyapps.io/prevent-equations/ or https://tiny.cc/prevent-equations, and users can also access this via
app()
-
Arguments
egfr
andbmi
within theestimate_risk()
function (and its synonymest_risk()
) gain the ability to accept a call to a corresponding, non-exported function rather than passing the corresponding value directly; entering the value directly remains an option (and there is no intent for that to change)For
egfr
, the supported call iscalc_egfr()
(or a synonym)For
bmi
, the supported call iscalc_bmi()
(or its synonym)
-
estimate_risk()
andest_risk()
now advise 30-year risk prediction for people > 59 years is questionable via two warnings:In the console (that can be suppressed by setting
quiet = TRUE
)In the column
input_problems
of the return tibble (quiet
has no impact here)
All the above changes also have corresponding documentation within the relevant function
-
Internal changes:
Moved
message_maybe()
,warn_maybe()
, andvalid
to helpersAdded tests for new functionality