Downloads a full copy (snapshot) of an R package repository.
Examples
repo_snapshot('https://jeroen.r-universe.dev', bin_versions = c("4.1", "4.2", "4.3"))
#> Mirroring repo: https://jeroen.r-universe.dev/src/contrib
#> Mirroring repo: https://jeroen.r-universe.dev/bin/windows/contrib/4.1
#> Warning: Repository is empty: https://jeroen.r-universe.dev/bin/windows/contrib/4.1
#> Mirroring repo: https://jeroen.r-universe.dev/bin/macosx/contrib/4.1
#> Warning: Repository is empty: https://jeroen.r-universe.dev/bin/macosx/contrib/4.1
#> Mirroring repo: https://jeroen.r-universe.dev/bin/windows/contrib/4.2
#> Warning: Repository is empty: https://jeroen.r-universe.dev/bin/windows/contrib/4.2
#> Mirroring repo: https://jeroen.r-universe.dev/bin/macosx/contrib/4.2
#> Warning: Repository is empty: https://jeroen.r-universe.dev/bin/macosx/contrib/4.2
#> Mirroring repo: https://jeroen.r-universe.dev/bin/windows/contrib/4.3
#> Mirroring repo: https://jeroen.r-universe.dev/bin/macosx/contrib/4.3
#> [1] "bin/macosx/contrib/4.3/PACKAGES"
#> [2] "bin/macosx/contrib/4.3/PACKAGES.gz"
#> [3] "bin/macosx/contrib/4.3/RAppArmor_3.2.4.tgz"
#> [4] "bin/macosx/contrib/4.3/V8_5.0.0.9000.tgz"
#> [5] "bin/macosx/contrib/4.3/badgen_1.0.0.tgz"
#> [6] "bin/macosx/contrib/4.3/base64_2.0.1.tgz"
#> [7] "bin/macosx/contrib/4.3/bcrypt_1.2.tgz"
#> [8] "bin/macosx/contrib/4.3/brotli_1.3.0.tgz"
#> [9] "bin/macosx/contrib/4.3/curl_5.2.3.tgz"
#> [10] "bin/macosx/contrib/4.3/gpg_1.2.9.tgz"
#> [11] "bin/macosx/contrib/4.3/js_1.2.tgz"
#> [12] "bin/macosx/contrib/4.3/jsonlite_1.8.9.tgz"
#> [13] "bin/macosx/contrib/4.3/maketools_1.3.0.tgz"
#> [14] "bin/macosx/contrib/4.3/mongolite_2.8.0.tgz"
#> [15] "bin/macosx/contrib/4.3/openssl_2.2.1.tgz"
#> [16] "bin/macosx/contrib/4.3/protolite_2.3.0.tgz"
#> [17] "bin/macosx/contrib/4.3/rjade_0.1.1.tgz"
#> [18] "bin/macosx/contrib/4.3/sys_3.4.2.9000.tgz"
#> [19] "bin/macosx/contrib/4.3/timestamp.txt"
#> [20] "bin/macosx/contrib/4.3/unix_1.5.8.tgz"
#> [21] "bin/macosx/contrib/4.3/webp_1.2.0.tgz"
#> [22] "bin/macosx/contrib/4.3/webutils_1.2.1.tgz"
#> [23] "bin/windows/contrib/4.3/PACKAGES"
#> [24] "bin/windows/contrib/4.3/PACKAGES.gz"
#> [25] "bin/windows/contrib/4.3/V8_5.0.0.9000.zip"
#> [26] "bin/windows/contrib/4.3/badgen_1.0.0.zip"
#> [27] "bin/windows/contrib/4.3/base64_2.0.1.zip"
#> [28] "bin/windows/contrib/4.3/bcrypt_1.2.zip"
#> [29] "bin/windows/contrib/4.3/brotli_1.3.0.zip"
#> [30] "bin/windows/contrib/4.3/curl_5.2.3.zip"
#> [31] "bin/windows/contrib/4.3/gpg_1.2.9.zip"
#> [32] "bin/windows/contrib/4.3/js_1.2.zip"
#> [33] "bin/windows/contrib/4.3/jsonlite_1.8.9.zip"
#> [34] "bin/windows/contrib/4.3/maketools_1.3.0.zip"
#> [35] "bin/windows/contrib/4.3/mongolite_2.8.0.zip"
#> [36] "bin/windows/contrib/4.3/openssl_2.2.1.zip"
#> [37] "bin/windows/contrib/4.3/protolite_2.3.0.zip"
#> [38] "bin/windows/contrib/4.3/rjade_0.1.1.zip"
#> [39] "bin/windows/contrib/4.3/sys_3.4.2.9000.zip"
#> [40] "bin/windows/contrib/4.3/timestamp.txt"
#> [41] "bin/windows/contrib/4.3/webp_1.2.0.zip"
#> [42] "bin/windows/contrib/4.3/webutils_1.2.1.zip"
#> [43] "src/contrib/PACKAGES"
#> [44] "src/contrib/PACKAGES.gz"
#> [45] "src/contrib/RAppArmor_3.2.4.tar.gz"
#> [46] "src/contrib/V8_5.0.0.9000.tar.gz"
#> [47] "src/contrib/badgen_1.0.0.tar.gz"
#> [48] "src/contrib/base64_2.0.1.tar.gz"
#> [49] "src/contrib/bcrypt_1.2.tar.gz"
#> [50] "src/contrib/brotli_1.3.0.tar.gz"
#> [51] "src/contrib/curl_5.2.3.tar.gz"
#> [52] "src/contrib/gpg_1.2.9.tar.gz"
#> [53] "src/contrib/js_1.2.tar.gz"
#> [54] "src/contrib/jsonlite_1.8.9.tar.gz"
#> [55] "src/contrib/maketools_1.3.0.tar.gz"
#> [56] "src/contrib/mongolite_2.8.0.tar.gz"
#> [57] "src/contrib/openssl_2.2.1.tar.gz"
#> [58] "src/contrib/protolite_2.3.0.tar.gz"
#> [59] "src/contrib/rjade_0.1.1.tar.gz"
#> [60] "src/contrib/sys_3.4.2.9000.tar.gz"
#> [61] "src/contrib/timestamp.txt"
#> [62] "src/contrib/unix_1.5.8.tar.gz"
#> [63] "src/contrib/webp_1.2.0.tar.gz"
#> [64] "src/contrib/webutils_1.2.1.tar.gz"