Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
markus1bauer committed Apr 26, 2024
1 parent f4550f3 commit df3f3f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/data-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ on:
paths:
- 'data**'
- '!README.md'
- 'R/ci_1_generate_reports.R'
- 'R/CI_1_Generate_reports.R'
pull_request:
paths:
- 'data**'
- '!README.md'
- 'R/ci_1_generate_reports.R'
- 'R/CI_1_Generate_reports.R'

# Name the workflow as it will appear on GA status page
# https://github.com/SCBI-ForestGEO/SCBImortality/actions
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Generate reports
id: Generate_reports
run: |
source("R/ci_1_generate_reports.R")
source("R/CI_1_Generate_reports.R")
shell: Rscript {0}

# Commit and push all new files, where commits are assigned to GA bot:
Expand Down
12 changes: 0 additions & 12 deletions R/CI_1_Generate_reports.R
Original file line number Diff line number Diff line change
Expand Up @@ -314,15 +314,3 @@ ggsave(
here("tests", "testthat", "reports_missing_traits.png"),
dpi = 300, height = 10, units = "cm"
)


# ### Check that each species occurs at least one time ###
# group_by(name) %>%
# arrange(name) %>%
# select(name, tidyselect::all_of(sites$id)) %>%
# mutate(
# total = sum(c_across(
# starts_with("L") | starts_with("W")),
# na.rm = TRUE),
# presence = if_else(total > 0, 1, 0)
# )

0 comments on commit df3f3f1

Please sign in to comment.