Skip to content

Commit 4922e73

Browse files
committed
Add @export tags for methods on internal S3 generics
As reported by roxygen2
1 parent a83d676 commit 4922e73

File tree

7 files changed

+36
-1
lines changed

7 files changed

+36
-1
lines changed

NAMESPACE

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,24 @@ S3method(calendar_count_between,clock_year_month_day)
197197
S3method(calendar_count_between,clock_year_month_weekday)
198198
S3method(calendar_count_between,clock_year_quarter_day)
199199
S3method(calendar_count_between,clock_year_week_day)
200+
S3method(calendar_count_between_compute,clock_iso_year_week_day)
201+
S3method(calendar_count_between_compute,clock_year_day)
202+
S3method(calendar_count_between_compute,clock_year_month_day)
203+
S3method(calendar_count_between_compute,clock_year_month_weekday)
204+
S3method(calendar_count_between_compute,clock_year_quarter_day)
205+
S3method(calendar_count_between_compute,clock_year_week_day)
206+
S3method(calendar_count_between_proxy_compare,clock_iso_year_week_day)
207+
S3method(calendar_count_between_proxy_compare,clock_year_day)
208+
S3method(calendar_count_between_proxy_compare,clock_year_month_day)
209+
S3method(calendar_count_between_proxy_compare,clock_year_month_weekday)
210+
S3method(calendar_count_between_proxy_compare,clock_year_quarter_day)
211+
S3method(calendar_count_between_proxy_compare,clock_year_week_day)
212+
S3method(calendar_count_between_standardize_precision_n,clock_iso_year_week_day)
213+
S3method(calendar_count_between_standardize_precision_n,clock_year_day)
214+
S3method(calendar_count_between_standardize_precision_n,clock_year_month_day)
215+
S3method(calendar_count_between_standardize_precision_n,clock_year_month_weekday)
216+
S3method(calendar_count_between_standardize_precision_n,clock_year_quarter_day)
217+
S3method(calendar_count_between_standardize_precision_n,clock_year_week_day)
200218
S3method(calendar_end,clock_calendar)
201219
S3method(calendar_end,clock_iso_year_week_day)
202220
S3method(calendar_end,clock_year_day)

R/gregorian-year-day.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,6 +1058,7 @@ calendar_count_between.clock_year_day <- function(start,
10581058
NextMethod()
10591059
}
10601060

