Skip to content

Commit

Permalink
Merge pull request #20 from krlmlr/cran-tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr authored Jul 7, 2023
2 parents 77211e1 + 586a478 commit 2638dca
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ Authors@R: c(
person("Posit Software, PBC", role = c("cph", "fnd"))
)
Description: Defines a set of generics that provide a low-level
implementer's interface for dplyr's high-level user interface.
implementer's interface for the high-level user interface of
'dplyr'.
License: MIT + file LICENSE
URL: https://github.com/krlmlr/duckplyr, https://krlmlr.github.io/duckplyr/
BugReports: https://github.com/krlmlr/duckplyr/issues
Expand Down
5 changes: 5 additions & 0 deletions R/relational-expr.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#' @param class Classes added in front of the `"relational_relexpr"` base class.
#'
#' @name expr
#' @return an object of class `"relational_relexpr"`
#' @export
#' @examples
#' relexpr_set_alias(alias = "my_predicate",
Expand All @@ -35,6 +36,7 @@ new_relexpr <- function(x, class = NULL) {
#' @param rel The name of the relation to reference.
#' @param alias An alias for the new expression.
#' @rdname expr
#' @return an object of class `"relational_relexpr"`
#' @export
relexpr_reference <- function(name, rel = NULL, alias = NULL) {
stopifnot(is_string(name))
Expand All @@ -49,6 +51,7 @@ relexpr_reference <- function(name, rel = NULL, alias = NULL) {
#'
#' @param val The value to use in the constant expression.
#' @rdname expr
#' @return an object of class `"relational_relexpr"`
#' @export
relexpr_constant <- function(val, alias = NULL) {
stopifnot(length(val) == 1)
Expand All @@ -63,6 +66,7 @@ relexpr_constant <- function(val, alias = NULL) {
#'
#' @param args Function arguments, a list of `expr` objects.
#' @rdname expr
#' @return an object of class `"relational_relexpr"`
#' @export
relexpr_function <- function(name, args, alias = NULL) {
stopifnot(is_string(name))
Expand All @@ -77,6 +81,7 @@ relexpr_function <- function(name, args, alias = NULL) {
#'
#' @param expr An `expr` object.
#' @rdname expr
#' @return an object of class `"relational_relexpr"`
#' @export
relexpr_set_alias <- function(expr, alias = NULL) {
stopifnot(inherits(expr, "relational_relexpr"))
Expand Down
11 changes: 11 additions & 0 deletions man/expr.Rd

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

0 comments on commit 2638dca

Please sign in to comment.