Running examples in ‘urltools-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: suffix_extract
> ### Title: extract the suffix from domain names
> ### Aliases: suffix_extract
> 
> ### ** Examples
> 
> 
> # Using url_parse
> domain_name <- url_parse("http://en.wikipedia.org")$domain
> suffix_extract(domain_name)
              host subdomain    domain suffix
1 en.wikipedia.org        en wikipedia    org
> 
> # Using domain()
> domain_name <- domain("http://en.wikipedia.org")
> suffix_extract(domain_name)
              host subdomain    domain suffix
1 en.wikipedia.org        en wikipedia    org
> 
> #Relying on a fresh version of the suffix dataset
> suffix_extract(domain("http://en.wikipedia.org"), suffix_refresh())
Warning in readLines(connection) :
  line 1 appears to contain an embedded nul
Warning in readLines(connection) :
  line 4 appears to contain an embedded nul
Warning in readLines(connection) :
  line 7 appears to contain an embedded nul
Warning in readLines(connection) :
  line 8 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10 appears to contain an embedded nul
Warning in readLines(connection) :
  line 13 appears to contain an embedded nul
Warning in readLines(connection) :
  line 22 appears to contain an embedded nul
Warning in readLines(connection) :
  line 24 appears to contain an embedded nul
Warning in readLines(connection) :
  line 26 appears to contain an embedded nul
Warning in readLines(connection) :
  line 30 appears to contain an embedded nul
Warning in readLines(connection) :
  line 31 appears to contain an embedded nul
Warning in readLines(connection) :
  line 32 appears to contain an embedded nul
Warning in readLines(connection) :
  line 33 appears to contain an embedded nul
Warning in readLines(connection) :
  line 39 appears to contain an embedded nul
Warning in readLines(connection) :
  line 47 appears to contain an embedded nul
Warning in readLines(connection) :
  line 49 appears to contain an embedded nul
Warning in readLines(connection) :
  line 52 appears to contain an embedded nul
Warning in readLines(connection) :
  line 54 appears to contain an embedded nul
Warning in readLines(connection) :
  line 61 appears to contain an embedded nul
Warning in readLines(connection) :
  line 62 appears to contain an embedded nul
Warning in readLines(connection) :
  line 63 appears to contain an embedded nul
Warning in readLines(connection) :
  line 64 appears to contain an embedded nul
Warning in readLines(connection) :
  line 70 appears to contain an embedded nul
Warning in readLines(connection) :
  line 73 appears to contain an embedded nul
Warning in readLines(connection) :
  line 75 appears to contain an embedded nul
Warning in readLines(connection) :
  line 76 appears to contain an embedded nul
Warning in readLines(connection) :
  line 77 appears to contain an embedded nul
Warning in readLines(connection) :
  line 85 appears to contain an embedded nul
Warning in readLines(connection) :
  line 87 appears to contain an embedded nul
Warning in readLines(connection) :
  line 88 appears to contain an embedded nul
Warning in readLines(connection) :
  line 91 appears to contain an embedded nul
Warning in readLines(connection) :
  line 93 appears to contain an embedded nul
Warning in readLines(connection) :
  line 96 appears to contain an embedded nul
Warning in readLines(connection) :
  line 98 appears to contain an embedded nul
Warning in readLines(connection) :
  line 103 appears to contain an embedded nul
Warning in readLines(connection) :
  line 106 appears to contain an embedded nul
Warning in readLines(connection) :
  line 111 appears to contain an embedded nul
Warning in readLines(connection) :
  line 112 appears to contain an embedded nul
Warning in readLines(connection) :
  line 113 appears to contain an embedded nul
Warning in readLines(connection) :
  line 168 appears to contain an embedded nul
Warning in readLines(connection) :
  line 1198 appears to contain an embedded nul
Warning in readLines(connection) :
  line 1199 appears to contain an embedded nul
Warning in readLines(connection) :
  line 1200 appears to contain an embedded nul
Warning in readLines(connection) :
  line 1202 appears to contain an embedded nul
Warning in readLines(connection) :
  line 1204 appears to contain an embedded nul
Warning in readLines(connection) :
  line 1205 appears to contain an embedded nul
Warning in readLines(connection) :
  line 1206 appears to contain an embedded nul
Warning in readLines(connection) :
  line 1207 appears to contain an embedded nul
Warning in readLines(connection) :
  line 1208 appears to contain an embedded nul
Warning in readLines(connection) :
  line 1209 appears to contain an embedded nul
Warning in readLines(connection) :
  line 1210 appears to contain an embedded nul
Warning in readLines(connection) :
  line 1211 appears to contain an embedded nul
Warning in readLines(connection) :
  line 1212 appears to contain an embedded nul
Warning in grep(pattern = "^//", x = results) :
  input string 1 is invalid in this locale
Warning in grep(pattern = "^//", x = results) :
  input string 2 is invalid in this locale
Warning in grep(pattern = "^//", x = results) :
  input string 3 is invalid in this locale
Warning in grep(pattern = "^//", x = results) :
  input string 4 is invalid in this locale
Warning in grep(pattern = "^//", x = results) :
  input string 5 is invalid in this locale
Error in gsub(x = suffixes, pattern = "*.", replacement = "", fixed = TRUE) : 
  input string 1 is invalid in this locale
Calls: suffix_extract -> suffix_load -> gsub
Execution halted