Skip to content

Commit 1b84d01

Browse files
committed
template needed changing
1 parent 500a952 commit 1b84d01

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

R/epi_df.R

+1
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ new_epi_df <- function(x = tibble::tibble(), geo_type, time_type, as_of,
162162
#' guide](https://cmu-delphi.github.io/epiprocess/articles/epiprocess.html) for
163163
#' examples.
164164
#'
165+
#' @param ... Additional arguments passed to methods.
165166
#' @template epi_df-params
166167
#'
167168
#' @export

R/utils.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ version_column_names <- function() {
510510
#' @description
511511
#' potentially renames
512512
#' @param x the tibble to potentially rename
513-
#' @param substitions a named vector. the potential substitions, with every name `time_value`
513+
#' @param substitutions a named vector. the potential substitions, with every name `time_value`
514514
#' @keywords internal
515515
guess_column_name <- function(x, column_name, substitutions) {
516516
if (!(column_name %in% names(x))) {

man-roxygen/epi_df-params.R

-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,4 @@
1515
#' `as_of` fields; named entries from the passed list will be included as
1616
#' well. If your tibble has additional keys, be sure to specify them as a
1717
#' character vector in the `other_keys` component of `additional_metadata`.
18-
#' @param ... Additional arguments passed to methods.
1918
#' @return An `epi_df` object.

man/guess_column_name.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/new_epi_df.Rd

-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/test-archive.R

+7-3
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,13 @@ test_that("as_epi_archive custom name mapping works correctly", {
3333
as_epi_archive(dt)
3434
))
3535

36-
expect_error(as_epi_archive(rename(dt, weirdName = version),
37-
version = weirdName, version = time_value
38-
), "Names must be unique")
36+
expect_error(
37+
as_epi_archive(
38+
rename(dt, weirdName = version),
39+
version = weirdName,
40+
version = time_value
41+
), "Names must be unique"
42+
)
3943
})
4044

4145
test_that("other_keys can only contain names of the data.frame columns", {

0 commit comments

Comments
 (0)