remove deprecated NSE functions from dplyr

pull/17/head
Norwin 6 years ago
parent cd6f3c6fbb
commit 2db7d87a92
Signed by: norwin
GPG Key ID: 24BC059DE24C43A3

@ -13,12 +13,8 @@ S3method(print,sensebox)
S3method(summary,sensebox)
export(filter.osem_measurements)
export(filter.sensebox)
export(filter_.osem_measurements)
export(filter_.sensebox)
export(mutate.osem_measurements)
export(mutate.sensebox)
export(mutate_.osem_measurements)
export(mutate_.sensebox)
export(osem_as_measurements)
export(osem_as_sensebox)
export(osem_box)

@ -84,12 +84,19 @@ osem_as_sensebox = function(x) {
ret
}
#' @export
filter_.sensebox = dplyr_class_wrapper(osem_as_sensebox)
#' Return rows with matching conditions, while maintaining class & attributes
#' @param .data A sensebox data.frame to filter
#' @param .dots see corresponding function in package \code{\link{dplyr}}
#' @param ... other arguments
#' @seealso \code{\link[dplyr]{filter}}
#' @export
filter.sensebox = dplyr_class_wrapper(osem_as_sensebox)
#' @export
mutate_.sensebox = dplyr_class_wrapper(osem_as_sensebox)
#' Add new variables to the data, while maintaining class & attributes
#' @param .data A sensebox data.frame to mutate
#' @param .dots see corresponding function in package \code{\link{dplyr}}
#' @param ... other arguments
#' @seealso \code{\link[dplyr]{mutate}}
#' @export
mutate.sensebox = dplyr_class_wrapper(osem_as_sensebox)

@ -22,12 +22,19 @@ osem_as_measurements = function(x) {
ret
}
#' @export
filter_.osem_measurements = dplyr_class_wrapper(osem_as_measurements)
#' Return rows with matching conditions, while maintaining class & attributes
#' @param .data A osem_measurements data.frame to filter
#' @param .dots see corresponding function in package \code{\link{dplyr}}
#' @param ... other arguments
#' @seealso \code{\link[dplyr]{filter}}
#' @export
filter.osem_measurements = dplyr_class_wrapper(osem_as_measurements)
#' @export
mutate_.osem_measurements = dplyr_class_wrapper(osem_as_measurements)
#' Add new variables to the data, while maintaining class & attributes
#' @param .data A osem_measurements data.frame to mutate
#' @param .dots see corresponding function in package \code{\link{dplyr}}
#' @param ... other arguments
#' @seealso \code{\link[dplyr]{mutate}}
#' @export
mutate.osem_measurements = dplyr_class_wrapper(osem_as_measurements)

@ -0,0 +1,21 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/measurement_utils.R
\name{filter.osem_measurements}
\alias{filter.osem_measurements}
\title{Return rows with matching conditions, while maintaining class & attributes}
\usage{
filter.osem_measurements(.data, ..., .dots)
}
\arguments{
\item{.data}{A osem_measurements data.frame to filter}
\item{...}{other arguments}
\item{.dots}{see corresponding function in package \code{\link{dplyr}}}
}
\description{
Return rows with matching conditions, while maintaining class & attributes
}
\seealso{
\code{\link[dplyr]{filter}}
}

@ -0,0 +1,21 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/box_utils.R
\name{filter.sensebox}
\alias{filter.sensebox}
\title{Return rows with matching conditions, while maintaining class & attributes}
\usage{
filter.sensebox(.data, ..., .dots)
}
\arguments{
\item{.data}{A sensebox data.frame to filter}
\item{...}{other arguments}
\item{.dots}{see corresponding function in package \code{\link{dplyr}}}
}
\description{
Return rows with matching conditions, while maintaining class & attributes
}
\seealso{
\code{\link[dplyr]{filter}}
}

@ -0,0 +1,21 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/measurement_utils.R
\name{mutate.osem_measurements}
\alias{mutate.osem_measurements}
\title{Add new variables to the data, while maintaining class & attributes}
\usage{
mutate.osem_measurements(.data, ..., .dots)
}
\arguments{
\item{.data}{A osem_measurements data.frame to mutate}
\item{...}{other arguments}
\item{.dots}{see corresponding function in package \code{\link{dplyr}}}
}
\description{
Add new variables to the data, while maintaining class & attributes
}
\seealso{
\code{\link[dplyr]{mutate}}
}

@ -0,0 +1,21 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/box_utils.R
\name{mutate.sensebox}
\alias{mutate.sensebox}
\title{Add new variables to the data, while maintaining class & attributes}
\usage{
mutate.sensebox(.data, ..., .dots)
}
\arguments{
\item{.data}{A sensebox data.frame to mutate}
\item{...}{other arguments}
\item{.dots}{see corresponding function in package \code{\link{dplyr}}}
}
\description{
Add new variables to the data, while maintaining class & attributes
}
\seealso{
\code{\link[dplyr]{mutate}}
}
Loading…
Cancel
Save