Bioconductor / sweave2rmd

A project for converting Bioconductor Sweave documents to Rmd
Creative Commons Attribution Share Alike 4.0 International
8 stars 20 forks source link

We have continuous request of bfcdownload() function while executing code of script #75

Open sonali8434 opened 1 year ago

sonali8434 commented 1 year ago

After executing this code in R console

pkgsList <- list()
for (i in 1:length(packageNames)) {
  if (packageNames[[i]] %in% pckgs) {
    rank <- pkgDownloadRank(packageNames[[i]], "software", version)
    pkgsList[[i]] <- list(package = packageNames[[i]],
                          rank = rank[[1]],
                          priority = ifelse(rank[[1]] < threshold, "High", "Low"),
                          status = ifelse(packageNames[[i]] %in% coreMaintained, "To do", "Contact maintainer"))
  } else {
    pkgsList[[i]] <- list(package = packageNames[[i]],
                          rank = " ",
                          priority = " ",
                          status = "Deprecated")
  }
}

we got multiple request of bfcdownload() function asking for overwrite existing files.

bfcdownload() will overwrite exisiting files, continue? (yes/no): yes
                                                                                                  |==================================================================================================================================================| 100%

bfcdownload() will overwrite exisiting files, continue? (yes/no): 

@jwokaty has suggested that there might be a issue with pkgDownloadRank function which is why we are having multiple requests of overwriting existing files.