diff --git a/.Rbuildignore b/.Rbuildignore index 4aa3043..0191696 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -9,3 +9,4 @@ README.Rmd ^doc$ ^\.github$ +^inst$ diff --git a/R/validate_archive.R b/R/validate_archive.R index f2834fc..7429e25 100644 --- a/R/validate_archive.R +++ b/R/validate_archive.R @@ -18,7 +18,7 @@ validate_archive <- function(x = "data", provider = "GBIF"){ # if this isn't a zip file, build one, and return the location - if(!grepl(x, ".zip$")){ + if(!grepl(".zip$", x)){ x <- build_archive(x) } diff --git a/_pkgdown.yml b/_pkgdown.yml index d539272..0fa0bc4 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -15,6 +15,7 @@ navbar: - quickstart - reference right: + - search - news - github components: