Function to clone a Dat link to the machine.

clone_dat(link, dir)

Arguments

link

Dat link (always clones latest version now)

dir

Directory to clone to. If non-existent, will create.

Examples

clone_dat(link = 'dat://datr-chris.hashbase.io', dir = tempdir())