new version

This commit is contained in:
Andreas Gammelgaard Damsbo 2023-06-05 11:08:07 +02:00
parent 50dab684bb
commit 062af0720f
8 changed files with 17 additions and 4 deletions

2
.gitignore vendored
View File

@ -61,3 +61,5 @@ data/*.R
inst/doc
drafts/
.DS_Store

View File

@ -1,6 +1,6 @@
Package: stRoke
Title: Clinical Stroke Research
Version: 23.5.1
Version: 23.6.1
Authors@R:
person("Andreas Gammelgaard", "Damsbo", , "agdamsbo@clin.au.dk", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-7559-1154"))
@ -21,6 +21,7 @@ RoxygenNote: 7.2.3
LazyData: true
Suggests:
covr,
devtools,
knitr,
rmarkdown,
spelling,

View File

@ -3,6 +3,7 @@
S3method(print,win_Prob)
export(age_calc)
export(ci_plot)
export(color_plot)
export(contrast_text)
export(cpr_check)
export(cpr_dob)
@ -25,6 +26,9 @@ importFrom(dplyr,if_else)
importFrom(dplyr,mutate)
importFrom(dplyr,select)
importFrom(grDevices,col2rgb)
importFrom(graphics,par)
importFrom(graphics,rect)
importFrom(graphics,text)
importFrom(gtsummary,add_overall)
importFrom(gtsummary,tbl_summary)
importFrom(lubridate,dminutes)

View File

@ -1,3 +1,9 @@
# stRoke 23.6.1
### Functions:
* NEW: 'color_plot()' function implements the 'contrast_text()' and is very much inspired from 'scales::show_col()'. Passes arguments to the internal 'contrast_text()'. Tests and all. Took way longer than intended.
# stRoke 23.4.1
### Functions:

View File

@ -68,9 +68,9 @@ lm
lst
luminance
mRS
og
olr
recognised
rect
rgb
sapply
stackoverflow

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -2,7 +2,7 @@
% Please edit documentation in R/win_prob.R
\name{print.win_Prob}
\alias{print.win_Prob}
\title{PRints win_prob results}
\title{Prints win_prob results}
\usage{
\method{print}{win_Prob}(x, ...)
}
@ -15,5 +15,5 @@
Prints win_prob statistics.
}
\description{
PRints win_prob results
Prints win_prob results
}

BIN
tests/testthat/Rplots.pdf Normal file

Binary file not shown.