diff --git a/NAMESPACE b/NAMESPACE index 072432d..ae6e120 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -1,6 +1,10 @@ # Generated by roxygen2: do not edit by hand export("%>%") +export("%f2%") +export("%fe%") +export("%fp%") +export("%fu%") export(forgot) export(forgot2) export(forgotAddin) diff --git a/R/forgot.R b/R/forgot.R index 3c69f49..05c14f2 100644 --- a/R/forgot.R +++ b/R/forgot.R @@ -290,3 +290,37 @@ forgot_params <- function(pkg, function_name, new_file_write <- function(content, type = "rmarkdown"){ rstudioapi::documentNew(text = content, type = type) } + +#' %f2% +#' +#' @examples +#' `%f2%`("stringr") +#' stringr %f2% +#' "dplyr" %f2% "count" +#' dplyr %f2% "count" +#' @export +`%f2%` <- forgot2 + +#' %fu% +#' +#' @examples +#' "dplyr" %fu% "count" +#' dplyr %fu% count +#' @export +`%fu%` <- forgot_usg + +#' %fe% +#' +#' @examples +#' "dplyr" %fe% "count" +#' dplyr %fe% count +#' @export +`%fe%` <- forgot_exmpls + +#' %fp% +#' +#' @examples +#' "dplyr" %fp% "count" +#' dplyr %fp% count +#' @export +`%fp%` <- forgot_params diff --git a/man/grapes-f2-grapes.Rd b/man/grapes-f2-grapes.Rd new file mode 100644 index 0000000..302004d --- /dev/null +++ b/man/grapes-f2-grapes.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/forgot.R +\name{\%f2\%} +\alias{\%f2\%} +\title{%f2%} +\usage{ +pkg \%f2\% keyword +} +\description{ +%f2% +} +\examples{ +`\%f2\%`("stringr") +stringr \%f2\% +"dplyr" \%f2\% "count" +dplyr \%f2\% "count" +} diff --git a/man/grapes-fe-grapes.Rd b/man/grapes-fe-grapes.Rd new file mode 100644 index 0000000..a203c41 --- /dev/null +++ b/man/grapes-fe-grapes.Rd @@ -0,0 +1,15 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/forgot.R +\name{\%fe\%} +\alias{\%fe\%} +\title{%fe%} +\usage{ +pkg \%fe\% function_name +} +\description{ +%fe% +} +\examples{ +"dplyr" \%fe\% "count" +dplyr \%fe\% count +} diff --git a/man/grapes-fp-grapes.Rd b/man/grapes-fp-grapes.Rd new file mode 100644 index 0000000..6020c02 --- /dev/null +++ b/man/grapes-fp-grapes.Rd @@ -0,0 +1,15 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/forgot.R +\name{\%fp\%} +\alias{\%fp\%} +\title{%fp%} +\usage{ +pkg \%fp\% function_name +} +\description{ +%fp% +} +\examples{ +"dplyr" \%fp\% "count" +dplyr \%fp\% count +} diff --git a/man/grapes-fu-grapes.Rd b/man/grapes-fu-grapes.Rd new file mode 100644 index 0000000..cbbb259 --- /dev/null +++ b/man/grapes-fu-grapes.Rd @@ -0,0 +1,15 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/forgot.R +\name{\%fu\%} +\alias{\%fu\%} +\title{%fu%} +\usage{ +pkg \%fu\% function_name +} +\description{ +%fu% +} +\examples{ +"dplyr" \%fu\% "count" +dplyr \%fu\% count +}