Skip to content

Commit

Permalink
Create test_indicator_native_range_year.R
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderDevisscher committed Jul 7, 2020
1 parent 574f84b commit d7373b9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/testthat/test_indicator_native_range_year.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
library(readr)
data_input_checklist_indicators <- read_delim("https://raw.githubusercontent.com/trias-project/indicators/master/data/interim/data_input_checklist_indicators.tsv",
"\t", escape_double = FALSE, trim_ws = TRUE)

source("./R/indicator_native_range_year.r")

countYearNativerange(data_input_checklist_indicators, jaartallen = c(1950:2019), type = "native_range")

0 comments on commit d7373b9

Please sign in to comment.