Skip to content

Commit 028068f

Browse files
committed
backport @
1 parent 9736300 commit 028068f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,7 @@ export(xlim)
745745
export(ylab)
746746
export(ylim)
747747
export(zeroGrob)
748+
if (getRversion() < "4.3.0") importFrom("S7", "@")
748749
import(grid)
749750
import(gtable)
750751
import(rlang)

R/backports.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ if (getRversion() < "3.3") {
1515
backport_unit_methods <- function() {}
1616
}
1717

18+
# enable usage of <S7_object>@name in package code
19+
#' @rawNamespace if (getRversion() < "4.3.0") importFrom("S7", "@")
20+
NULL
21+
1822
on_load(backport_unit_methods())
1923

2024
unitType <- function(x) {

0 commit comments

Comments
 (0)