Skip to content

Commit

Permalink
edits for first release
Browse files Browse the repository at this point in the history
  • Loading branch information
dosgillespie committed Apr 28, 2020
1 parent 1f23a2c commit 815ef60
Show file tree
Hide file tree
Showing 101 changed files with 11,128 additions and 3,344 deletions.
8 changes: 6 additions & 2 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
^.*\.Rproj$
^\.Rproj\.user$
^.*\.Rproj$
^\.Rproj\.user$
^LICENSE\.md$
^_pkgdown\.yml$
^docs$
^pkgdown$
73 changes: 47 additions & 26 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,26 +1,47 @@
Package: tobalcepi
Type: Package
Title: Risk functions and attributable fractions for tobacco and alcohol
Version: 0.1.0
Author: Duncan Gillespie
Maintainer: Duncan Gillespie <[email protected]>
Description: Functions to assign relative risks of disease to individuals based on their tobacco and/or alcohol consumption, and to estimate the attributable fractions of disease.
License: For internal University of Sheffield use only
Encoding: UTF-8
LazyData: true
Suggests:
knitr,
rmarkdown,
roxygen2,
usethis
Depends:
data.table
Imports:
boot,
VGAM,
stringr,
readxl,
testthat,
dplyr
VignetteBuilder: knitr
RoxygenNote: 6.1.1
Package: tobalcepi
Type: Package
Title: Risk Functions and Attributable Fractions for Tobacco and Alcohol
Version: 1.0.0
Authors@R:
c(
person(given = "Duncan",
family = "Gillespie",
role = c("aut", "cre"),
email = "[email protected]",
comment = c(ORCID = "0000-0003-3450-5747")),
person(given = "Laura",
family = "Webster",
role = c("aut")),
person(given = "Maddy",
family = "Henney",
role = c("aut")),
person(given = "Colin",
family = "Angus",
role = c("aut"),
email = "[email protected]"),
person(given = "Alan",
family = "Brennan",
role = c("aut"),
email = "[email protected]")
)
Description: Functions to assign relative risks of disease to individuals based on their tobacco and/or alcohol consumption, and to estimate the attributable fractions of disease.
License: GPL-3
Encoding: UTF-8
LazyData: true
Suggests:
knitr,
rmarkdown,
roxygen2,
usethis
Imports:
boot,
VGAM,
stringr,
readxl,
testthat,
dplyr,
data.table
VignetteBuilder: knitr
RoxygenNote: 7.1.0
Depends:
R (>= 2.10)
595 changes: 595 additions & 0 deletions LICENSE.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ export(AlcLags)
export(ExpandCodes)
export(PArisk)
export(RRFunc)
export(RRTobDR)
export(RRalc)
export(RRtob)
export(TobAlcInt)
export(TobLags)
export(subgroupRisk)
import(data.table)
importFrom(data.table,":=")
importFrom(data.table,setDT)
importFrom(data.table,setnames)
Loading

0 comments on commit 815ef60

Please sign in to comment.