CRAN Package Check Results for Package binman

Last updated on 2018-05-03 10:50:05 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 1.92 26.59 28.51 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 1.40 23.22 24.62 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 37.57 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 35.76 ERROR
r-devel-windows-ix86+x86_64 0.1.0 5.00 52.00 57.00 ERROR
r-patched-linux-x86_64 0.1.0 2.05 26.75 28.80 ERROR
r-patched-solaris-x86 0.1.0 54.40 ERROR
r-release-linux-x86_64 0.1.0 1.75 26.36 28.11 ERROR
r-release-windows-ix86+x86_64 0.1.0 5.00 52.00 57.00 ERROR
r-release-osx-x86_64 0.1.0 ERROR
r-oldrel-windows-ix86+x86_64 0.1.0 4.00 59.00 63.00 ERROR
r-oldrel-osx-x86_64 0.1.0 OK

Check Details

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [1s/1s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(binman)
     >
     > test_check("binman")
     ── 1. Error: canDownloadFiles (@test-download_files.R#9) ──────────────────────
     Can't mock functions in base packages (base)
     1: with_mock(`httr::GET` = function(...) {
     test_llres
     }, `base::dir.create` = function(...) {
     TRUE
     }, dlfiles <- download_files(dllist)) at testthat/test-download_files.R:9
     2: extract_mocks(new_values = new_values[!code_pos], .env = .env, eval_env = parent.frame())
     3: lapply(stats::setNames(nm = mock_qual_names), function(qual_name) {
     pkg_name <- gsub(pkg_and_name_rx, "\\1", qual_name)
     if (is_base_pkg(pkg_name)) {
     stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
     }
     name <- gsub(pkg_and_name_rx, "\\2", qual_name)
     if (pkg_name == "")
     pkg_name <- .env
     env <- asNamespace(pkg_name)
     if (!exists(name, envir = env, mode = "function"))
     stop("Function ", name, " not found in environment ", environmentName(env),
     ".", call. = FALSE)
     mock(name = name, env = env, new = eval(new_values[[qual_name]], eval_env, eval_env))
     })
     4: FUN(X[[i]], ...)
     5: stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
    
     ── 2. Error: canReturnEmptyDFWhenEmptyDownloadFiles (@test-download_files.R#27)
     Can't mock functions in base packages (base)
     1: with_mock(`httr::GET` = function(...) {
     test_llres
     }, `base::dir.create` = function(...) {
     TRUE
     }, dlfiles <- download_files(dllist)) at testthat/test-download_files.R:27
     2: extract_mocks(new_values = new_values[!code_pos], .env = .env, eval_env = parent.frame())
     3: lapply(stats::setNames(nm = mock_qual_names), function(qual_name) {
     pkg_name <- gsub(pkg_and_name_rx, "\\1", qual_name)
     if (is_base_pkg(pkg_name)) {
     stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
     }
     name <- gsub(pkg_and_name_rx, "\\2", qual_name)
     if (pkg_name == "")
     pkg_name <- .env
     env <- asNamespace(pkg_name)
     if (!exists(name, envir = env, mode = "function"))
     stop("Function ", name, " not found in environment ", environmentName(env),
     ".", call. = FALSE)
     mock(name = name, env = env, new = eval(new_values[[qual_name]], eval_env, eval_env))
     })
     4: FUN(X[[i]], ...)
     5: stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
    
     ── 3. Error: canProcessYaml (@test-process_yaml.R#7) ──────────────────────────
     Can't mock functions in base packages (base)
     1: testthat::with_mock(`httr::GET` = function(...) {
     test_llres
     }, `base::dir.create` = function(...) {
     TRUE
     }, `utils::unzip` = function(zipfile, list = FALSE, ...) {
     if (list) {
     list(Name = zipfile)
     }
     else {
     zipfile
     }
     }, procyml <- process_yaml(ymlfile)) at testthat/test-process_yaml.R:7
     2: extract_mocks(new_values = new_values[!code_pos], .env = .env, eval_env = parent.frame())
     3: lapply(stats::setNames(nm = mock_qual_names), function(qual_name) {
     pkg_name <- gsub(pkg_and_name_rx, "\\1", qual_name)
     if (is_base_pkg(pkg_name)) {
     stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
     }
     name <- gsub(pkg_and_name_rx, "\\2", qual_name)
     if (pkg_name == "")
     pkg_name <- .env
     env <- asNamespace(pkg_name)
     if (!exists(name, envir = env, mode = "function"))
     stop("Function ", name, " not found in environment ", environmentName(env),
     ".", call. = FALSE)
     mock(name = name, env = env, new = eval(new_values[[qual_name]], eval_env, eval_env))
     })
     4: FUN(X[[i]], ...)
     5: stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 28 SKIPPED: 0 FAILED: 3
     1. Error: canDownloadFiles (@test-download_files.R#9)
     2. Error: canReturnEmptyDFWhenEmptyDownloadFiles (@test-download_files.R#27)
     3. Error: canProcessYaml (@test-process_yaml.R#7)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [1s/2s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(binman)
     >
     > test_check("binman")
     ── 1. Error: canDownloadFiles (@test-download_files.R#9) ──────────────────────
     Can't mock functions in base packages (base)
     1: with_mock(`httr::GET` = function(...) {
     test_llres
     }, `base::dir.create` = function(...) {
     TRUE
     }, dlfiles <- download_files(dllist)) at testthat/test-download_files.R:9
     2: extract_mocks(new_values = new_values[!code_pos], .env = .env, eval_env = parent.frame())
     3: lapply(stats::setNames(nm = mock_qual_names), function(qual_name) {
     pkg_name <- gsub(pkg_and_name_rx, "\\1", qual_name)
     if (is_base_pkg(pkg_name)) {
     stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
     }
     name <- gsub(pkg_and_name_rx, "\\2", qual_name)
     if (pkg_name == "")
     pkg_name <- .env
     env <- asNamespace(pkg_name)
     if (!exists(name, envir = env, mode = "function"))
     stop("Function ", name, " not found in environment ", environmentName(env),
     ".", call. = FALSE)
     mock(name = name, env = env, new = eval(new_values[[qual_name]], eval_env, eval_env))
     })
     4: FUN(X[[i]], ...)
     5: stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
    
     ── 2. Error: canReturnEmptyDFWhenEmptyDownloadFiles (@test-download_files.R#27)
     Can't mock functions in base packages (base)
     1: with_mock(`httr::GET` = function(...) {
     test_llres
     }, `base::dir.create` = function(...) {
     TRUE
     }, dlfiles <- download_files(dllist)) at testthat/test-download_files.R:27
     2: extract_mocks(new_values = new_values[!code_pos], .env = .env, eval_env = parent.frame())
     3: lapply(stats::setNames(nm = mock_qual_names), function(qual_name) {
     pkg_name <- gsub(pkg_and_name_rx, "\\1", qual_name)
     if (is_base_pkg(pkg_name)) {
     stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
     }
     name <- gsub(pkg_and_name_rx, "\\2", qual_name)
     if (pkg_name == "")
     pkg_name <- .env
     env <- asNamespace(pkg_name)
     if (!exists(name, envir = env, mode = "function"))
     stop("Function ", name, " not found in environment ", environmentName(env),
     ".", call. = FALSE)
     mock(name = name, env = env, new = eval(new_values[[qual_name]], eval_env, eval_env))
     })
     4: FUN(X[[i]], ...)
     5: stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
    
     ── 3. Error: canProcessYaml (@test-process_yaml.R#7) ──────────────────────────
     Can't mock functions in base packages (base)
     1: testthat::with_mock(`httr::GET` = function(...) {
     test_llres
     }, `base::dir.create` = function(...) {
     TRUE
     }, `utils::unzip` = function(zipfile, list = FALSE, ...) {
     if (list) {
     list(Name = zipfile)
     }
     else {
     zipfile
     }
     }, procyml <- process_yaml(ymlfile)) at testthat/test-process_yaml.R:7
     2: extract_mocks(new_values = new_values[!code_pos], .env = .env, eval_env = parent.frame())
     3: lapply(stats::setNames(nm = mock_qual_names), function(qual_name) {
     pkg_name <- gsub(pkg_and_name_rx, "\\1", qual_name)
     if (is_base_pkg(pkg_name)) {
     stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
     }
     name <- gsub(pkg_and_name_rx, "\\2", qual_name)
     if (pkg_name == "")
     pkg_name <- .env
     env <- asNamespace(pkg_name)
     if (!exists(name, envir = env, mode = "function"))
     stop("Function ", name, " not found in environment ", environmentName(env),
     ".", call. = FALSE)
     mock(name = name, env = env, new = eval(new_values[[qual_name]], eval_env, eval_env))
     })
     4: FUN(X[[i]], ...)
     5: stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 28 SKIPPED: 0 FAILED: 3
     1. Error: canDownloadFiles (@test-download_files.R#9)
     2. Error: canReturnEmptyDFWhenEmptyDownloadFiles (@test-download_files.R#27)
     3. Error: canProcessYaml (@test-process_yaml.R#7)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(binman)
     >
     > test_check("binman")
     ── 1. Error: canDownloadFiles (@test-download_files.R#9) ──────────────────────
     Can't mock functions in base packages (base)
     1: with_mock(`httr::GET` = function(...) {
     test_llres
     }, `base::dir.create` = function(...) {
     TRUE
     }, dlfiles <- download_files(dllist)) at testthat/test-download_files.R:9
     2: extract_mocks(new_values = new_values[!code_pos], .env = .env, eval_env = parent.frame())
     3: lapply(stats::setNames(nm = mock_qual_names), function(qual_name) {
     pkg_name <- gsub(pkg_and_name_rx, "\\1", qual_name)
     if (is_base_pkg(pkg_name)) {
     stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
     }
     name <- gsub(pkg_and_name_rx, "\\2", qual_name)
     if (pkg_name == "")
     pkg_name <- .env
     env <- asNamespace(pkg_name)
     if (!exists(name, envir = env, mode = "function"))
     stop("Function ", name, " not found in environment ", environmentName(env),
     ".", call. = FALSE)
     mock(name = name, env = env, new = eval(new_values[[qual_name]], eval_env, eval_env))
     })
     4: FUN(X[[i]], ...)
     5: stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
    
     ── 2. Error: canReturnEmptyDFWhenEmptyDownloadFiles (@test-download_files.R#27)
     Can't mock functions in base packages (base)
     1: with_mock(`httr::GET` = function(...) {
     test_llres
     }, `base::dir.create` = function(...) {
     TRUE
     }, dlfiles <- download_files(dllist)) at testthat/test-download_files.R:27
     2: extract_mocks(new_values = new_values[!code_pos], .env = .env, eval_env = parent.frame())
     3: lapply(stats::setNames(nm = mock_qual_names), function(qual_name) {
     pkg_name <- gsub(pkg_and_name_rx, "\\1", qual_name)
     if (is_base_pkg(pkg_name)) {
     stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
     }
     name <- gsub(pkg_and_name_rx, "\\2", qual_name)
     if (pkg_name == "")
     pkg_name <- .env
     env <- asNamespace(pkg_name)
     if (!exists(name, envir = env, mode = "function"))
     stop("Function ", name, " not found in environment ", environmentName(env),
     ".", call. = FALSE)
     mock(name = name, env = env, new = eval(new_values[[qual_name]], eval_env, eval_env))
     })
     4: FUN(X[[i]], ...)
     5: stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
    
     ── 3. Error: canProcessYaml (@test-process_yaml.R#7) ──────────────────────────
     Can't mock functions in base packages (base)
     1: testthat::with_mock(`httr::GET` = function(...) {
     test_llres
     }, `base::dir.create` = function(...) {
     TRUE
     }, `utils::unzip` = function(zipfile, list = FALSE, ...) {
     if (list) {
     list(Name = zipfile)
     }
     else {
     zipfile
     }
     }, procyml <- process_yaml(ymlfile)) at testthat/test-process_yaml.R:7
     2: extract_mocks(new_values = new_values[!code_pos], .env = .env, eval_env = parent.frame())
     3: lapply(stats::setNames(nm = mock_qual_names), function(qual_name) {
     pkg_name <- gsub(pkg_and_name_rx, "\\1", qual_name)
     if (is_base_pkg(pkg_name)) {
     stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
     }
     name <- gsub(pkg_and_name_rx, "\\2", qual_name)
     if (pkg_name == "")
     pkg_name <- .env
     env <- asNamespace(pkg_name)
     if (!exists(name, envir = env, mode = "function"))
     stop("Function ", name, " not found in environment ", environmentName(env),
     ".", call. = FALSE)
     mock(name = name, env = env, new = eval(new_values[[qual_name]], eval_env, eval_env))
     })
     4: FUN(X[[i]], ...)
     5: stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 28 SKIPPED: 0 FAILED: 3
     1. Error: canDownloadFiles (@test-download_files.R#9)
     2. Error: canReturnEmptyDFWhenEmptyDownloadFiles (@test-download_files.R#27)
     3. Error: canProcessYaml (@test-process_yaml.R#7)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [2s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(binman)
     >
     > test_check("binman")
     -- 1. Error: canDownloadFiles (@test-download_files.R#9) ----------------------
     Can't mock functions in base packages (base)
     1: with_mock(`httr::GET` = function(...) {
     test_llres
     }, `base::dir.create` = function(...) {
     TRUE
     }, dlfiles <- download_files(dllist)) at testthat/test-download_files.R:9
     2: extract_mocks(new_values = new_values[!code_pos], .env = .env, eval_env = parent.frame())
     3: lapply(stats::setNames(nm = mock_qual_names), function(qual_name) {
     pkg_name <- gsub(pkg_and_name_rx, "\\1", qual_name)
     if (is_base_pkg(pkg_name)) {
     stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
     }
     name <- gsub(pkg_and_name_rx, "\\2", qual_name)
     if (pkg_name == "")
     pkg_name <- .env
     env <- asNamespace(pkg_name)
     if (!exists(name, envir = env, mode = "function"))
     stop("Function ", name, " not found in environment ", environmentName(env),
     ".", call. = FALSE)
     mock(name = name, env = env, new = eval(new_values[[qual_name]], eval_env, eval_env))
     })
     4: FUN(X[[i]], ...)
     5: stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
    
     -- 2. Error: canReturnEmptyDFWhenEmptyDownloadFiles (@test-download_files.R#27)
     Can't mock functions in base packages (base)
     1: with_mock(`httr::GET` = function(...) {
     test_llres
     }, `base::dir.create` = function(...) {
     TRUE
     }, dlfiles <- download_files(dllist)) at testthat/test-download_files.R:27
     2: extract_mocks(new_values = new_values[!code_pos], .env = .env, eval_env = parent.frame())
     3: lapply(stats::setNames(nm = mock_qual_names), function(qual_name) {
     pkg_name <- gsub(pkg_and_name_rx, "\\1", qual_name)
     if (is_base_pkg(pkg_name)) {
     stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
     }
     name <- gsub(pkg_and_name_rx, "\\2", qual_name)
     if (pkg_name == "")
     pkg_name <- .env
     env <- asNamespace(pkg_name)
     if (!exists(name, envir = env, mode = "function"))
     stop("Function ", name, " not found in environment ", environmentName(env),
     ".", call. = FALSE)
     mock(name = name, env = env, new = eval(new_values[[qual_name]], eval_env, eval_env))
     })
     4: FUN(X[[i]], ...)
     5: stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
    
     /usr/bin/tar: Record size = 6 blocks
     /usr/bin/tar: Record size = 6 blocks
     -- 3. Error: canProcessYaml (@test-process_yaml.R#7) --------------------------
     Can't mock functions in base packages (base)
     1: testthat::with_mock(`httr::GET` = function(...) {
     test_llres
     }, `base::dir.create` = function(...) {
     TRUE
     }, `utils::unzip` = function(zipfile, list = FALSE, ...) {
     if (list) {
     list(Name = zipfile)
     }
     else {
     zipfile
     }
     }, procyml <- process_yaml(ymlfile)) at testthat/test-process_yaml.R:7
     2: extract_mocks(new_values = new_values[!code_pos], .env = .env, eval_env = parent.frame())
     3: lapply(stats::setNames(nm = mock_qual_names), function(qual_name) {
     pkg_name <- gsub(pkg_and_name_rx, "\\1", qual_name)
     if (is_base_pkg(pkg_name)) {
     stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
     }
     name <- gsub(pkg_and_name_rx, "\\2", qual_name)
     if (pkg_name == "")
     pkg_name <- .env
     env <- asNamespace(pkg_name)
     if (!exists(name, envir = env, mode = "function"))
     stop("Function ", name, " not found in environment ", environmentName(env),
     ".", call. = FALSE)
     mock(name = name, env = env, new = eval(new_values[[qual_name]], eval_env, eval_env))
     })
     4: FUN(X[[i]], ...)
     5: stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
    
     == testthat results ===========================================================
     OK: 26 SKIPPED: 0 FAILED: 3
     1. Error: canDownloadFiles (@test-download_files.R#9)
     2. Error: canReturnEmptyDFWhenEmptyDownloadFiles (@test-download_files.R#27)
     3. Error: canProcessYaml (@test-process_yaml.R#7)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [7s/10s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     stop("Function ", name, " not found in environment ", environmentName(env),
     ".", call. = FALSE)
     mock(name = name, env = env, new = eval(new_values[[qual_name]], eval_env, eval_env))
     })
     4: FUN(X[[i]], ...)
     5: stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 28 SKIPPED: 0 FAILED: 3
     1. Error: canDownloadFiles (@test-download_files.R#9)
     2. Error: canReturnEmptyDFWhenEmptyDownloadFiles (@test-download_files.R#27)
     3. Error: canProcessYaml (@test-process_yaml.R#7)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-osx-x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [4s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(binman)
     >
     > test_check("binman")
     -- 1. Error: canDownloadFiles (@test-download_files.R#9) ----------------------
     Can't mock functions in base packages (base)
     1: with_mock(`httr::GET` = function(...) {
     test_llres
     }, `base::dir.create` = function(...) {
     TRUE
     }, dlfiles <- download_files(dllist)) at testthat/test-download_files.R:9
     2: extract_mocks(new_values = new_values[!code_pos], .env = .env, eval_env = parent.frame())
     3: lapply(stats::setNames(nm = mock_qual_names), function(qual_name) {
     pkg_name <- gsub(pkg_and_name_rx, "\\1", qual_name)
     if (is_base_pkg(pkg_name)) {
     stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
     }
     name <- gsub(pkg_and_name_rx, "\\2", qual_name)
     if (pkg_name == "")
     pkg_name <- .env
     env <- asNamespace(pkg_name)
     if (!exists(name, envir = env, mode = "function"))
     stop("Function ", name, " not found in environment ", environmentName(env),
     ".", call. = FALSE)
     mock(name = name, env = env, new = eval(new_values[[qual_name]], eval_env, eval_env))
     })
     4: FUN(X[[i]], ...)
     5: stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
    
     -- 2. Error: canReturnEmptyDFWhenEmptyDownloadFiles (@test-download_files.R#27)
     Can't mock functions in base packages (base)
     1: with_mock(`httr::GET` = function(...) {
     test_llres
     }, `base::dir.create` = function(...) {
     TRUE
     }, dlfiles <- download_files(dllist)) at testthat/test-download_files.R:27
     2: extract_mocks(new_values = new_values[!code_pos], .env = .env, eval_env = parent.frame())
     3: lapply(stats::setNames(nm = mock_qual_names), function(qual_name) {
     pkg_name <- gsub(pkg_and_name_rx, "\\1", qual_name)
     if (is_base_pkg(pkg_name)) {
     stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
     }
     name <- gsub(pkg_and_name_rx, "\\2", qual_name)
     if (pkg_name == "")
     pkg_name <- .env
     env <- asNamespace(pkg_name)
     if (!exists(name, envir = env, mode = "function"))
     stop("Function ", name, " not found in environment ", environmentName(env),
     ".", call. = FALSE)
     mock(name = name, env = env, new = eval(new_values[[qual_name]], eval_env, eval_env))
     })
     4: FUN(X[[i]], ...)
     5: stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
    
     /usr/bin/tar: Record size = 6 blocks
     /usr/bin/tar: Record size = 6 blocks
     -- 3. Error: canProcessYaml (@test-process_yaml.R#7) --------------------------
     Can't mock functions in base packages (base)
     1: testthat::with_mock(`httr::GET` = function(...) {
     test_llres
     }, `base::dir.create` = function(...) {
     TRUE
     }, `utils::unzip` = function(zipfile, list = FALSE, ...) {
     if (list) {
     list(Name = zipfile)
     }
     else {
     zipfile
     }
     }, procyml <- process_yaml(ymlfile)) at testthat/test-process_yaml.R:7
     2: extract_mocks(new_values = new_values[!code_pos], .env = .env, eval_env = parent.frame())
     3: lapply(stats::setNames(nm = mock_qual_names), function(qual_name) {
     pkg_name <- gsub(pkg_and_name_rx, "\\1", qual_name)
     if (is_base_pkg(pkg_name)) {
     stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
     }
     name <- gsub(pkg_and_name_rx, "\\2", qual_name)
     if (pkg_name == "")
     pkg_name <- .env
     env <- asNamespace(pkg_name)
     if (!exists(name, envir = env, mode = "function"))
     stop("Function ", name, " not found in environment ", environmentName(env),
     ".", call. = FALSE)
     mock(name = name, env = env, new = eval(new_values[[qual_name]], eval_env, eval_env))
     })
     4: FUN(X[[i]], ...)
     5: stop("Can't mock functions in base packages (", pkg_name, ")", call. = FALSE)
    
     == testthat results ===========================================================
     OK: 26 SKIPPED: 0 FAILED: 3
     1. Error: canDownloadFiles (@test-download_files.R#9)
     2. Error: canReturnEmptyDFWhenEmptyDownloadFiles (@test-download_files.R#27)
     3. Error: canProcessYaml (@test-process_yaml.R#7)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64