Skip to content

Commit 18017db

Browse files
authored
Merge pull request #53 from billdenney/50-prepare-for-initial-cran-release
CRAN release 1.0
2 parents 30bc1fe + 4c17678 commit 18017db

File tree

7 files changed

+109
-9
lines changed

7 files changed

+109
-9
lines changed

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
^_pkgdown\.yml$
77
^docs$
88
^pkgdown$
9+
^cran-comments\.md$
10+
^CRAN-SUBMISSION$

CRAN-SUBMISSION

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Version: 1.0.0
2+
Date: 2024-07-03 13:29:36 UTC
3+
SHA: 0ff357caf3022bd3ae9d779e85d43499e781dfc3

DESCRIPTION

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
Package: hidradenitis
22
Title: Calculate Clinical Scores for Hidradenitis Suppurativa (HS), a Dermatologic Disease
3-
Version: 0.0.0.9000
4-
Authors@R:
5-
person("Bill", "Denney", email="wdenney@humanpredictions.com", role=c("aut", "cre"), comment=c(ORCID="0000-0002-5759-428X"))
3+
Version: 1.0.0
4+
Authors@R:
5+
c(
6+
person("Bill", "Denney", email="wdenney@humanpredictions.com", role=c("aut", "cre"), comment=c(ORCID="0000-0002-5759-428X")),
7+
person("Devon", "Bartlett", email="dbartlett@humanpredictions.com", role = "aut")
8+
)
69
Description: Calculate clinical scores for hidradenitis suppurativa (HS), a
710
dermatologic disease. The scores are typically used for evaluation of
811
efficacy in clinical trials. The scores are not commonly used in clinical
9-
practice. The specific scores implemented are HiSQOL, HiSQOL-Adolescent, HS
10-
PtGA, HASI-R, and HASI.
12+
practice. The specific scores implemented are Hidradenitis Suppurativa
13+
Clinical Response (HiSCR) (Kimball, et al. (2015) <doi:10.1111/jdv.13216>),
14+
Hidradenitis Suppurativa Area and Severity Index Revised (HASI-R) (Goldfarb,
15+
et al. (2020) <doi:10.1111/bjd.19565>), hidradenitis suppurativa Physician
16+
Global Assessment (HS PGA) (Marzano, et al. (2020) <doi:10.1111/jdv.16328>),
17+
and the International Hidradenitis Suppurativa Severity Score System (IHS4)
18+
(Zouboulis, et al. (2017) <doi:10.1111/bjd.15748>).
1119
License: GPL (>= 3)
1220
Encoding: UTF-8
1321
Roxygen: list(markdown = TRUE)

NEWS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# hidradenitis 1.0.0
2+
3+
* Initial CRAN submission.

README.md

Lines changed: 53 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,25 @@
33
<!-- badges: start -->
44
[![R-CMD-check](https://github.com/billdenney/hidradenitis/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/billdenney/hidradenitis/actions/workflows/R-CMD-check.yaml)
55
[![Codecov test coverage](https://codecov.io/gh/billdenney/hidradenitis/branch/main/graph/badge.svg)](https://app.codecov.io/gh/billdenney/hidradenitis?branch=main)
6+
[![CRAN status](https://www.r-pkg.org/badges/version/hidradenitis)](https://CRAN.R-project.org/package=hidradenitis)
7+
[![CodeFactor](https://www.codefactor.io/repository/github/billdenney/hidradenitis/badge)](https://www.codefactor.io/repository/github/billdenney/hidradenitis)
68
<!-- badges: end -->
79

8-
The goal of hidradenitis is to ...
10+
The goal of the `hidradenitis` package is to support use and interpretation of
11+
clinical scores for hidradenitis suppurativa.
912

1013
## Installation
1114

15+
### Stable version
16+
17+
You can install the stable version of hidradenitis from CRAN with:
18+
19+
``` r
20+
install.packages("devtools")
21+
```
22+
23+
### Development version
24+
1225
You can install the development version of hidradenitis from [GitHub](https://github.com/) with:
1326

1427
``` r
@@ -22,5 +35,43 @@ This is a basic example which shows you how to solve a common problem:
2235

2336
``` r
2437
library(hidradenitis)
25-
## basic example code
38+
39+
hasi_r_num(
40+
bsa_percent_within_site = c(0, 0, 0, 0, 5, 1, 4.3, 1.2, 6.8, 7.2),
41+
bodysite =
42+
c("Right Axilla", "Buttocks including Intergluteal Cleft",
43+
"Back", "Left Thigh", "Head & Neck", "Left Axilla",
44+
"Chest", "Pubis & Genitals", "Abdomen", "Right Thigh"),
45+
inflam_color_chg = c(0, 0, 0, 0, 2, 3, 1, 3, 2, 0),
46+
induration = c(0, 0, 0, 0, 2, 3, 1, 3, 2, 0),
47+
open_skin_surface = c(0, 0, 0, 0, 2, 3, 1, 3, 2, 0),
48+
tunnels = c(0, 0, 0, 0, 2, 3, 1, 3, 2, 0)
49+
)
50+
51+
hiscr(
52+
baseline_abscess = c(3, 2, 4),
53+
baseline_nodule = c(5, 4, 6),
54+
baseline_fistula = c(2, 1, 3),
55+
timepoint_abscess = c(1, 1, 2),
56+
timepoint_nodule = c(2, 3, 2),
57+
timepoint_fistula = c(2, 1, 3),
58+
percentage = 50
59+
)
60+
61+
hs_pga <-
62+
hs_pga_num(
63+
abscess_fistula = c(0, 0, 1, 0, 1, 2, 6),
64+
inflammatory_nodule = c(0, 0, 0, 3, 5, 8, 12),
65+
non_inflammatory_nodule = c(0, 1, 0, 0, 0, 0, 0)
66+
)
67+
hs_pga_char(hs_pga)
68+
69+
ihs4 <-
70+
ihs4_num(
71+
nodules = c(5, 3, 2),
72+
abscesses = c(2, 1, 0),
73+
draining_tunnels = c(1, 2, 3)
74+
)
75+
ihs4_char(ihs4)
76+
2677
```

cran-comments.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## R CMD check results
2+
3+
0 errors | 0 warnings | 1 note
4+
5+
* This is a new release.
6+
* The package name is part of the disease name which the package supports
7+
understanding of. The use of the pacakge name in the description and title in
8+
the DESCRIPTION file is for that reason.
9+
* DOI authors and years have been added, as requested.

inst/WORDLIST

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,33 @@
1+
Alavi
12
CMD
3+
CodeFactor
24
Codecov
5+
Dermatol
36
Dermatologic
7+
Epub
8+
Goldfarb
49
HASI
5-
HiSQOL
6-
PtGA
10+
HIDRAscore
11+
HiSCR
12+
IHS
13+
JEADV
14+
JS
15+
Kimball
16+
Lowes
17+
Marzano
18+
PGA
19+
PMC
20+
PMCID
21+
PMID
722
Suppurativa
23+
Venereology
24+
Zouboulis
25+
adalimumab
26+
al
27+
bjd
828
dermatologic
29+
doi
30+
et
31+
induration
32+
jdv
933
suppurativa

0 commit comments

Comments
 (0)