CRAN Package Check Results for Package binman

Last updated on 2018-02-23 12:47:08 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 1.46 26.52 27.98 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 1.54 21.29 22.83 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 34.96 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 33.61 ERROR
r-devel-windows-ix86+x86_64 0.1.0 7.00 56.00 63.00 ERROR
r-patched-linux-x86_64 0.1.0 1.46 27.57 29.03 ERROR
r-patched-solaris-x86 0.1.0 49.60 ERROR
r-release-linux-x86_64 0.1.0 1.53 27.53 29.06 ERROR
r-release-windows-ix86+x86_64 0.1.0 4.00 44.00 48.00 ERROR
r-release-osx-x86_64 0.1.0 OK
r-oldrel-windows-ix86+x86_64 0.1.0 4.00 38.00 42.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/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
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [1s/3s]
    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-gcc

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.
    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: 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-oldrel-windows-ix86+x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/3s]
    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-patched-linux-x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/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)
    
     ── 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-release-linux-x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [3s]
    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: 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-release-windows-ix86+x86_64