Skip to content

Commit 60b14b7

Browse files
committed
Fix thinkos
1 parent dfa8bbe commit 60b14b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test-catch.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
library(testthat)
22

33
local({
4-
if (!is_installed("usethis", quietly = TRUE)) {
4+
if (!requireNamespace("usethis", quietly = TRUE)) {
55
return()
66
}
77

@@ -47,6 +47,7 @@ local({
4747
)
4848

4949
if (!catchEnabled) {
50+
isWindows <- Sys.info()[["sysname"]] == "Windows"
5051
makevarsPath <- file.path(
5152
pkgPath,
5253
"src",

0 commit comments

Comments
 (0)