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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: expand_urls
> ### Title: Expand a vector of (short) URLs using
> ### Aliases: expand_urls
> 
> ### ** Examples
> 
> test_urls <- c("http://t.co/D4C7aWYIiA",
+                "1.usa.gov/1J6GNoW",
+                "ift.tt/1L2Llfr")
> big_urls <- expand_urls(test_urls)
Warning in .f(.x[[i]], ...) : Invalid URL: [http://t.co/D4C7aWYIiA]

 *** caught segfault ***
address 0x5, cause 'memory not mapped'

Traceback:
 1: curl::curl_fetch_memory(url, handle = handle)
 2: request_fetch.write_memory(req$output, req$url, handle)
 3: request_fetch(req$output, req$url, handle)
 4: request_perform(req, hu$handle$handle)
 5: .f(...)
 6: doTryCatch(return(expr), name, parentenv, handler)
 7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
 8: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
 9: doTryCatch(return(expr), name, parentenv, handler)
10: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
11: tryCatchList(expr, classes, parentenv, handlers)
12: tryCatch(list(result = code, error = NULL), error = function(e) {    if (!quiet)         message("Error: ", e$message)    list(result = otherwise, error = e)}, interrupt = function(e) {    stop("Terminated by user", call. = FALSE)})
13: capture_error(.f(...), otherwise, quiet)
14: s_HEAD(x, httr::user_agent(agent), httr::timeout(seconds))
15: .f(.x[[i]], ...)
16: map(.x, .f, ...)
17: map_df(urls_to_expand, function(x) {    if (.progress)         pb$tick()$print()    res <- s_HEAD(x, httr::user_agent(agent), httr::timeout(seconds))    if (is.null(res$result)) {        warning(sprintf("Invalid URL: [%s]", x))        data_frame(orig_url = x, expanded_url = NA, status_code = NA)    }    else {        httr::warn_for_status(res$result)        data_frame(orig_url = x, expanded_url = res$result$url,             status_code = res$result$status_code)    }})
18: expand_urls(test_urls)
An irrecoverable exception occurred. R is aborting now ...
Segmentation fault