Skip to content

Commit 2d504ad

Browse files
committed
Lower R requirements to 4.3
1 parent e4a3aba commit 2d504ad

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ License: MIT + file LICENSE
1212
URL: https://github.com/pharmaR/riskreports, https://pharmar.github.io/riskreports/
1313
BugReports: https://github.com/pharmaR/riskreports/issues
1414
Depends:
15-
R (>= 4.4.0)
15+
R (>= 4.3.0)
1616
Imports:
1717
methods,
1818
htmltools,

R/utils.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ fill_in <- function(list, names) {
1818
list
1919
}
2020

21+
`%||%` <- function (x, y) {
22+
if (is.null(x)) y else x
23+
}
2124

2225
output_dir <- function() {
2326
opt <- getOption("riskreports_output_dir", default = NULL)

0 commit comments

Comments
 (0)