mirror of
https://github.com/sensebox/opensensmapr
synced 2025-02-20 11:53:57 +01:00
remove deprecated NSE functions from dplyr
This commit is contained in:
parent
cd6f3c6fbb
commit
2db7d87a92
7 changed files with 106 additions and 12 deletions
|
@ -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)
|
||||
|
||||
|
|
21
man/filter.osem_measurements.Rd
Normal file
21
man/filter.osem_measurements.Rd
Normal file
|
@ -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}}
|
||||
}
|
21
man/filter.sensebox.Rd
Normal file
21
man/filter.sensebox.Rd
Normal file
|
@ -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}}
|
||||
}
|
21
man/mutate.osem_measurements.Rd
Normal file
21
man/mutate.osem_measurements.Rd
Normal file
|
@ -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}}
|
||||
}
|
21
man/mutate.sensebox.Rd
Normal file
21
man/mutate.sensebox.Rd
Normal file
|
@ -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…
Add table
Reference in a new issue