Skip to content

Commit 790e3db

Browse files
committed
Fix .Rprofile: only load devtools interactively
Prevents CI failures when devtools is not installed.
1 parent 2811128 commit 790e3db

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.Rprofile‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
library(devtools)
1+
if (interactive() && requireNamespace("devtools", quietly = TRUE)) {
2+
library(devtools)
3+
}

0 commit comments

Comments
 (0)