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 2348 appears to contain an embedded nul
Warning in readLines(connection) :
  line 2349 appears to contain an embedded nul
Warning in readLines(connection) :
  line 2350 appears to contain an embedded nul
Warning in readLines(connection) :
  line 2351 appears to contain an embedded nul
Warning in readLines(connection) :
  line 2352 appears to contain an embedded nul
Warning in readLines(connection) :
  line 2353 appears to contain an embedded nul
Warning in readLines(connection) :
  line 2354 appears to contain an embedded nul
Warning in readLines(connection) :
  line 2355 appears to contain an embedded nul
Warning in readLines(connection) :
  line 2356 appears to contain an embedded nul
Warning in readLines(connection) :
  line 2357 appears to contain an embedded nul
Warning in readLines(connection) :
  line 2358 appears to contain an embedded nul
Warning in readLines(connection) :
  line 2359 appears to contain an embedded nul
Warning in readLines(connection) :
  line 2360 appears to contain an embedded nul
Warning in readLines(connection) :
  line 2361 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3372 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3373 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3374 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3375 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3376 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3377 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3378 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3379 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3380 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3381 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3382 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3383 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3384 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3385 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3388 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3389 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3390 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3391 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3392 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3393 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3394 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3395 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3396 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3397 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3398 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3399 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3400 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3401 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3402 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3403 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3404 appears to contain an embedded nul
Warning in readLines(connection) :
  line 3405 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 3377 is invalid in this locale
Warning in grep(pattern = "^//", x = results) :
  input string 3380 is invalid in this locale
Warning in grep(pattern = "^//", x = results) :
  input string 3386 is invalid in this locale
Warning in grep(pattern = "^//", x = results) :
  input string 3387 is invalid in this locale
Error in gsub(x = suffixes, pattern = "*.", replacement = "", fixed = TRUE) : 
  input string 2936 is invalid in this locale
Calls: suffix_extract -> suffix_load -> gsub
Execution halted