From 4d8040a086d30a2a2348b8d3e704e6365a6c8d10 Mon Sep 17 00:00:00 2001 From: wlangera Date: Wed, 24 Jul 2024 16:30:44 +0200 Subject: [PATCH] use seed --- tests/testthat/test-apply_polygon_sampling_bias.R | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/testthat/test-apply_polygon_sampling_bias.R b/tests/testthat/test-apply_polygon_sampling_bias.R index f3eef68..155afd5 100644 --- a/tests/testthat/test-apply_polygon_sampling_bias.R +++ b/tests/testthat/test-apply_polygon_sampling_bias.R @@ -4,6 +4,7 @@ n_points <- 4 xlim <- c(3841000, 3842000) ylim <- c(3110000, 3112000) +set.seed(123) occurrences_sf <- data.frame( lat = runif(n_points, ylim[1], ylim[2]), long = runif(n_points, xlim[1], xlim[2])