1061+
#' @export
10611062
calendar_count_between_standardize_precision_n.clock_year_day <- function(x,
10621063
precision,
10631064
n) {
@@ -1073,6 +1074,7 @@ calendar_count_between_standardize_precision_n.clock_year_day <- function(x,
10731074
list(precision = precision, n = n)
10741075
}
10751076

1077+
#' @export
10761078
calendar_count_between_compute.clock_year_day <- function(start,
10771079
end,
10781080
precision) {
@@ -1087,6 +1089,7 @@ calendar_count_between_compute.clock_year_day <- function(start,
10871089
abort("Internal error: `precision` should be 'year' at this point.")
10881090
}
10891091

1092+
#' @export
10901093
calendar_count_between_proxy_compare.clock_year_day <- function(start,
10911094
end,
10921095
precision) {

R/gregorian-year-month-day.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,6 +1398,7 @@ calendar_count_between.clock_year_month_day <- function(start,
13981398
NextMethod()
13991399
}
14001400

1401+
#' @export
14011402
calendar_count_between_standardize_precision_n.clock_year_month_day <- function(x,
14021403
precision,
14031404
n) {
@@ -1419,6 +1420,7 @@ calendar_count_between_standardize_precision_n.clock_year_month_day <- function(
14191420
list(precision = precision, n = n)
14201421
}
14211422

1423+
#' @export
14221424
calendar_count_between_compute.clock_year_month_day <- function(start,
14231425
end,
14241426
precision) {
@@ -1439,6 +1441,7 @@ calendar_count_between_compute.clock_year_month_day <- function(start,
14391441
abort("Internal error: `precision` should be 'year' or 'month' at this point.")
14401442
}
14411443

1444+
#' @export
14421445
calendar_count_between_proxy_compare.clock_year_month_day <- function(start,
14431446
end,
14441447
precision) {

R/gregorian-year-month-weekday.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,18 +1284,21 @@ calendar_count_between.clock_year_month_weekday <- function(start,
12841284
NextMethod()
12851285
}
12861286

1287+
#' @export
12871288
calendar_count_between_standardize_precision_n.clock_year_month_weekday <- function(x,
12881289
precision,
12891290
n) {
12901291
calendar_count_between_standardize_precision_n.clock_year_month_day(x, precision, n)
12911292
}
12921293

1294+
#' @export
12931295
calendar_count_between_compute.clock_year_month_weekday <- function(start,
12941296
end,
12951297
precision) {
12961298
calendar_count_between_compute.clock_year_month_day(start, end, precision)
12971299
}
12981300

1301+
#' @export
12991302
calendar_count_between_proxy_compare.clock_year_month_weekday <- function(start,
13001303
end,
13011304
precision) {

R/iso-year-week-day.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,6 +1087,7 @@ calendar_count_between.clock_iso_year_week_day <- function(start,
10871087
NextMethod()
10881088
}
10891089

1090+
#' @export
10901091
calendar_count_between_standardize_precision_n.clock_iso_year_week_day <- function(x,
10911092
precision,
10921093
n) {
@@ -1102,6 +1103,7 @@ calendar_count_between_standardize_precision_n.clock_iso_year_week_day <- functi
11021103
list(precision = precision, n = n)
11031104
}
11041105

1106+
#' @export
11051107
calendar_count_between_compute.clock_iso_year_week_day <- function(start,
11061108
end,
11071109
precision) {
@@ -1116,6 +1118,7 @@ calendar_count_between_compute.clock_iso_year_week_day <- function(start,
11161118
abort("Internal error: `precision` should be 'year' at this point.")
11171119
}
11181120

1121+
#' @export
11191122
calendar_count_between_proxy_compare.clock_iso_year_week_day <- function(start,
11201123
end,
11211124
precision) {

R/quarterly-year-quarter-day.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1236,6 +1236,7 @@ calendar_count_between.clock_year_quarter_day <- function(start,
12361236
NextMethod()
12371237
}
12381238

1239+
#' @export
12391240
calendar_count_between_standardize_precision_n.clock_year_quarter_day <- function(x,
12401241
precision,
12411242
n) {
@@ -1251,6 +1252,7 @@ calendar_count_between_standardize_precision_n.clock_year_quarter_day <- functio
12511252
list(precision = precision, n = n)
12521253
}
12531254

1255+
#' @export
12541256
calendar_count_between_compute.clock_year_quarter_day <- function(start,
12551257
end,
12561258
precision) {
@@ -1271,6 +1273,7 @@ calendar_count_between_compute.clock_year_quarter_day <- function(start,
12711273
abort("Internal error: `precision` should be 'year' or 'quarter' at this point.")
12721274
}
12731275

1276+
#' @export
12741277
calendar_count_between_proxy_compare.clock_year_quarter_day <- function(start,
12751278
end,
12761279
precision) {
@@ -1412,4 +1415,3 @@ quarterly_validate_start <- function(start, ..., error_call = caller_env()) {
14121415

14131416
start
14141417
}
1415-

R/week-year-week-day.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,6 +1166,7 @@ calendar_count_between.clock_year_week_day <- function(start,
11661166
NextMethod()
11671167
}
11681168

1169+
#' @export
11691170
calendar_count_between_standardize_precision_n.clock_year_week_day <- function(x,
11701171
precision,
11711172
n) {
@@ -1181,6 +1182,7 @@ calendar_count_between_standardize_precision_n.clock_year_week_day <- function(x
11811182
list(precision = precision, n = n)
11821183
}
11831184

1185+
#' @export
11841186
calendar_count_between_compute.clock_year_week_day <- function(start,
11851187
end,
11861188
precision) {
@@ -1195,6 +1197,7 @@ calendar_count_between_compute.clock_year_week_day <- function(start,
11951197
abort("Internal error: `precision` should be 'year' at this point.")
11961198
}
11971199

1200+
#' @export
11981201
calendar_count_between_proxy_compare.clock_year_week_day <- function(start,
11991202
end,
12001203
precision) {

0 commit comments

Comments
 (0)