
Download files in a shared Google Drive folder without restrictions.
Source:R/variant_annotation.R
folder_download_gd.RdDownload files in a shared Google Drive folder without restrictions.
Usage
folder_download_gd(drive_link, output_path = tempdir(), is.folder = TRUE)Value
A list or vector containing the path to directory containing downloaded files from Google Drive.
Examples
# example code
# \donttest{
library(panGenomeBreedr)
f_link <- "https://drive.google.com/drive/folders/1ZJ2cZcybCvUuwOdB_0kK5kg7StgayuPf?usp=drive_link"
folder_path <- folder_download_gd(drive_link = f_link)
#> File downloaded:
#> • VCFannotationformat_v1.0.pdf <id: 1m36OwCrwxYYGC016z807Dz_AdNbyCr0I>
#> Saved locally as:
#> • /var/folders/n_/swy48fpx1w76xyqp3qx2prz00000gn/T//RtmpVNTmYP/VCF Resources/VCFannotationformat_v1.0.pdf
#> File downloaded:
#> • VCFv4.2.pdf <id: 1fEuDbVPB5xvI0WYHM27YCvNwvah8BUQC>
#> Saved locally as:
#> • /var/folders/n_/swy48fpx1w76xyqp3qx2prz00000gn/T//RtmpVNTmYP/VCF Resources/VCFv4.2.pdf
# }