Skip to content

Commit

Permalink
integer in glossary
Browse files Browse the repository at this point in the history
ref #452
  • Loading branch information
wibeasley committed Oct 23, 2022
1 parent c10e4d2 commit 4e2ece1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/create-batch-glossary.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ create_batch_glossary <- function(row_count, batch_size) {
)
}

start_index <- base::seq.int(from=1, to=row_count, by=batch_size)
start_index <- as.integer(base::seq.int(from=1L, to=row_count, by=batch_size))

ds_batch <-
tibble::tibble(
Expand All @@ -82,7 +82,7 @@ create_batch_glossary <- function(row_count, batch_size) {
base::ifelse(
i < length(start_index),
start_index[i + 1L] - 1L,
row_count
as.integer(row_count)
)
},
ds_batch$id
Expand Down
3 changes: 2 additions & 1 deletion man/create_batch_glossary.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4e2ece1

Please sign in to comment.