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 8686 appears to contain an embedded nul
Warning in readLines(connection) :
  line 8687 appears to contain an embedded nul
Warning in readLines(connection) :
  line 9596 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10448 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10449 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10450 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10451 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10452 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10453 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10454 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10455 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10456 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10457 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10458 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10459 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10460 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10461 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10462 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10463 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10464 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10465 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10466 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10467 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10468 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10469 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10470 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10471 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10472 appears to contain an embedded nul
Warning in readLines(connection) :
  line 10473 appears to contain an embedded nul
Warning in grep(pattern = "^//", x = results) :
  input string 8686 is invalid in this locale
Warning in grep(pattern = "^//", x = results) :
  input string 10448 is invalid in this locale
Warning in grep(pattern = "^//", x = results) :
  input string 10449 is invalid in this locale
Warning in grep(pattern = "^//", x = results) :
  input string 10451 is invalid in this locale
Warning in grep(pattern = "^//", x = results) :
  input string 10452 is invalid in this locale
Error in gsub(x = suffixes, pattern = "*.", replacement = "", fixed = TRUE) : 
  input string 6669 is invalid in this locale
Calls: suffix_extract -> suffix_load -> gsub
Execution halted