mirror of
https://github.com/sensebox/opensensmapr
synced 2025-02-22 06:23: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)
|
S3method(summary,sensebox)
|
||||||
export(filter.osem_measurements)
|
export(filter.osem_measurements)
|
||||||
export(filter.sensebox)
|
export(filter.sensebox)
|
||||||
export(filter_.osem_measurements)
|
|
||||||
export(filter_.sensebox)
|
|
||||||
export(mutate.osem_measurements)
|
export(mutate.osem_measurements)
|
||||||
export(mutate.sensebox)
|
export(mutate.sensebox)
|
||||||
export(mutate_.osem_measurements)
|
|
||||||
export(mutate_.sensebox)
|
|
||||||
export(osem_as_measurements)
|
export(osem_as_measurements)
|
||||||
export(osem_as_sensebox)
|
export(osem_as_sensebox)
|
||||||
export(osem_box)
|
export(osem_box)
|
||||||
|
|
|
@ -84,12 +84,19 @@ osem_as_sensebox = function(x) {
|
||||||
ret
|
ret
|
||||||
}
|
}
|
||||||
|
|
||||||
#' @export
|
#' Return rows with matching conditions, while maintaining class & attributes
|
||||||
filter_.sensebox = dplyr_class_wrapper(osem_as_sensebox)
|
#' @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
|
#' @export
|
||||||
filter.sensebox = dplyr_class_wrapper(osem_as_sensebox)
|
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
|
#' @export
|
||||||
mutate.sensebox = dplyr_class_wrapper(osem_as_sensebox)
|
mutate.sensebox = dplyr_class_wrapper(osem_as_sensebox)
|
||||||
|
|
||||||
|
|
|
@ -22,12 +22,19 @@ osem_as_measurements = function(x) {
|
||||||
ret
|
ret
|
||||||
}
|
}
|
||||||
|
|
||||||
#' @export
|
#' Return rows with matching conditions, while maintaining class & attributes
|
||||||
filter_.osem_measurements = dplyr_class_wrapper(osem_as_measurements)
|
#' @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
|
#' @export
|
||||||
filter.osem_measurements = dplyr_class_wrapper(osem_as_measurements)
|
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
|
#' @export
|
||||||
mutate.osem_measurements = dplyr_class_wrapper(osem_as_measurements)
|
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