download phylopic images
download_phylopic(
id,
destdir = ".",
...,
reuse = TRUE,
lock_timeout = getOption("ggimage.phylopic_lock_timeout", 30),
lock_poll = getOption("ggimage.phylopic_lock_poll", 0.05)
)a character string (or vector) with downloaded file path
phylopic id
directory where the downloaded images are to be saved.
additional parameters passed to download.file
whether to reuse existing non-empty regular files
maximum seconds to wait for a concurrent download lock
seconds between lock acquisition attempts
Guangchuang Yu
This function allows users to download phylopic images using phylopic id