Skip to content

Commit

Permalink
remove %~% (#689)
Browse files Browse the repository at this point in the history
* remove %~%

* Fixing NAMESPACE
  • Loading branch information
Puzzled-Face authored Oct 10, 2023
1 parent 87b2f34 commit 4a86b56
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 36 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Generated by roxygen2: do not edit by hand

export("%>%")
export("%~%")
export(.CohortSizeConst)
export(.CohortSizeDLT)
export(.CohortSizeMax)
Expand Down
7 changes: 0 additions & 7 deletions R/helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ positive_number <- setClass(
##'
##' @export
##' @keywords programming
##' @example examples/matching-tolerance.R
matchTolerance <- function(x, table) {
if (length(table) == 0) {
return(integer())
Expand All @@ -97,12 +96,6 @@ matchTolerance <- function(x, table) {
}))
}

##' @describeIn matchTolerance Helper function for checking inclusion in a table with tolerance
##' @export
`%~%` <- function(x, table) {
!is.na(matchTolerance(x = x, table = table))
}

##' checks for whole numbers (integers)
##'
##' @param x the numeric vector
Expand Down
9 changes: 0 additions & 9 deletions examples/matching-tolerance.R

This file was deleted.

19 changes: 0 additions & 19 deletions man/matchTolerance.Rd

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

0 comments on commit 4a86b56

Please sign in to comment.