Skip to content

Commit 85e240f

Browse files
committed
style: styler (GHA)
1 parent 67babd9 commit 85e240f

File tree

3 files changed

+51
-51
lines changed

3 files changed

+51
-51
lines changed

R/data.R

+10-10
Original file line numberDiff line numberDiff line change
@@ -108,18 +108,18 @@ delayed_assign_with_unregister_awareness <- function(x, value,
108108
#' @format An `epi_archive` data format. The data table DT has 129,638 rows and 5 columns.
109109
#' @inheritSection epidatasets::archive_cases_dv_subset_dt Data dictionary
110110
#' @examples
111-
#' # Since this is a re-exported dataset, it cannot be loaded using
112-
#' # the `data()` function. `data()` looks for a file of the same name
113-
#' # in the `data/` directory, which doesn't exist in this package.
114-
#' # works
115-
#' epiprocess::archive_cases_dv_subset
111+
#' # Since this is a re-exported dataset, it cannot be loaded using
112+
#' # the `data()` function. `data()` looks for a file of the same name
113+
#' # in the `data/` directory, which doesn't exist in this package.
114+
#' # works
115+
#' epiprocess::archive_cases_dv_subset
116116
#'
117-
#' # works
118-
#' library(epiprocess)
119-
#' archive_cases_dv_subset
117+
#' # works
118+
#' library(epiprocess)
119+
#' archive_cases_dv_subset
120120
#'
121-
#' # fails
122-
#' data(archive_cases_dv_subset, package = "epiprocess")
121+
#' # fails
122+
#' data(archive_cases_dv_subset, package = "epiprocess")
123123
#'
124124
#' @export
125125
# Like normal data objects, set `archive_cases_dv_subset` up as a promise, so it

R/reexports.R

+40-40
Original file line numberDiff line numberDiff line change
@@ -82,71 +82,71 @@ ggplot2::autoplot
8282
#' @inherit epidatasets::cases_deaths_subset description source references title
8383
#' @inheritSection epidatasets::cases_deaths_subset Data dictionary
8484
#' @examples
85-
#' # Since this is a re-exported dataset, it cannot be loaded using
86-
#' # the `data()` function. `data()` looks for a file of the same name
87-
#' # in the `data/` directory, which doesn't exist in this package.
88-
#' # works
89-
#' epiprocess::cases_deaths_subset
85+
#' # Since this is a re-exported dataset, it cannot be loaded using
86+
#' # the `data()` function. `data()` looks for a file of the same name
87+
#' # in the `data/` directory, which doesn't exist in this package.
88+
#' # works
89+
#' epiprocess::cases_deaths_subset
9090
#'
91-
#' # works
92-
#' library(epiprocess)
93-
#' cases_deaths_subset
91+
#' # works
92+
#' library(epiprocess)
93+
#' cases_deaths_subset
9494
#'
95-
#' # fails
96-
#' data(cases_deaths_subset, package = "epiprocess")
95+
#' # fails
96+
#' data(cases_deaths_subset, package = "epiprocess")
9797
#' @export
9898
cases_deaths_subset <- epidatasets::cases_deaths_subset
9999

100100
#' @inherit epidatasets::covid_incidence_county_subset description source references title
101101
#' @inheritSection epidatasets::covid_incidence_county_subset Data dictionary
102102
#' @examples
103-
#' # Since this is a re-exported dataset, it cannot be loaded using
104-
#' # the `data()` function. `data()` looks for a file of the same name
105-
#' # in the `data/` directory, which doesn't exist in this package.
106-
#' # works
107-
#' epiprocess::covid_incidence_county_subset
103+
#' # Since this is a re-exported dataset, it cannot be loaded using
104+
#' # the `data()` function. `data()` looks for a file of the same name
105+
#' # in the `data/` directory, which doesn't exist in this package.
106+
#' # works
107+
#' epiprocess::covid_incidence_county_subset
108108
#'
109-
#' # works
110-
#' library(epiprocess)
111-
#' covid_incidence_county_subset
109+
#' # works
110+
#' library(epiprocess)
111+
#' covid_incidence_county_subset
112112
#'
113-
#' # fails
114-
#' data(covid_incidence_county_subset, package = "epiprocess")
113+
#' # fails
114+
#' data(covid_incidence_county_subset, package = "epiprocess")
115115
#' @export
116116
covid_incidence_county_subset <- epidatasets::covid_incidence_county_subset
117117

118118
#' @inherit epidatasets::covid_incidence_outliers description source references title
119119
#' @inheritSection epidatasets::covid_incidence_outliers Data dictionary
120120
#' @examples
121-
#' # Since this is a re-exported dataset, it cannot be loaded using
122-
#' # the `data()` function. `data()` looks for a file of the same name
123-
#' # in the `data/` directory, which doesn't exist in this package.
124-
#' # works
125-
#' epiprocess::covid_incidence_outliers
121+
#' # Since this is a re-exported dataset, it cannot be loaded using
122+
#' # the `data()` function. `data()` looks for a file of the same name
123+
#' # in the `data/` directory, which doesn't exist in this package.
124+
#' # works
125+
#' epiprocess::covid_incidence_outliers
126126
#'
127-
#' # works
128-
#' library(epiprocess)
129-
#' covid_incidence_outliers
127+
#' # works
128+
#' library(epiprocess)
129+
#' covid_incidence_outliers
130130
#'
131-
#' # fails
132-
#' data(covid_incidence_outliers, package = "epiprocess")
131+
#' # fails
132+
#' data(covid_incidence_outliers, package = "epiprocess")
133133
#' @export
134134
covid_incidence_outliers <- epidatasets::covid_incidence_outliers
135135

136136
#' @inherit epidatasets::jhu_confirmed_cumulative_num description source references title
137137
#' @inheritSection epidatasets::jhu_confirmed_cumulative_num Data dictionary
138138
#' @examples
139-
#' # Since this is a re-exported dataset, it cannot be loaded using
140-
#' # the `data()` function. `data()` looks for a file of the same name
141-
#' # in the `data/` directory, which doesn't exist in this package.
142-
#' # works
143-
#' epiprocess::jhu_confirmed_cumulative_num
139+
#' # Since this is a re-exported dataset, it cannot be loaded using
140+
#' # the `data()` function. `data()` looks for a file of the same name
141+
#' # in the `data/` directory, which doesn't exist in this package.
142+
#' # works
143+
#' epiprocess::jhu_confirmed_cumulative_num
144144
#'
145-
#' # works
146-
#' library(epiprocess)
147-
#' jhu_confirmed_cumulative_num
145+
#' # works
146+
#' library(epiprocess)
147+
#' jhu_confirmed_cumulative_num
148148
#'
149-
#' # fails
150-
#' data(jhu_confirmed_cumulative_num, package = "epiprocess")
149+
#' # fails
150+
#' data(jhu_confirmed_cumulative_num, package = "epiprocess")
151151
#' @export
152152
jhu_confirmed_cumulative_num <- epidatasets::jhu_confirmed_cumulative_num

vignettes/archive.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ dv <- pub_covidcast(
4949
geo_values = "ca,fl,ny,tx",
5050
time_values = epirange(20200601, 20211201),
5151
issues = epirange(20200601, 20211201)
52-
) %>%
52+
) %>%
5353
rename(version = issue, percent_cli = value)
5454
```
5555

0 commit comments

Comments
 (0)