Skip to content

Commit 1c10efb

Browse files
Update pkg infra
1 parent fd17892 commit 1c10efb

4 files changed

Lines changed: 39 additions & 3 deletions

File tree

DESCRIPTION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: vimcheck
22
Title: Diagnostics for Vaccine Impact Modelling Consortium Burden and
33
Impact Estimates
4-
Version: 0.0.1
4+
Version: 0.0.3
55
Authors@R: c(
66
person("Pratik", "Gupte", , "p.gupte24@imperial.ac.uk", role = c("aut", "cre"),
77
comment = c(ORCID = "0000-0001-5294-7819")),
@@ -38,6 +38,7 @@ Suggests:
3838
spelling,
3939
testthat (>= 3.0.0),
4040
tibble,
41+
vdiffr,
4142
withr
4243
VignetteBuilder:
4344
knitr

NAMESPACE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,30 @@ export(plot_coverage_set)
1010
export(plot_fvp)
1111
export(plot_global_burden)
1212
export(plot_global_burden_decades)
13+
export(prep_plot_age)
14+
export(prep_plot_burden_decades)
15+
export(prep_plot_coverage_set)
16+
export(prep_plot_demography)
17+
export(prep_plot_fvp)
18+
export(prep_plot_global_burden)
1319
export(theme_vimc)
20+
export(theme_vimc_noxaxis)
1421
export(transform_coverage_fvps)
1522
export(validate_complete_incoming_files)
1623
export(validate_file_dict_template)
1724
export(validate_template_alignment)
1825
importFrom(dplyr,.data)
26+
importFrom(ggplot2,'%+replace%')
27+
importFrom(ggplot2,aes)
28+
importFrom(ggplot2,facet_grid)
29+
importFrom(ggplot2,facet_wrap)
30+
importFrom(ggplot2,geom_col)
31+
importFrom(ggplot2,geom_hline)
1932
importFrom(ggplot2,ggplot)
33+
importFrom(ggplot2,label_wrap_gen)
34+
importFrom(ggplot2,labeller)
35+
importFrom(ggplot2,labs)
36+
importFrom(ggplot2,scale_fill_distiller)
37+
importFrom(ggplot2,scale_x_continuous)
38+
importFrom(ggplot2,scale_y_continuous)
39+
importFrom(ggplot2,vars)

NEWS.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# vimcheck 0.0.3
2+
3+
- Separated data-prep for plotting from plotting functions.
4+
5+
- Added tests for plotting preparation and plotting functions.
6+
7+
# vimcheck 0.0.2
8+
9+
- Added initial data validation functions and some tests.
10+
11+
- Added VIMC _ggplot2_ theme.
12+
113
# vimcheck 0.0.1
214

315
- Added GHA workflows to notify of changed dependencies, auto-render `README.md` from `README.Rmd`, and update the copyright year annually.

_pkgdown.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# NOTE: Update the `url` field as needed
2-
# e.g. "https://vimc.github.io/vimpact/"
3-
url: ~
2+
url: "https://vimc.github.io/vimcheck/"
43
template:
54
bootstrap: 5
65

@@ -12,6 +11,10 @@ reference:
1211
desc: Package diagnostic functions.
1312
contents:
1413
- has_keyword("diagnostics")
14+
- title: Plotting prepartion
15+
desc: Prepare validated data for plotting.
16+
contents:
17+
- plotting_prep
1518
- title: Plotting functions
1619
desc: Package plotting functions.
1720
contents:

0 commit comments

Comments
 (0)