Skip to content

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

@sonali8434

Description

@sonali8434

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions