Skip to content

Commit

Permalink
minor bug fixes
Browse files Browse the repository at this point in the history
- validate_archive not checking for .zip files properly
- missing `search` on website
- empty `inst` folder
  • Loading branch information
mjwestgate committed Dec 12, 2024
1 parent 784a808 commit ee9126f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
README.Rmd
^doc$
^\.github$
^inst$
2 changes: 1 addition & 1 deletion R/validate_archive.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down
1 change: 1 addition & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ navbar:
- quickstart
- reference
right:
- search
- news
- github
components:
Expand Down

0 comments on commit ee9126f

Please sign in to comment.