Skip to content

Commit

Permalink
fixing #106
Browse files Browse the repository at this point in the history
  • Loading branch information
Melkiades committed Apr 11, 2023
1 parent a1ad07b commit 91f4510
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/paginate_listing.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ paginate_listing <- function(lsting,
verbose = FALSE) {
checkmate::assert_class(lsting, "listing_df")
checkmate::assert_numeric(colwidths, lower = 0, len = length(listing_dispcols(lsting)), null.ok = TRUE)
checkmate::assert_set_equal(names(colwidths), listing_dispcols(lsting))
checkmate::assert_set_equal(length(colwidths), length(listing_dispcols(lsting)))
checkmate::assert_flag(tf_wrap)
checkmate::assert_count(max_width, null.ok = TRUE)
checkmate::assert_flag(verbose)
Expand Down Expand Up @@ -161,7 +161,7 @@ pag_listing_indices <- function(lsting,
verbose = FALSE) {
checkmate::assert_class(lsting, "listing_df")
checkmate::assert_numeric(colwidths, lower = 0, len = length(listing_dispcols(lsting)), null.ok = TRUE)
checkmate::assert_set_equal(names(colwidths), listing_dispcols(lsting))
checkmate::assert_set_equal(length(colwidths), length(listing_dispcols(lsting)))
checkmate::assert_count(max_width, null.ok = TRUE)
checkmate::assert_flag(verbose)

Expand Down

0 comments on commit 91f4510

Please sign in to comment.