Skip to content

Commit c511fa9

Browse files
committed
Merge branch 'dev'
2 parents 86646ac + e6f069d commit c511fa9

File tree

13 files changed

+40
-39
lines changed

13 files changed

+40
-39
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: epiviz
22
Title: Data Visualisation Functions for Epidemiological Data Science Products
3-
Version: 0.1.1
3+
Version: 0.1.2
44
Authors@R:
55
c(person(given="Harshana", family="Liyanage", email="harshana.liyanage@ukhsa.gov.uk", role = c("aut","cre"),
66
comment = c(ORCID = "0000-0001-9738-6349")),

NEWS.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
1-
# epiviz 0.0.0.9001
21

3-
* Initial GitHub code transfer from internal repo.
2+
# epiviz 0.1.2
3+
4+
## CRAN submission fixes
5+
6+
* Added `on.exit()` calls to properly restore user options in `.onLoad()`
7+
* Replaced `\dontrun{}` with `\donttest{}` or unwrapped examples where appropriate
8+
* Resubmission addressing CRAN reviewer feedback
9+
10+
# epiviz 0.1.1
11+
12+
* Initial CRAN submission
413

514
# epiviz 0.1.0
615

716
* Initial version for internal production apps
817

9-
# epiviz 0.1.1
18+
# epiviz 0.0.0.9001
1019

11-
* Initial CRAN submission
20+
* Initial GitHub code transfer from internal repo.

R/age_sex_pyramid.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
#' When `grouped = TRUE`, it assumes the data is already grouped and uses the provided values directly to generate the pyramid.
5050
#'
5151
#' @examples
52-
#' \dontrun{
52+
#' \donttest{
5353
#' # Example using a line list
5454
#' df <- epiviz::lab_data
5555
#' age_sex_pyramid(

R/agesex_pyramid_grouped.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#' @import dplyr
2626
#'
2727
#' @examples
28-
#' \dontrun{
28+
#' \donttest{
2929
#' data <- data.frame(
3030
#' age_group = rep(c("0-4", "5-18", "19-64", "65+"), each = 2),
3131
#' sex = rep(c("Female", "Male"), times = 4),

R/base_gg.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#' @noRd
77
#'
88
#' @examples
9-
#' \dontrun{
9+
#' \donttest{
1010
#' environment(base_gg) <- environment()
1111
#' base <- base_gg()
1212
#' }

R/base_plotly.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#' @noRd
77
#'
88
#' @examples
9-
#' \dontrun{
9+
#' \donttest{
1010
#' environment(base_plotly) <- environment()
1111
#' base <- base_plotly()
1212
#' }

R/col_chart.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
#'
154154
#' @examples
155155
#'
156-
#' \dontrun{
156+
#' \donttest{
157157
#'
158158
#' # Example 1: Basic column chart
159159
#'

R/epi_curve.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
#'
133133
#' @examples
134134
#'
135-
#' \dontrun{
135+
#' \donttest{
136136
#'
137137
#' # Example 1: Basic epi curve
138138
#'

R/epi_map.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
#'
9090
#' @examples
9191
#'
92-
#' \dontrun{
92+
#' \donttest{
9393
#'
9494
#' # Example 1: Create a static map of Staphylococcus Aureus detections in London
9595
#' # Local Authority Districts.

R/point_chart.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
#'
138138
#' @examples
139139
#'
140-
#' \dontrun{
140+
#' \donttest{
141141
#'
142142
#'
143143
#'

0 commit comments

Comments
 (0)