Skip to content

Commit de3884e

Browse files
committed
Use non internal method
1 parent 7a3d514 commit de3884e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/grob-absolute.r

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#' @keywords internal
88
absoluteGrob <- function(grob, width = NULL, height = NULL,
99
xmin = NULL, ymin = NULL, vp = NULL) {
10+
1011
gTree(
1112
children = grob,
1213
width = width, height = height,
@@ -42,5 +43,5 @@ grobY.absoluteGrob <- function(x, theta) {
4243
#' @export
4344
#' @method grid.draw absoluteGrob
4445
grid.draw.absoluteGrob <- function(x, recording = TRUE) {
45-
grid:::drawGTree(x)
46+
NextMethod()
4647
}

0 commit comments

Comments
 (0)