Skip to content

Commit 19d7eac

Browse files
Merge pull request #293 from inbo/fix-292
Fix #292
2 parents 136c02c + e0ce62e commit 19d7eac

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

Diff for: DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: camtraptor
22
Title: Read, Explore and Visualize Camera Trap Data Packages
3-
Version: 0.22.0
3+
Version: 0.23.0
44
Authors@R: c(
55
person("Damiano", "Oldoni", email = "[email protected]",
66
role = c("aut", "cre"), comment = c(ORCID = "0000-0003-3445-7562")),

Diff for: R/check_species.R

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ check_species <- function(package = NULL,
4747

4848
all_species <-
4949
get_species(package) %>%
50-
dplyr::select(-c("taxonID", "taxonIDReference"))
50+
dplyr::select(-dplyr::any_of(c("taxonID", "taxonIDReference")))
51+
5152
check_value(
5253
tolower(species),
5354
unlist(all_species) %>% tolower(),

Diff for: R/write_eml.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ write_eml <- function(package,
167167
)
168168
}
169169
# Sort contributors on order in creators
170-
contributors <- arrange(contributors, factor(title, level = creators))
170+
contributors <- dplyr::arrange(contributors, factor(title, level = creators))
171171
}
172172
creator_list <- purrr::transpose(contributors) # Create list
173173
message(glue::glue(

Diff for: R/zzz.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,8 @@ add_taxonomic_info <- function(package) {
383383
# Keep only the taxonID added by join with taxonomy
384384
observations <-
385385
observations %>%
386-
rename("taxonID" = "taxonID.y") %>%
387-
select(-"taxonID.x")
386+
dplyr::rename("taxonID" = "taxonID.y") %>%
387+
dplyr::select(-"taxonID.x")
388388
}
389389
package$data$observations <- observations
390390
}

Diff for: man/get_record_table.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)