ropensci / DataPackageR

@@ -98,8 +98,8 @@
Loading
98 98
  )
99 99
  # try to install and then reload the package in the current session
100 100
  if (install) {
101 +
    devtools::unload(packageName)
101 102
    install.packages(location, repos = NULL, type = "source", ...)
102 -
    devtools::reload(package_path)
103 103
  }
104 104
  .next_steps()
105 105
  return(location)

@@ -834,9 +834,10 @@
Loading
834 834
    pkg = path, path = dirname(path),
835 835
    vignettes = FALSE, quiet = TRUE
836 836
  )
837 +
  # try to install and then reload the package in the current session
837 838
  if (install) {
838 -
    install.packages(location, repos = NULL, type = "source", quiet = TRUE, ...)
839 -
    devtools::reload(path, quiet = TRUE)
839 +
    devtools::unload(basename(path))
840 +
    install.packages(location, repos = NULL, type = "source", ...)
840 841
  }
841 842
  return(TRUE)
842 843
}
Files Coverage
R 99.45%
Project Totals (19 files) 99.45%
1
comment: false
2

3
coverage:
4
  status:
5
    project:
6
      default:
7
        target: auto
8
        threshold: 1%
9
    patch:
10
      default:
11
        target: auto
12
        threshold: 1%
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