Skip to content

Commit

Permalink
whitespace linting and code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hanneoberman committed Nov 9, 2023
1 parent a0549d4 commit 0047e48
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions R/utils.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Functions for internal use

# util functions
# Shorthand 'not in' for code readability
`%nin%` <- Negate(`%in%`)

#' Pipe operator
Expand All @@ -19,11 +19,6 @@
#' @return The result of calling `rhs(lhs)`.
NULL

# suppress undefined global functions or variables note
utils::globalVariables(c(".id", ".imp", ".where", ".id", "where", "name", "value"))

# Alias a function with `foo <- function(...) pkgB::blah(...)`

#' Utils function to validate data argument inputs
#'
#' @param data The input supplied to the 'data' argument.
Expand Down Expand Up @@ -104,3 +99,6 @@ verify_data <- function(data,
}
}
}

# suppress undefined global functions or variables note
utils::globalVariables(c(".id", ".imp", ".where", ".id", "where", "name", "value"))

0 comments on commit 0047e48

Please sign in to comment.