Skip to content

Commit 55c0a0d

Browse files
committed
Do not export or document the magrittr pipe
We use it in the package, but we don't have to export it. Users can import magrittr or dplyr if they want it, and then it's at least more explicit where it came from.
1 parent 09df128 commit 55c0a0d

File tree

3 files changed

+0
-33
lines changed

3 files changed

+0
-33
lines changed

NAMESPACE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ S3method(print,covidcast_data_signal_list)
77
S3method(print,covidcast_data_source)
88
S3method(print,covidcast_epidata)
99
S3method(print,epidata_call)
10-
export("%>%")
1110
export(avail_endpoints)
1211
export(cache_info)
1312
export(clear_cache)

R/utils-pipe.R

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,2 @@
1-
#' Pipe operator
2-
#'
3-
#' See \code{magrittr::\link[magrittr:pipe]{\%>\%}} for details.
4-
#'
5-
#' @name %>%
6-
#' @rdname pipe
7-
#' @keywords internal
8-
#' @export
91
#' @importFrom magrittr %>%
10-
#' @usage lhs \%>\% rhs
11-
#' @param lhs A value or the magrittr placeholder.
12-
#' @param rhs A function call using the magrittr semantics.
13-
#' @return The result of calling `rhs(lhs)`.
142
NULL

man/pipe.Rd

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)