Skip to content

Commit

Permalink
removing here()
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyclements committed Oct 30, 2023
1 parent eb1d9e5 commit cc4885b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions tests/testthat/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e-picsa-e630400792e7.json
2 changes: 1 addition & 1 deletion tests/testthat/test-annual_rainfall_summaries.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ library(testthat)
library(epicsawrap)

# Test case 1
epicsadata::gcs_auth_file(file = here::here("testdata/e-picsa-e630400792e7.json"))
epicsadata::gcs_auth_file(file = "e-picsa-e630400792e7.json")
test_1_results <- readRDS("testdata/test_1_annual_summaries.rds")
country <- "zm"
station_id <- "test_1"
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-crop_success_probabilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ library(testthat)
library(epicsawrap)

# Test case 1
epicsadata::gcs_auth_file(file = here::here("testdata/e-picsa-e630400792e7.json"))
epicsadata::gcs_auth_file(file = "e-picsa-e630400792e7.json")
test_1_results <- readRDS("testdata/test_1_crop_success_probabilities.rds")
country <- "zm"
station_id <- "test_1"
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-season_start_probabilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ library(testthat)
library(epicsawrap)

# Test case 1
epicsadata::gcs_auth_file(file = here::here("testdata/e-picsa-e630400792e7.json"))
epicsadata::gcs_auth_file(file = "e-picsa-e630400792e7.json")
test_1_results <- readRDS("testdata/test_1_season_start_probabilities.rds")
country <- "zm"
station_id <- "test_1"
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-total_temperature_summaries.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ library(testthat)
library(epicsawrap)

# Test case 1
epicsadata::gcs_auth_file(file = here::here("testdata/e-picsa-e630400792e7.json"))
epicsadata::gcs_auth_file(file = "e-picsa-e630400792e7.json")
test_1_annual <- readRDS("testdata/test_1_annual.rds")
test_1_monthly <- readRDS("testdata/test_1_monthly.rds")
country <- "zm"
Expand Down

0 comments on commit cc4885b

Please sign in to comment.