Skip to content

Commit

Permalink
Address comments and redocument.
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy committed Jun 16, 2023
1 parent c620bdf commit ae72374
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion R/make_clean_names.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#' setting `ascii = FALSE`. Capitalization preferences can be specified
#' using the `case` parameter.
#'
#' For use on the names of a data.frame, e.g., in a ``\%>\%`` pipeline,
#' For use on the names of a data.frame, e.g., in a `%>%` pipeline,
#' call the convenience function [janitor::clean_names()].
#'
#' When `ascii = TRUE` (the default), accented characters are transliterated
Expand Down
4 changes: 2 additions & 2 deletions R/remove_empties.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#' (`FALSE`) indicating the summary of empty columns or rows removed?
#' @return Returns the object without its missing rows or columns.
#' @family remove functions
#' @seealso [`remove_constant()`][remove_constant] for removing
#' @seealso [remove_constant()] for removing
#' constant columns.
#' @examples
#' # not run:
Expand Down Expand Up @@ -100,7 +100,7 @@ remove_empty <- function(dat, which = c("rows", "cols"), cutoff = 1, quiet = TRU
#' unique()
#' @importFrom stats na.omit
#' @family remove functions
#' @seealso [`remove_empty()`][remove_empty] for removing empty
#' @seealso [remove_empty()] for removing empty
#' columns or rows.
#' @export
remove_constant <- function(dat, na.rm = FALSE, quiet = TRUE) {
Expand Down
1 change: 0 additions & 1 deletion R/round_half_up.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#' Round a numeric vector; halves will be rounded up, ala Microsoft Excel.
#'
#' @description
#' In base R `round()`, halves are rounded to even, e.g., 12.5 and
#' 11.5 are both rounded to 12. This function rounds 12.5 to 13 (assuming
#' `digits = 0`). Negative halves are rounded away from zero, e.g., -0.5 is
Expand Down
2 changes: 1 addition & 1 deletion man/make_clean_names.Rd

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

3 changes: 2 additions & 1 deletion man/round_half_up.Rd

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

0 comments on commit ae72374

Please sign in to comment.