Skip to content

Commit

Permalink
fixing Roxygen issue
Browse files Browse the repository at this point in the history
beniaminogreen committed Oct 17, 2023
1 parent e1eb736 commit 800d2db
Showing 2 changed files with 15 additions and 7 deletions.
9 changes: 4 additions & 5 deletions R/ruleset_construction.R
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
#' Add Rules and Rulesets Together
#'
#' `+` allows you to add rules and rulesets into larger rulesets. This
#' @description + allows you to add rules and rulesets into larger rulesets. This
#' can be useful if you want to create a ruleset for a dataset out of checks
#' for other datasets.
#'
#' @param a the first ruleset you wish to add
#' @param b the second ruleset you wish to add
#' @rdname ruleset_add
#' @name dataverifyr_plus
datavarifyr_plus <- function(a, b) {
# This is the method to add *both* rules and rulesets together.
# Has to be done this way AFAIK to comply with R's
@@ -32,11 +31,11 @@ datavarifyr_plus <- function(a, b) {
}

#' @export
#' @rdname dataverifyr_add
#' @rdname dataverifyr_plus
"+.ruleset" <- datavarifyr_plus

#' @export
#' @rdname dataverifyr_add
#' @rdname dataverifyr_plus
"+.rule" <- datavarifyr_plus


13 changes: 11 additions & 2 deletions man/ruleset_add.Rd → man/dataverifyr_plus.Rd

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

0 comments on commit 800d2db

Please sign in to comment.