# \donttest{
if (curl::has_internet()) {
logo_url <- get_party_logo(
"https://en.wikipedia.org/wiki/Democratic_Party_(United_States)"
)
tmp_file <- tempfile(fileext = ".png")
download_party_logo(logo_url, tmp_file)
unlink(tmp_file)
}
# }
Run the code above in your browser using DataLab