Skip to content

Commit a320264

Browse files
committed
update windst.R to meet CRAN errors
1 parent 219f588 commit a320264

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: gstat
2-
Version: 2.1-4
2+
Version: 2.1-5
33
Title: Spatial and Spatio-Temporal Geostatistical Modelling, Prediction
44
and Simulation
55
Authors@R: c(person(given = "Edzer",

inst/ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2025-06-30 edzer <[email protected]>
2+
3+
* inst/ChangeLog: CL
4+
15
2025-06-30 edzer <[email protected]>
26

37
* DESCRIPTION, inst/ChangeLog, tests/stars.R,

tests/windst.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ suppressPackageStartupMessages(library(spacetime))
33
suppressPackageStartupMessages(library(gstat))
44
suppressPackageStartupMessages(library(stars))
55

6+
Sys.unsetenv("KMP_DEVICE_THREAD_LIMIT")
7+
Sys.unsetenv("KMP_ALL_THREADS")
8+
Sys.unsetenv("KMP_TEAMS_THREAD_LIMIT")
9+
Sys.unsetenv("OMP_THREAD_LIMIT")
10+
611
data(wind)
712
wind.loc$y = as.numeric(char2dms(as.character(wind.loc[["Latitude"]])))
813
wind.loc$x = as.numeric(char2dms(as.character(wind.loc[["Longitude"]])))

tests/windst.Rout.save

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
R version 4.2.3 (2023-03-15) -- "Shortstop Beagle"
3-
Copyright (C) 2023 The R Foundation for Statistical Computing
4-
Platform: x86_64-pc-linux-gnu (64-bit)
2+
R version 4.5.1 (2025-06-13) -- "Great Square Root"
3+
Copyright (C) 2025 The R Foundation for Statistical Computing
4+
Platform: x86_64-pc-linux-gnu
55

66
R is free software and comes with ABSOLUTELY NO WARRANTY.
77
You are welcome to redistribute it under certain conditions.
@@ -20,6 +20,11 @@ Type 'q()' to quit R.
2020
> suppressPackageStartupMessages(library(gstat))
2121
> suppressPackageStartupMessages(library(stars))
2222
>
23+
> Sys.unsetenv("KMP_DEVICE_THREAD_LIMIT")
24+
> Sys.unsetenv("KMP_ALL_THREADS")
25+
> Sys.unsetenv("KMP_TEAMS_THREAD_LIMIT")
26+
> Sys.unsetenv("OMP_THREAD_LIMIT")
27+
>
2328
> data(wind)
2429
> wind.loc$y = as.numeric(char2dms(as.character(wind.loc[["Latitude"]])))
2530
> wind.loc$x = as.numeric(char2dms(as.character(wind.loc[["Longitude"]])))
@@ -123,4 +128,4 @@ Warning messages:
123128
>
124129
> proc.time()
125130
user system elapsed
126-
4.489 3.497 3.766
131+
4.184 6.669 3.573

0 commit comments

Comments
 (0)