Skip to content

Commit

Permalink
Update CI_2_Generate_warnings.R
Browse files Browse the repository at this point in the history
  • Loading branch information
markus1bauer committed Apr 19, 2024
1 parent 24f468a commit 388cc7f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/CI_2_Generate_warnings.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ rm(list = ls())

#### Load files ####

path <- file.path(here("testthat", "warnings_file.csv"))
if(file.exists(path)) warning_file <- read.csv(path)
path <- file.path(here("testthat", "warnings_different_total_cover.csv"))
if(file.exists(path))
warning_file <- read.csv(path)


# write warning messages ####

warning_messages <- c(
"unhealthy_but_wrong_status" = "There are living trees that are unhealthy but status is not AU.",
"wounded_level_but_wrong_status_or_FAD" = "There are trees with wounded level but no W in FAD."
"warnings_different_total_cover" = "Total cover estimated and accumulated cover do not match"
)


Expand Down

0 comments on commit 388cc7f

Please sign in to comment.