Skip to content

Commit bf399e8

Browse files
committed
Avoid is.R()
1 parent 5eccf63 commit bf399e8

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: drake
22
Title: A Pipeline Toolkit for Reproducible Computation at Scale
3-
Version: 7.13.8
3+
Version: 7.13.9
44
Authors@R: c(
55
person(
66
given = c("William", "Michael"),

NEWS.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Version 7.13.9
2+
3+
* Avoid `is.R()`.
4+
15
# Version 7.13.8
26

37
* Fix CRAN note.

tests/testthat/test-6-analysis.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ test_with_dir("solitary codetools globals tests", {
119119
out <- drake_deps(quote(local(x <- 1, e)))$globals
120120
expect_equal(sort(out), sort(c("local", "e")))
121121
f <- function() {
122-
if (is.R()) {
122+
if (g()) {
123123
x
124124
} else {
125125
y
126126
}
127127
}
128128
out <- drake_deps(f)$globals
129-
expect_equal(sort(out), sort(c("if", "is.R", "x", "y")))
129+
expect_equal(sort(out), sort(c("if", "g", "x", "y")))
130130
f <- function() {
131131
if (FALSE) {
132132
x

0 commit comments

Comments
 (0)