Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
achubaty committed Jan 2, 2018
1 parent 37c345d commit be2e5c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/mock-makeRepo.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# These functions mock downloading of packages, for fast testing purposes only

is_mock_environment <- function()Sys.getenv("miniCRAN.mock.download") == TRUE
set_mock_environment <- function()Sys.setenv("miniCRAN.mock.download" = TRUE)
reset_mock_environment <- function()Sys.setenv("miniCRAN.mock.download" = FALSE)
is_mock_environment <- function() Sys.getenv("miniCRAN.mock.download") == TRUE
set_mock_environment <- function() Sys.setenv("miniCRAN.mock.download" = TRUE)
reset_mock_environment <- function() Sys.setenv("miniCRAN.mock.download" = FALSE)


# lib_in_tempdir <- function(lib) {
Expand Down

0 comments on commit be2e5c8

Please sign in to comment.