Skip to content

Commit 8f3c3dc

Browse files
committed
chore: update RoxygenNote version and remove unused na.omit.list function
1 parent 94bcba3 commit 8f3c3dc

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ URL: https://github.com/PMassicotte/gtrendsR
1515
Depends: R (>= 3.5.0)
1616
LazyData: yes
1717
Imports: ggplot2, jsonlite, anytime, curl
18-
RoxygenNote: 7.2.0
18+
RoxygenNote: 7.3.2
1919
Suggests: knitr, rmarkdown, tinytest
2020
Encoding: UTF-8

R/zzz.R

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -748,15 +748,6 @@ create_geo_payload <- function(
748748
return(df)
749749
}
750750

751-
## Remove NA from list
752-
na.omit.list <- function(y) {
753-
return(y[
754-
!sapply(y, function(x) {
755-
all(is.na(x))
756-
})
757-
])
758-
}
759-
760751
## Replace special characters in keywords like P&500 -> P%26500
761752
encode_keyword <- function(url) {
762753
url <- gsub(

0 commit comments

Comments
 (0)