Skip to content

Commit bc955b2

Browse files
committed
Add dontrun{} around misspellings example, since Wikipedia has been intermittently offline (and since it's only there for reproducibility of a dataset).
1 parent 7806aed commit bc955b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

R/misspellings.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#'
1010
#' @examples
1111
#'
12+
#' \dontrun{
1213
#' library(rvest)
1314
#' library(readr)
1415
#' library(dplyr)
@@ -26,6 +27,7 @@
2627
#' mutate(misspelling = str_sub(misspelling, 1, -2)) %>%
2728
#' unnest(correct = str_split(correct, ", ")) %>%
2829
#' filter(Encoding(correct) != "UTF-8")
30+
#' }
2931
#'
3032
#' @source \url{https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines}
3133
"misspellings"

0 commit comments

Comments
 (0)