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 3248 appears to contain an embedded nul
Warning in readLines(connection) :
  line 4303 appears to contain an embedded nul
Warning in readLines(connection) :
  line 5558 appears to contain an embedded nul
Warning in readLines(connection) :
  line 5559 appears to contain an embedded nul
Warning in readLines(connection) :
  line 5560 appears to contain an embedded nul
Warning in readLines(connection) :
  line 5561 appears to contain an embedded nul
Warning in readLines(connection) :
  line 5562 appears to contain an embedded nul
Warning in readLines(connection) :
  line 5563 appears to contain an embedded nul
Warning in readLines(connection) :
  line 5564 appears to contain an embedded nul
Warning in readLines(connection) :
  line 5565 appears to contain an embedded nul
Warning in readLines(connection) :
  line 5566 appears to contain an embedded nul
Warning in readLines(connection) :
  line 5567 appears to contain an embedded nul
Warning in readLines(connection) :
  line 5568 appears to contain an embedded nul
Warning in readLines(connection) :
  line 5569 appears to contain an embedded nul
Warning in readLines(connection) :
  line 5570 appears to contain an embedded nul
Warning in grep(pattern = "^//", x = results) :
  input string 3248 is invalid in this locale
Warning in grep(pattern = "^//", x = results) :
  input string 5563 is invalid in this locale
Warning in grep(pattern = "^//", x = results) :
  input string 5564 is invalid in this locale
Warning in grep(pattern = "^//", x = results) :
  input string 5565 is invalid in this locale
Warning in grep(pattern = "^//", x = results) :
  input string 5566 is invalid in this locale
Error in gsub(x = suffixes, pattern = "*.", replacement = "", fixed = TRUE) : 
  input string 2901 is invalid in this locale
Calls: suffix_extract -> suffix_load -> gsub
Execution halted