CRAN Package Check Results for Package bench

Last updated on 2019-02-20 13:46:18 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 2.67 35.66 38.33 OK
r-devel-linux-x86_64-debian-gcc 1.0.1 2.37 28.26 30.63 OK
r-devel-linux-x86_64-fedora-clang 1.0.1 43.29 OK
r-devel-linux-x86_64-fedora-gcc 1.0.1 41.17 OK
r-devel-windows-ix86+x86_64 1.0.1 14.00 112.00 126.00 OK
r-patched-linux-x86_64 1.0.1 OK
r-patched-solaris-x86 1.0.1 62.20 OK
r-release-linux-x86_64 1.0.1 OK
r-release-windows-ix86+x86_64 1.0.1 8.00 83.00 91.00 OK
r-release-osx-x86_64 1.0.1 OK
r-oldrel-windows-ix86+x86_64 1.0.1 11.00 53.00 64.00 ERROR
r-oldrel-osx-x86_64 1.0.1 OK

Check Details

Version: 1.0.1
Check: running examples for arch ‘i386’
Result: ERROR
    Running examples in 'bench-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: autoplot.bench_mark
    > ### Title: Autoplot method for bench_mark objects
    > ### Aliases: autoplot.bench_mark plot.bench_mark
    >
    > ### ** Examples
    >
    > dat <- data.frame(x = runif(10000, 1, 1000), y=runif(10000, 1, 1000))
    >
    > res <- bench::mark(
    + dat[dat$x > 500, ],
    + dat[which(dat$x > 500), ],
    + subset(dat, x > 500))
    >
    > if (require(ggplot2)) {
    +
    + # Beeswarm plot
    + autoplot(res)
    +
    + # ridge (joyplot)
    + autoplot(res, "ridge")
    +
    + # If you want to have the plots ordered by execution time you can do so by
    + # ordering factor levels in the expressions.
    + if (require(dplyr) && require(forcats)) {
    +
    + res %>%
    + mutate(expression = forcats::fct_reorder(expression, min, .desc = TRUE)) %>%
    + as_bench_mark() %>%
    + autoplot("violin")
    + }
    + }
    Loading required package: ggplot2
    Warning: S3 methods '[.fun_list', '[.grouped_df', 'all.equal.tbl_df', 'anti_join.data.frame', 'anti_join.tbl_df', 'arrange.data.frame', 'arrange.default', 'arrange.grouped_df', 'arrange.tbl_df', 'arrange_.data.frame', 'arrange_.tbl_df', 'as.data.frame.grouped_df', 'as.data.frame.rowwise_df', 'as.data.frame.tbl_cube', 'as.table.tbl_cube', 'as.tbl.data.frame', 'as.tbl.tbl', 'as.tbl_cube.array', 'as.tbl_cube.data.frame', 'as.tbl_cube.matrix', 'as.tbl_cube.table', 'as_tibble.grouped_df', 'as_tibble.tbl_cube', 'auto_copy.tbl_cube', 'auto_copy.tbl_df', 'cbind.grouped_df', 'collapse.data.frame', 'collect.data.frame', 'common_by.NULL', 'common_by.character', 'common_by.default', 'common_by.list', 'compute.data.frame', 'copy_to.DBIConnection', 'copy_to.src_local', 'default_missing.data.frame', 'default_missing.default', 'dim.tbl_cube', 'distinct.data.frame', 'distinct.default', 'distinct.grouped_df', 'distinct.tbl_df', 'distinct_.data.frame', 'distinct_.grouped_df', 'distinct_.tbl_df', 'do.NULL', 'do.da [... truncated]
    Error in namespaceExport(ns, exports) :
     undefined exports: add_count, add_count_, add_rownames, add_tally, add_tally_, all_equal, all_vars, anti_join, any_vars, arrange, arrange_, arrange_all, arrange_at, arrange_if, as.tbl, as.tbl_cube, auto_copy, bench_tbls, between, bind_cols, bind_rows, case_when, changes, check_dbplyr, coalesce, collect, combine, common_by, compare_tbls, compare_tbls2, compute, copy_to, count, count_, cumall, cumany, cume_dist, cummean, current_vars, db_analyze, db_begin, db_commit, db_create_index, db_create_indexes, db_create_table, db_data_type, db_desc, db_drop_table, db_explain, db_has_table, db_insert_into, db_list_tables, db_query_fields, db_query_rows, db_rollback, db_save_query, db_write_table, dense_rank, desc, dim_desc, distinct, distinct_, distinct_all, distinct_at, distinct_if, distinct_prepare, do, do_, dr_dplyr, eval_tbls, eval_tbls2, explain, failwith, filter_, filter_all, filter_at, filter_if, first, full_join, funs, funs_, group_by, group_by_, group_by_all, group_by_at, group
    Calls: autoplot ... autoplot.bench_mark -> <Anonymous> -> unnest.bench_mark
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 1.0.1
Check: running examples for arch ‘x64’
Result: ERROR
    Running examples in 'bench-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: autoplot.bench_mark
    > ### Title: Autoplot method for bench_mark objects
    > ### Aliases: autoplot.bench_mark plot.bench_mark
    >
    > ### ** Examples
    >
    > dat <- data.frame(x = runif(10000, 1, 1000), y=runif(10000, 1, 1000))
    >
    > res <- bench::mark(
    + dat[dat$x > 500, ],
    + dat[which(dat$x > 500), ],
    + subset(dat, x > 500))
    >
    > if (require(ggplot2)) {
    +
    + # Beeswarm plot
    + autoplot(res)
    +
    + # ridge (joyplot)
    + autoplot(res, "ridge")
    +
    + # If you want to have the plots ordered by execution time you can do so by
    + # ordering factor levels in the expressions.
    + if (require(dplyr) && require(forcats)) {
    +
    + res %>%
    + mutate(expression = forcats::fct_reorder(expression, min, .desc = TRUE)) %>%
    + as_bench_mark() %>%
    + autoplot("violin")
    + }
    + }
    Loading required package: ggplot2
    Warning: S3 methods '[.fun_list', '[.grouped_df', 'all.equal.tbl_df', 'anti_join.data.frame', 'anti_join.tbl_df', 'arrange.data.frame', 'arrange.default', 'arrange.grouped_df', 'arrange.tbl_df', 'arrange_.data.frame', 'arrange_.tbl_df', 'as.data.frame.grouped_df', 'as.data.frame.rowwise_df', 'as.data.frame.tbl_cube', 'as.table.tbl_cube', 'as.tbl.data.frame', 'as.tbl.tbl', 'as.tbl_cube.array', 'as.tbl_cube.data.frame', 'as.tbl_cube.matrix', 'as.tbl_cube.table', 'as_tibble.grouped_df', 'as_tibble.tbl_cube', 'auto_copy.tbl_cube', 'auto_copy.tbl_df', 'cbind.grouped_df', 'collapse.data.frame', 'collect.data.frame', 'common_by.NULL', 'common_by.character', 'common_by.default', 'common_by.list', 'compute.data.frame', 'copy_to.DBIConnection', 'copy_to.src_local', 'default_missing.data.frame', 'default_missing.default', 'dim.tbl_cube', 'distinct.data.frame', 'distinct.default', 'distinct.grouped_df', 'distinct.tbl_df', 'distinct_.data.frame', 'distinct_.grouped_df', 'distinct_.tbl_df', 'do.NULL', 'do.da [... truncated]
    Error in namespaceExport(ns, exports) :
     undefined exports: add_count, add_count_, add_rownames, add_tally, add_tally_, all_equal, all_vars, anti_join, any_vars, arrange, arrange_, arrange_all, arrange_at, arrange_if, as.tbl, as.tbl_cube, auto_copy, bench_tbls, between, bind_cols, bind_rows, case_when, changes, check_dbplyr, coalesce, collect, combine, common_by, compare_tbls, compare_tbls2, compute, copy_to, count, count_, cumall, cumany, cume_dist, cummean, current_vars, db_analyze, db_begin, db_commit, db_create_index, db_create_indexes, db_create_table, db_data_type, db_desc, db_drop_table, db_explain, db_has_table, db_insert_into, db_list_tables, db_query_fields, db_query_rows, db_rollback, db_save_query, db_write_table, dense_rank, desc, dim_desc, distinct, distinct_, distinct_all, distinct_at, distinct_if, distinct_prepare, do, do_, dr_dplyr, eval_tbls, eval_tbls2, explain, failwith, filter_, filter_all, filter_at, filter_if, first, full_join, funs, funs_, group_by, group_by_, group_by_all, group_by_at, group
    Calls: autoplot ... autoplot.bench_mark -> <Anonymous> -> unnest.bench_mark
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 1.0.1
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'testthat.R' [4s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(bench)
     >
     > test_check("bench")
     <1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e>-- 1. Error: unnest.bench_mark: does not contain result or memory columns (@test
     undefined exports: add_count, add_count_, add_rownames, add_tally, add_tally_, all_equal, all_vars, anti_join, any_vars, arrange, arrange_, arrange_all, arrange_at, arrange_if, as.tbl, as.tbl_cube, auto_copy, bench_tbls, between, bind_cols, bind_rows, case_when, changes, check_dbplyr, coalesce, collect, combine, common_by, compare_tbls, compare_tbls2, compute, copy_to, count, count_, cumall, cumany, cume_dist, cummean, current_vars, db_analyze, db_begin, db_commit, db_create_index, db_create_indexes, db_create_table, db_data_type, db_desc, db_drop_table, db_explain, db_has_table, db_insert_into, db_list_tables, db_query_fields, db_query_rows, db_rollback, db_save_query, db_write_table, dense_rank, desc, dim_desc, distinct, distinct_, distinct_all, distinct_at, distinct_if, distinct_prepare, do, do_, dr_dplyr, eval_tbls, eval_tbls2, explain, failwith, filter_, filter_all, filter_at, filter_if, first, full_join, funs, funs_, group_by, group_by_, group_by_all, group_by_at, group_by_if, group_by_prepare, group_cols, group_data, group_indices, group_indices_, group_keys, group_map, group_nest, group_rows, group_size, group_split, group_trim, group_vars, group_walk, grouped_df, groups, hybrid_call, id, ident, if_else, inner_join, is.grouped_df, is.src, is.tbl, is_grouped_df, last, lead, left_join, location, make_tbl, min_rank, mutate, mutate_, mutate_all, mutate_at, mutate_each, mutate_each_, mutate_if, n, n_distinct, n_groups, na_if, near, nest_join, new_grouped_df, nth, ntile, order_by, percent_rank, progress_estimated, pull, rbind_all, rbind_list, recode, recode_factor, rename, rename_, rename_all, rename_at, rename_if, rename_vars, rename_vars_, right_join, row_number, rowwise, same_src, sample_frac, sample_n, select, select_, select_all, select_at, select_if, select_var, select_vars, select_vars_, semi_join, show_query, slice, slice_, sql, sql_escape_ident, sql_escape_string, sql_join, sql_select, sql_semi_join, sql_set_op, sql_subquery, sql_translate_env, src, src_df, src_local, src_mysql, src_postgres, src_sqlite, src_tbls, summarise, summarise_, summarise_all, summarise_at, summarise_each, summarise_each_, summarise_if, summarize, summarize_, summarize_all, summarize_at, summarize_each, summarize_each_, summarize_if, tally, tally_, tbl, tbl_cube, tbl_df, tbl_nongroup_vars, tbl_vars, top_n, transmute, transmute_, transmute_all, transmute_at, transmute_if, ungroup, union_all, validate_grouped_df, vars, with_order, wrap_dbplyr_obj
     1: tidyr::unnest(bnch) at testthat/test-mark.R:189
     2: unnest.bench_mark(bnch)
     3: suppressWarnings(NextMethod(.Generic))
     4: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
     5: NextMethod(.Generic)
     6: unnest.data.frame(bnch)
     7: dplyr::transmute
     8: getExportedValue(pkg, name)
     9: asNamespace(ns)
     10: getNamespace(ns)
     11: tryCatch(loadNamespace(name), error = function(e) stop(e))
     12: tryCatchList(expr, classes, parentenv, handlers)
     13: tryCatchOne(expr, names, parentenv, handlers[[1L]])
     14: value[[3L]](cond)
    
     == testthat results ===========================================================
     OK: 193 SKIPPED: 1 FAILED: 1
     1. Error: unnest.bench_mark: does not contain result or memory columns (@test-mark.R#189)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 1.0.1
Check: running tests for arch ‘x64’
Result: ERROR
     Running 'testthat.R' [4s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(bench)
     >
     > test_check("bench")
     <1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e><1e>-- 1. Error: unnest.bench_mark: does not contain result or memory columns (@test
     undefined exports: add_count, add_count_, add_rownames, add_tally, add_tally_, all_equal, all_vars, anti_join, any_vars, arrange, arrange_, arrange_all, arrange_at, arrange_if, as.tbl, as.tbl_cube, auto_copy, bench_tbls, between, bind_cols, bind_rows, case_when, changes, check_dbplyr, coalesce, collect, combine, common_by, compare_tbls, compare_tbls2, compute, copy_to, count, count_, cumall, cumany, cume_dist, cummean, current_vars, db_analyze, db_begin, db_commit, db_create_index, db_create_indexes, db_create_table, db_data_type, db_desc, db_drop_table, db_explain, db_has_table, db_insert_into, db_list_tables, db_query_fields, db_query_rows, db_rollback, db_save_query, db_write_table, dense_rank, desc, dim_desc, distinct, distinct_, distinct_all, distinct_at, distinct_if, distinct_prepare, do, do_, dr_dplyr, eval_tbls, eval_tbls2, explain, failwith, filter_, filter_all, filter_at, filter_if, first, full_join, funs, funs_, group_by, group_by_, group_by_all, group_by_at, group_by_if, group_by_prepare, group_cols, group_data, group_indices, group_indices_, group_keys, group_map, group_nest, group_rows, group_size, group_split, group_trim, group_vars, group_walk, grouped_df, groups, hybrid_call, id, ident, if_else, inner_join, is.grouped_df, is.src, is.tbl, is_grouped_df, last, lead, left_join, location, make_tbl, min_rank, mutate, mutate_, mutate_all, mutate_at, mutate_each, mutate_each_, mutate_if, n, n_distinct, n_groups, na_if, near, nest_join, new_grouped_df, nth, ntile, order_by, percent_rank, progress_estimated, pull, rbind_all, rbind_list, recode, recode_factor, rename, rename_, rename_all, rename_at, rename_if, rename_vars, rename_vars_, right_join, row_number, rowwise, same_src, sample_frac, sample_n, select, select_, select_all, select_at, select_if, select_var, select_vars, select_vars_, semi_join, show_query, slice, slice_, sql, sql_escape_ident, sql_escape_string, sql_join, sql_select, sql_semi_join, sql_set_op, sql_subquery, sql_translate_env, src, src_df, src_local, src_mysql, src_postgres, src_sqlite, src_tbls, summarise, summarise_, summarise_all, summarise_at, summarise_each, summarise_each_, summarise_if, summarize, summarize_, summarize_all, summarize_at, summarize_each, summarize_each_, summarize_if, tally, tally_, tbl, tbl_cube, tbl_df, tbl_nongroup_vars, tbl_vars, top_n, transmute, transmute_, transmute_all, transmute_at, transmute_if, ungroup, union_all, validate_grouped_df, vars, with_order, wrap_dbplyr_obj
     1: tidyr::unnest(bnch) at testthat/test-mark.R:189
     2: unnest.bench_mark(bnch)
     3: suppressWarnings(NextMethod(.Generic))
     4: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
     5: NextMethod(.Generic)
     6: unnest.data.frame(bnch)
     7: dplyr::transmute
     8: getExportedValue(pkg, name)
     9: asNamespace(ns)
     10: getNamespace(ns)
     11: tryCatch(loadNamespace(name), error = function(e) stop(e))
     12: tryCatchList(expr, classes, parentenv, handlers)
     13: tryCatchOne(expr, names, parentenv, handlers[[1L]])
     14: value[[3L]](cond)
    
     == testthat results ===========================================================
     OK: 193 SKIPPED: 1 FAILED: 1
     1. Error: unnest.bench_mark: does not contain result or memory columns (@test-mark.R#189)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64