Skip to content

Commit

Permalink
Add an alias for .data so ?dplyr::.data works (tidyverse#6801)
Browse files Browse the repository at this point in the history
This should avoid this CRAN check note on r-devel, but we can't seem to reproduce it

```
* checking for missing documentation entries ... WARNING
Undocumented code objects:
  '.data'
All user-level objects in a package should have documentation entries.
See chapter 'Writing R documentation files' in the 'Writing R
Extensions' manual.
```

Purposefully not adding a bullet for `.data` in the documentation page, as it isn't actually a helper that is "no longer for normal usage".

In the long term we should move this to its own help page, possibly with `.env`, or remove it entirely.
  • Loading branch information
DavisVaughan committed Mar 21, 2023
1 parent 8ee46e6 commit b4a53e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/utils-tidy-eval.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#'
#' @keywords internal
#' @name tidyeval-compat
#' @aliases expr enquo enquos sym syms as_label
#' @export expr enquo enquos sym syms as_label .data
#' @aliases .data expr enquo enquos sym syms as_label
#' @export .data expr enquo enquos sym syms as_label
#' @aliases quo quos quo_name ensym ensyms enexpr enexprs
#' @export quo quos quo_name ensym ensyms enexpr enexprs
NULL
Expand Down
1 change: 1 addition & 0 deletions man/tidyeval-compat.Rd

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

0 comments on commit b4a53e5

Please sign in to comment.