From 40a5d45c8cd83ded7428fdbc0e03557246b4a2a9 Mon Sep 17 00:00:00 2001 From: PietrH Date: Wed, 3 Apr 2024 10:34:18 +0200 Subject: [PATCH] remove calls to `here::here()` --- tests/testthat/test-grid_designation.R | 3 --- tests/testthat/test-sample_from_uniform_circle.R | 3 --- tests/testthat/test-sample_observations.R | 4 ---- tests/testthat/test-simulate_occurrences.R | 4 ---- 4 files changed, 14 deletions(-) diff --git a/tests/testthat/test-grid_designation.R b/tests/testthat/test-grid_designation.R index 21113fd..c3b6dce 100644 --- a/tests/testthat/test-grid_designation.R +++ b/tests/testthat/test-grid_designation.R @@ -1,6 +1,3 @@ -# Source functions -source(here("R", "grid_designation.R")) - # Prepare example datasets ## number of points and extend n_points <- 4 diff --git a/tests/testthat/test-sample_from_uniform_circle.R b/tests/testthat/test-sample_from_uniform_circle.R index 84c0edd..828e876 100644 --- a/tests/testthat/test-sample_from_uniform_circle.R +++ b/tests/testthat/test-sample_from_uniform_circle.R @@ -1,6 +1,3 @@ -# # Source functions -# source(here("R", "sample_from_uniform_circle.R")) - # Prepare example datasets ## number of points and extend n_points <- 4 diff --git a/tests/testthat/test-sample_observations.R b/tests/testthat/test-sample_observations.R index d0e10d3..8849056 100644 --- a/tests/testthat/test-sample_observations.R +++ b/tests/testthat/test-sample_observations.R @@ -1,7 +1,3 @@ -# Source functions -source(here("R", "sample_observations.R")) - -# Unit tests test_that("multiplication works", { expect_equal(2 * 2, 4) }) diff --git a/tests/testthat/test-simulate_occurrences.R b/tests/testthat/test-simulate_occurrences.R index 71be511..8849056 100644 --- a/tests/testthat/test-simulate_occurrences.R +++ b/tests/testthat/test-simulate_occurrences.R @@ -1,7 +1,3 @@ -# Source functions -source(here("R", "simulate_occurrences.R")) - -# Unit tests test_that("multiplication works", { expect_equal(2 * 2, 4) })