Skip to content

Commit 7b787b5

Browse files
authored
Merge pull request #17 from swarm-lab/develop
Develop
2 parents 493e707 + 59f6eeb commit 7b787b5

28 files changed

+92
-80
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: trackdf
22
Type: Package
33
Title: Data Frame Class for Tracking Data
4-
Version: 0.3.1
5-
Date: 2023-01-22
4+
Version: 0.3.2
5+
Date: 2023-03-25
66
Authors@R: c(
77
person("Simon", "Garnier", email = "garnier@njit.edu", role = c("aut", "cre"),
88
comment = c(ORCID = "0000-0002-3886-3974"))

NAMESPACE

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,10 @@ S3method(print,track)
2929
S3method(rename,track)
3030
S3method(right_join,track)
3131
S3method(rowwise,track)
32-
S3method(sample_frac,track)
33-
S3method(sample_n,track)
3432
S3method(select,track)
3533
S3method(semi_join,track)
3634
S3method(slice,track)
35+
S3method(slice_sample,track)
3736
S3method(summarise,track)
3837
S3method(summarize,track)
3938
S3method(transmute,track)
@@ -74,11 +73,10 @@ importFrom(dplyr,nest_join)
7473
importFrom(dplyr,rename)
7574
importFrom(dplyr,right_join)
7675
importFrom(dplyr,rowwise)
77-
importFrom(dplyr,sample_frac)
78-
importFrom(dplyr,sample_n)
7976
importFrom(dplyr,select)
8077
importFrom(dplyr,semi_join)
8178
importFrom(dplyr,slice)
79+
importFrom(dplyr,slice_sample)
8280
importFrom(dplyr,summarise)
8381
importFrom(dplyr,summarize)
8482
importFrom(dplyr,transmute)

NEWS.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# trackdf 0.3.2
2+
3+
## New features
4+
5+
* N/A.
6+
7+
## Minor improvements and fixes
8+
9+
* Fixes CRAN check warnings with R-devel.
10+
11+
---
12+
113
# trackdf 0.3.1
214

315
## New features

R/tidyverse.R

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
#'
5050
#' @description \code{\link[dplyr]{dplyr}} methods for track tables objects.
5151
#'
52-
#' @param .data A track table.
52+
#' @param data,.data,x A track table.
5353
#'
5454
#' @param ... Additional arguments to be passed to the corresponding
5555
#' \code{\link[dplyr]{dplyr}} method.
@@ -125,19 +125,13 @@ group_by.track <- function(.data, ...) .reclass(.data, NextMethod())
125125
#' @rdname dplyr_track
126126
#'
127127
#' @export
128-
ungroup.track <- function(.data, ...) .reclass(.data, NextMethod())
128+
ungroup.track <- function(x, ...) .reclass(x, NextMethod())
129129

130-
#' @importFrom dplyr sample_n
130+
#' @importFrom dplyr slice_sample
131131
#' @rdname dplyr_track
132132
#'
133133
#' @export
134-
sample_n.track <- function(.data, ...) .reclass(.data, NextMethod())
135-
136-
#' @importFrom dplyr sample_frac
137-
#' @rdname dplyr_track
138-
#'
139-
#' @export
140-
sample_frac.track <- function(.data, ...) .reclass(.data, NextMethod())
134+
slice_sample.track <- function(.data, ...) .reclass(.data, NextMethod())
141135

142136
#' @importFrom dplyr do
143137
#' @rdname dplyr_track
@@ -155,43 +149,43 @@ slice.track <- function(.data, ...) .reclass(.data, NextMethod())
155149
#' @rdname dplyr_track
156150
#'
157151
#' @export
158-
semi_join.track <- function(.data, ...) .reclass(.data, NextMethod())
152+
semi_join.track <- function(x, ...) .reclass(x, NextMethod())
159153

160154
#' @importFrom dplyr anti_join
161155
#' @rdname dplyr_track
162156
#'
163157
#' @export
164-
anti_join.track <- function(.data, ...) .reclass(.data, NextMethod())
158+
anti_join.track <- function(x, ...) .reclass(x, NextMethod())
165159

166160
#' @importFrom dplyr inner_join
167161
#' @rdname dplyr_track
168162
#'
169163
#' @export
170-
inner_join.track <- function(.data, ...) .reclass(.data, NextMethod())
164+
inner_join.track <- function(x, ...) .reclass(x, NextMethod())
171165

172166
#' @importFrom dplyr left_join
173167
#' @rdname dplyr_track
174168
#'
175169
#' @export
176-
left_join.track <- function(.data, ...) .reclass(.data, NextMethod())
170+
left_join.track <- function(x, ...) .reclass(x, NextMethod())
177171

178172
#' @importFrom dplyr right_join
179173
#' @rdname dplyr_track
180174
#'
181175
#' @export
182-
right_join.track <- function(.data, ...) .reclass(.data, NextMethod())
176+
right_join.track <- function(x, ...) .reclass(x, NextMethod())
183177

184178
#' @importFrom dplyr full_join
185179
#' @rdname dplyr_track
186180
#'
187181
#' @export
188-
full_join.track <- function(.data, ...) .reclass(.data, NextMethod())
182+
full_join.track <- function(x, ...) .reclass(x, NextMethod())
189183

190184
#' @importFrom dplyr nest_join
191185
#' @rdname dplyr_track
192186
#'
193187
#' @export
194-
nest_join.track <- function(.data, ...) .reclass(.data, NextMethod())
188+
nest_join.track <- function(x, ...) .reclass(x, NextMethod())
195189

196190
#' @importFrom dplyr distinct
197191
#' @rdname dplyr_track
@@ -203,4 +197,4 @@ distinct.track <- function(.data, ...) .reclass(.data, NextMethod())
203197
#' @rdname dplyr_track
204198
#'
205199
#' @export
206-
rowwise.track <- function(.data, ...) .reclass(.data, NextMethod())
200+
rowwise.track <- function(data, ...) .reclass(data, NextMethod())

cran-comments.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
## Test environments
22

3-
* local OS X 13.1, R 4.2.2 + devel
4-
* local Windows 10, R 4.2.2 + devel
5-
* local Ubuntu 22.04, R 4.2.2 + devel
3+
* local OS X 13.1, R 4.2.3 + devel
4+
* local Windows 10, R 4.2.3 + devel
5+
* local Ubuntu 22.04, R 4.2.3 + devel
66
* Github Actions "windows-latest (release)"
77
* Github Actions "macOS-latest (release)"
88
* Github Actions "ubuntu-22.04-latest (release)"

docs/404.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/LICENSE-text.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/index.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/z1_install.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/z2_build.html

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)