Skip to content

Commit 204a766

Browse files
committed
on cran
1 parent 2bdc7f9 commit 204a766

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

CRAN-SUBMISSION

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Version: 0.2.9
2+
Date: 2024-03-12 00:50:57 UTC
3+
SHA: 2bdc7f99c4fa84ea78c32a3a7c5b002e64612530

R/frame-calendar.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -383,12 +383,12 @@ assign_grids <- function(ROW, COL, width, height, polar = FALSE) {
383383
}
384384

385385
# Compute grid lines and text labels for frame_calendar()
386-
gen_reference <- function(grids, dir = "h", ...) {
386+
gen_reference <- function(grids, margin, dir = "h", week_start = 1, ...) {
387387
dir <- match.arg(dir, c("h", "v"))
388388
UseMethod("gen_reference")
389389
}
390390

391-
gen_reference.daily <- function(grids, dir = "h", ...) {
391+
gen_reference.daily <- function(grids, margin, dir = "h", week_start = 1, ...) {
392392
# day breaks
393393
minor_breaks <- gen_day_breaks(grids)
394394
min_width <- min_diff(minor_breaks$x)
@@ -430,7 +430,7 @@ gen_reference.daily <- function(grids, dir = "h", ...) {
430430
list(breaks = NULL, minor_breaks = minor_breaks, label = mtext, text = dtext)
431431
}
432432

433-
gen_reference.weekly <- function(grids, dir = "h", ...) {
433+
gen_reference.weekly <- function(grids, margin, dir = "h", week_start = 1, ...) {
434434
# day breaks
435435
minor_breaks <- gen_day_breaks(grids)
436436
min_width <- min_diff(minor_breaks$x)

0 commit comments

Comments
 (0)