CRAN Package Check Results for Package frite

Last updated on 2019-02-11 16:55:35 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 1.61 23.73 25.34 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 1.22 19.27 20.49 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 31.17 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 29.80 ERROR
r-devel-windows-ix86+x86_64 0.1.0 4.00 35.00 39.00 ERROR
r-patched-linux-x86_64 0.1.0 1.12 22.19 23.31 ERROR
r-patched-solaris-x86 0.1.0 42.80 ERROR
r-release-linux-x86_64 0.1.0 0.96 22.21 23.17 ERROR
r-release-windows-ix86+x86_64 0.1.0 4.00 49.00 53.00 ERROR
r-release-osx-x86_64 0.1.0 OK
r-oldrel-osx-x86_64 0.1.0 ERROR

Check Details

Version: 0.1.0
Check: examples
Result: ERROR
    Running examples in ‘frite-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: is.output.same
    > ### Title: Checks if functions will produce identical output
    > ### Aliases: is.output.same
    >
    > ### ** Examples
    >
    >
    > is.output.same(purrr::map(1:3, cumsum), lapply) # TRUE
    Error in exists("chain_parts", env) : invalid 'envir' argument
    Calls: is.output.same -> find_call_piped -> exists
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, 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’ [1s/1s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(frite)
     >
     > test_check("frite")
     ── 1. Error: is.output.same returns logical (@test-is-output-same.R#4) ────────
     invalid 'pos' argument
     1: expect_type(is.output.same(sum(1:3), prod), "logical") at testthat/test-is-output-same.R:4
     2: quasi_label(enquo(object))
     3: eval_bare(get_expr(quo), get_env(quo))
     4: is.output.same(sum(1:3), prod)
     5: find_call_piped(.call)
     6: exists("chain_parts", env)
    
     ── 2. Error: is.output.same returns false for outputs of different class (@test-
     invalid 'pos' argument
     1: expect_false(is.output.same(sum(1:3), prod)) at testthat/test-is-output-same.R:8
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: is.output.same(sum(1:3), prod)
     5: find_call_piped(.call)
     6: exists("chain_parts", env)
    
     ── 3. Error: find_call_piped return has type 'language' (@test_find_call_piped.R
     invalid 'pos' argument
     1: expect_type(find_call_piped(sum(1:3)), "language") at testthat/test_find_call_piped.R:4
     2: quasi_label(enquo(object))
     3: eval_bare(get_expr(quo), get_env(quo))
     4: find_call_piped(sum(1:3))
     5: exists("chain_parts", env)
    
     ── 4. Error: tictocify functions work when duped args are given (@test_tictocify
     invalid 'type' (character) of argument
     1: expect_output(reduce_timed(1:3, sum, .init = 0)) at testthat/test_tictocify.R:15
     2: quasi_capture(enquo(object), capture_output, label = label)
     3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
     4: capture_output_lines(code, print, width = width)
     5: eval_with_output(code, print = print, width = width)
     6: withr::with_output_sink(temp, withVisible(code))
     7: force(code)
     8: withVisible(code)
     9: eval_bare(get_expr(quo), get_env(quo))
     10: reduce_timed(1:3, sum, .init = 0)
     11: do.call(..f, map(.x = names(formals(..f)), .f = as.name))
     12: (function (.x, .f, ..., .init, .dir = c("forward", "backward"))
     {
     reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
     })(.x, .f, ..., .init, .dir)
     13: reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
     14: fn(out, elt, ...)
    
     ── 5. Error: tictocify produces equal output to original (@test_tictocify.R#20)
     invalid 'type' (character) of argument
     1: expect_equal(reduce_timed(1:3, sum, .init = 0), purrr::reduce(1:3, sum)) at testthat/test_tictocify.R:20
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: reduce_timed(1:3, sum, .init = 0)
     5: do.call(..f, map(.x = names(formals(..f)), .f = as.name))
     6: (function (.x, .f, ..., .init, .dir = c("forward", "backward"))
     {
     reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
     })(.x, .f, ..., .init, .dir)
     7: reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
     8: fn(out, elt, ...)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 14 SKIPPED: 0 FAILED: 5
     1. Error: is.output.same returns logical (@test-is-output-same.R#4)
     2. Error: is.output.same returns false for outputs of different class (@test-is-output-same.R#8)
     3. Error: find_call_piped return has type 'language' (@test_find_call_piped.R#4)
     4. Error: tictocify functions work when duped args are given (@test_tictocify.R#15)
     5. Error: tictocify produces equal output to original (@test_tictocify.R#20)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.1.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘getting-started.Rmd’ using rmarkdown
    Quitting from lines 50-57 (getting-started.Rmd)
    Error: processing vignette 'getting-started.Rmd' failed with diagnostics:
    invalid ‘type’ (character) of argument
    --- failed re-building ‘getting-started.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘getting-started.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
Check: examples
Result: ERROR
    Running examples in ‘frite-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: is.output.same
    > ### Title: Checks if functions will produce identical output
    > ### Aliases: is.output.same
    >
    > ### ** Examples
    >
    >
    > is.output.same(purrr::map(1:3, cumsum), lapply) # TRUE
    Error in exists("chain_parts", env) : invalid 'envir' argument
    Calls: is.output.same -> find_call_piped -> exists
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-solaris-x86, r-release-windows-ix86+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(frite)
     >
     > test_check("frite")
     ── 1. Error: is.output.same returns logical (@test-is-output-same.R#4) ────────
     invalid 'pos' argument
     1: expect_type(is.output.same(sum(1:3), prod), "logical") at testthat/test-is-output-same.R:4
     2: quasi_label(enquo(object))
     3: eval_bare(get_expr(quo), get_env(quo))
     4: is.output.same(sum(1:3), prod)
     5: find_call_piped(.call)
     6: exists("chain_parts", env)
    
     ── 2. Error: is.output.same returns false for outputs of different class (@test-
     invalid 'pos' argument
     1: expect_false(is.output.same(sum(1:3), prod)) at testthat/test-is-output-same.R:8
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: is.output.same(sum(1:3), prod)
     5: find_call_piped(.call)
     6: exists("chain_parts", env)
    
     ── 3. Error: find_call_piped return has type 'language' (@test_find_call_piped.R
     invalid 'pos' argument
     1: expect_type(find_call_piped(sum(1:3)), "language") at testthat/test_find_call_piped.R:4
     2: quasi_label(enquo(object))
     3: eval_bare(get_expr(quo), get_env(quo))
     4: find_call_piped(sum(1:3))
     5: exists("chain_parts", env)
    
     ── 4. Error: tictocify functions work when duped args are given (@test_tictocify
     invalid 'type' (character) of argument
     1: expect_output(reduce_timed(1:3, sum, .init = 0)) at testthat/test_tictocify.R:15
     2: quasi_capture(enquo(object), capture_output, label = label)
     3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
     4: capture_output_lines(code, print, width = width)
     5: eval_with_output(code, print = print, width = width)
     6: withr::with_output_sink(temp, withVisible(code))
     7: force(code)
     8: withVisible(code)
     9: eval_bare(get_expr(quo), get_env(quo))
     10: reduce_timed(1:3, sum, .init = 0)
     11: do.call(..f, map(.x = names(formals(..f)), .f = as.name))
     12: (function (.x, .f, ..., .init, .dir = c("forward", "backward"))
     {
     reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
     })(.x, .f, ..., .init, .dir)
     13: reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
     14: fn(out, elt, ...)
    
     ── 5. Error: tictocify produces equal output to original (@test_tictocify.R#20)
     invalid 'type' (character) of argument
     1: expect_equal(reduce_timed(1:3, sum, .init = 0), purrr::reduce(1:3, sum)) at testthat/test_tictocify.R:20
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: reduce_timed(1:3, sum, .init = 0)
     5: do.call(..f, map(.x = names(formals(..f)), .f = as.name))
     6: (function (.x, .f, ..., .init, .dir = c("forward", "backward"))
     {
     reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
     })(.x, .f, ..., .init, .dir)
     7: reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
     8: fn(out, elt, ...)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 14 SKIPPED: 0 FAILED: 5
     1. Error: is.output.same returns logical (@test-is-output-same.R#4)
     2. Error: is.output.same returns false for outputs of different class (@test-is-output-same.R#8)
     3. Error: find_call_piped return has type 'language' (@test_find_call_piped.R#4)
     4. Error: tictocify functions work when duped args are given (@test_tictocify.R#15)
     5. Error: tictocify produces equal output to original (@test_tictocify.R#20)
    
     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: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘getting-started.Rmd’ using rmarkdown
    Quitting from lines 50-57 (getting-started.Rmd)
    Error: processing vignette 'getting-started.Rmd' failed with diagnostics:
    invalid 'type' (character) of argument
    --- failed re-building ‘getting-started.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘getting-started.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [1s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(frite)
     >
     > test_check("frite")
     -- 1. Error: is.output.same returns logical (@test-is-output-same.R#4) --------
     invalid 'pos' argument
     1: expect_type(is.output.same(sum(1:3), prod), "logical") at testthat/test-is-output-same.R:4
     2: quasi_label(enquo(object))
     3: eval_bare(get_expr(quo), get_env(quo))
     4: is.output.same(sum(1:3), prod)
     5: find_call_piped(.call)
     6: exists("chain_parts", env)
    
     -- 2. Error: is.output.same returns false for outputs of different class (@test-
     invalid 'pos' argument
     1: expect_false(is.output.same(sum(1:3), prod)) at testthat/test-is-output-same.R:8
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: is.output.same(sum(1:3), prod)
     5: find_call_piped(.call)
     6: exists("chain_parts", env)
    
     -- 3. Error: find_call_piped return has type 'language' (@test_find_call_piped.R
     invalid 'pos' argument
     1: expect_type(find_call_piped(sum(1:3)), "language") at testthat/test_find_call_piped.R:4
     2: quasi_label(enquo(object))
     3: eval_bare(get_expr(quo), get_env(quo))
     4: find_call_piped(sum(1:3))
     5: exists("chain_parts", env)
    
     -- 4. Error: tictocify functions work when duped args are given (@test_tictocify
     invalid 'type' (character) of argument
     1: expect_output(reduce_timed(1:3, sum, .init = 0)) at testthat/test_tictocify.R:15
     2: quasi_capture(enquo(object), capture_output, label = label)
     3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
     4: capture_output_lines(code, print, width = width)
     5: eval_with_output(code, print = print, width = width)
     6: withr::with_output_sink(temp, withVisible(code))
     7: force(code)
     8: withVisible(code)
     9: eval_bare(get_expr(quo), get_env(quo))
     10: reduce_timed(1:3, sum, .init = 0)
     11: do.call(..f, map(.x = names(formals(..f)), .f = as.name))
     12: (function (.x, .f, ..., .init, .dir = c("forward", "backward"))
     {
     reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
     })(.x, .f, ..., .init, .dir)
     13: reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
     14: fn(out, elt, ...)
    
     -- 5. Error: tictocify produces equal output to original (@test_tictocify.R#20)
     invalid 'type' (character) of argument
     1: expect_equal(reduce_timed(1:3, sum, .init = 0), purrr::reduce(1:3, sum)) at testthat/test_tictocify.R:20
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: reduce_timed(1:3, sum, .init = 0)
     5: do.call(..f, map(.x = names(formals(..f)), .f = as.name))
     6: (function (.x, .f, ..., .init, .dir = c("forward", "backward"))
     {
     reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
     })(.x, .f, ..., .init, .dir)
     7: reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
     8: fn(out, elt, ...)
    
     == testthat results ===========================================================
     OK: 14 SKIPPED: 0 FAILED: 5
     1. Error: is.output.same returns logical (@test-is-output-same.R#4)
     2. Error: is.output.same returns false for outputs of different class (@test-is-output-same.R#8)
     3. Error: find_call_piped return has type 'language' (@test_find_call_piped.R#4)
     4. Error: tictocify functions work when duped args are given (@test_tictocify.R#15)
     5. Error: tictocify produces equal output to original (@test_tictocify.R#20)
    
     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: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Quitting from lines 50-57 (getting-started.Rmd)
    Error: processing vignette ‘getting-started.Rmd’ failed with diagnostics:
    invalid ‘type’ (character) of argument
    Execution halted
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64, r-release-windows-ix86+x86_64

Version: 0.1.0
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Quitting from lines 50-57 (getting-started.Rmd)
    Error: processing vignette 'getting-started.Rmd' failed with diagnostics:
    invalid 'type' (character) of argument
    Execution halted
Flavor: r-patched-solaris-x86

Version: 0.1.0
Check: whether package can be installed
Result: ERROR
    Installation failed.
Flavor: r-oldrel-osx-x86_64