Skip to content

Commit ee9126f

Browse files
committed
minor bug fixes
- validate_archive not checking for .zip files properly - missing `search` on website - empty `inst` folder
1 parent 784a808 commit ee9126f

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.Rbuildignore

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@
99
README.Rmd
1010
^doc$
1111
^\.github$
12+
^inst$

R/validate_archive.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ validate_archive <- function(x = "data",
1818
provider = "GBIF"){
1919

2020
# if this isn't a zip file, build one, and return the location
21-
if(!grepl(x, ".zip$")){
21+
if(!grepl(".zip$", x)){
2222
x <- build_archive(x)
2323
}
2424

_pkgdown.yml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ navbar:
1515
- quickstart
1616
- reference
1717
right:
18+
- search
1819
- news
1920
- github
2021
components:

0 commit comments

Comments
 (0)