Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sonali8434 opened this issue May 31, 2023 · 0 comments

Comments

@sonali8434
Copy link
Collaborator

sonali8434 commented May 31, 2023

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.

@sonali8434 sonali8434 changed the title We have continuous request of bfcdownload() function asking for overwrite existing files while executing code of script We have continuous request of bfcdownload() function while executing code of script May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant