Skip to content

Commit b4d8dee

Browse files
author
smeyer
committed
do not fail regtest from unknown timezone
git-svn-id: https://svn.r-project.org/R/trunk@88198 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 18aa4c2 commit b4d8dee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/reg-tests-1e.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1698,6 +1698,7 @@ options(op) # return to sanity + warn=2
16981698

16991699

17001700
## sessionInfo() *prints* La_version() when not empty
1701+
op <- options(warn = 1) # possible warning from Sys.timezone() --> timezone.R
17011702
si <- sessionInfo()
17021703
str( osi <- capture.output(si)); si$LAPACK <- ""
17031704
osi.noLA <- capture.output(si)
@@ -1719,6 +1720,7 @@ if(length(iLA) && nzchar(La_version())) { cat("sessionInfo - La_* checking: ")
17191720
cat("ok\n")
17201721
}
17211722
## the "LAPACK: .." was entirely empty when si$LAPACK was ""
1723+
options(op)
17221724

17231725

17241726
## arima(*, seasonal = <numeric>)

0 commit comments

Comments
 (0)