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 5185 appears to contain an embedded nul
Warning in readLines(connection) :
  line 5186 appears to contain an embedded nul
Warning in readLines(connection) :
  line 5187 appears to contain an embedded nul
Warning in readLines(connection) :
  line 5189 appears to contain an embedded nul
Warning in readLines(connection) :
  line 5197 appears to contain an embedded nul
Warning in readLines(connection) :
  line 5198 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6463 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6464 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6465 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6466 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6467 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6472 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6473 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6474 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6475 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6476 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6477 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6478 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6479 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6481 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6482 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6485 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6486 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6487 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6488 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6489 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6490 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6491 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6492 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6493 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6494 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6495 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6496 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6498 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6504 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6505 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6506 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6508 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6513 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6514 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6515 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6516 appears to contain an embedded nul
Warning in readLines(connection) :
  line 6517 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 5188 is invalid in this locale
Warning in grep(pattern = "^//", x = results) :
  input string 5195 is invalid in this locale
Warning in grep(pattern = "^//", x = results) :
  input string 5196 is invalid in this locale
Warning in grep(pattern = "^//", x = results) :
  input string 5198 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