Skip to content

Commit b2f143e

Browse files
committed
backport @
1 parent 4f8a351 commit b2f143e

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
@@ -752,6 +752,7 @@ export(xlim)
752752
export(ylab)
753753
export(ylim)
754754
export(zeroGrob)
755+
if (getRversion() < "4.3.0") importFrom("S7", "@")
755756
import(grid)
756757
import(gtable)
757758
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)