CRAN Package Check Results for Package rprojroot

Last updated on 2017-12-20 00:47:15 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2 0.83 20.55 21.38 ERROR
r-devel-linux-x86_64-debian-gcc 1.3-1 OK
r-devel-linux-x86_64-fedora-clang 1.3-1 32.34 OK
r-devel-linux-x86_64-fedora-gcc 1.3-1 30.08 OK
r-devel-windows-ix86+x86_64 1.3-1 6.00 50.00 56.00 OK
r-patched-linux-x86_64 1.3-1 0.98 24.90 25.88 OK
r-patched-solaris-x86 1.3-1 33.90 ERROR
r-release-linux-x86_64 1.2 0.81 21.36 22.17 ERROR
r-release-windows-ix86+x86_64 1.2 3.00 29.00 32.00 ERROR
r-release-osx-x86_64 1.3-1 ERROR
r-oldrel-windows-ix86+x86_64 1.3-1 3.00 32.00 35.00 OK
r-oldrel-osx-x86_64 1.3-1 ERROR

Check Details

Version: 1.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/2s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(rprojroot)
     >
     > test_check("rprojroot")
     ── 1. Error: Formatting criteria (@test-criterion.R#31) ───────────────────────
     Can't mock functions in base packages (base)
     1: with_mock(`base::cat` = function(..., sep = "") ret <<- c(ret, paste(..., sep = sep)),
     str(criteria)) at testthat/test-criterion.R:31
     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: 69 SKIPPED: 2 FAILED: 1
     1. Error: Formatting criteria (@test-criterion.R#31)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-release-linux-x86_64

Version: 1.3-1
Check: tests
Result: ERROR
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(rprojroot)
     >
     > test_check("rprojroot")
     ── 1. Error: thisfile works with rmarkdown (@test-thisfile.R#33) ──────────────
     pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
     1: expect_message(rmarkdown::render("scripts/thisfile.Rmd", output_file = out, output_format = "md_document",
     quiet = TRUE), normalizePath("scripts/thisfile.Rmd"), fixed = TRUE) at testthat/test-thisfile.R:33
     2: quasi_capture(enquo(object), capture_messages, label = label)
     3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
     4: withCallingHandlers(code, message = function(condition) {
     out$push(condition)
     invokeRestart("muffleMessage")
     })
     5: eval_bare(get_expr(quo), get_env(quo))
     6: rmarkdown::render("scripts/thisfile.Rmd", output_file = out, output_format = "md_document",
     quiet = TRUE)
     7: pandoc_available(required_pandoc, error = TRUE)
     8: stop(paste(msg, collapse = " "), call. = FALSE)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 77 SKIPPED: 4 FAILED: 1
     1. Error: thisfile works with rmarkdown (@test-thisfile.R#33)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 1.2
Check: tests
Result: ERROR
     Running 'testthat.R' [2s]
    Running the tests in 'tests/testthat.R' failed.
    Last 13 lines of output:
     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: 69 SKIPPED: 2 FAILED: 1
     1. Error: Formatting criteria (@test-criterion.R#31)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 1.3-1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/3s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     out$push(condition)
     invokeRestart("muffleMessage")
     })
     5: eval_bare(get_expr(quo), get_env(quo))
     6: rmarkdown::render("scripts/thisfile.Rmd", output_file = out, output_format = "md_document",
     quiet = TRUE)
     7: pandoc_available(required_pandoc, error = TRUE)
     8: stop(paste(msg, collapse = " "), call. = FALSE)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 77 SKIPPED: 4 FAILED: 1
     1. Error: thisfile works with rmarkdown (@test-thisfile.R#33)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-osx-x86_64

Version: 1.3-1
Check: tests
Result: ERROR
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     })
     5: eval_bare(get_expr(quo), get_env(quo))
     6: rmarkdown::render("scripts/thisfile.Rmd", output_file = out, output_format = "md_document",
     quiet = TRUE)
     7: pandoc_available(required_pandoc, error = TRUE)
     8: stop(paste(msg, collapse = " "), call. = FALSE)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 77 SKIPPED: 4 FAILED: 1
     1. Error: thisfile works with rmarkdown (@test-thisfile.R#33)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-osx-x86_64