rstudio / packrat
Showing 2 of 8 files from the diff.

@@ -683,10 +683,11 @@
Loading
683 683
684 684
  # Try downloading a binary (when appropriate).
685 685
  if (!(copiedFromCache || copiedFromUntrustedCache) &&
686 -
        hasBinaryRepositories() &&
687 -
        isFromCranlikeRepo(pkgRecord, repos) &&
688 -
        pkgRecord$name %in% availablePackagesBinary(repos = repos)[, "Package"] &&
689 -
        versionMatchesDb(pkgRecord, availablePackagesBinary(repos = repos)))
686 +
      hasBinaryRepositories() &&
687 +
      binaryRepositoriesEnabled() &&
688 +
      isFromCranlikeRepo(pkgRecord, repos) &&
689 +
      pkgRecord$name %in% availablePackagesBinary(repos = repos)[, "Package"] &&
690 +
      versionMatchesDb(pkgRecord, availablePackagesBinary(repos = repos)))
690 691
  {
691 692
    tempdir <- tempdir()
692 693
    tryCatch({

@@ -52,6 +52,10 @@
Loading
52 52
  !identical(.Platform$pkgType, "source")
53 53
}
54 54
55 +
binaryRepositoriesEnabled <- function() {
56 +
  !identical(getOption("pkgType"), "source")
57 +
}
58 +
55 59
availablePackages <- function(repos = getOption("repos"),
56 60
                              type = getOption("pkgType"))
57 61
{
Files Coverage
R 55.37%
Project Totals (46 files) 55.37%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading