Package: mverse Check: examples New result: ERROR Running examples in ‘mverse-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: add_branch_condition > ### Title: Add branch conditions to a 'mverse' object. > ### Aliases: add_branch_condition add_branch_condition.mverse > > ### ** Examples > > # Define branches and add them to an \code{mverse} object. > y <- mutate_branch(alldeaths, log(alldeaths + 1)) > distribution <- family_branch(poisson, gaussian) > # You can match branching options by providing the options > # the way provide them when defining branches. > match_poisson <- branch_condition(alldeaths, poisson) > mv <- mverse(hurricane) %>% + add_mutate_branch(y) %>% + add_family_branch(distribution) %>% + add_branch_condition(match_poisson) Error in `mutate()`: ℹ In argument: `.results = .res`. Caused by error: ! `.results` must be size 1, not 2. Backtrace: ▆ 1. ├─... %>% add_branch_condition(match_poisson) 2. ├─mverse::add_branch_condition(., match_poisson) 3. ├─mverse::add_family_branch(., distribution) 4. ├─mverse:::add_family_branch.mverse(., distribution) 5. │ └─mverse:::add_branch(.mverse, brs, nms) 6. │ └─mverse:::reset_parameters(.mverse) 7. │ └─multiverse::inside(.mverse, orig <- attr(.mverse, "source")) 8. │ └─multiverse::execute_universe(multiverse) 9. │ ├─multiverse::expand(multiverse) 10. │ └─multiverse:::expand.multiverse(multiverse) 11. │ ├─dplyr::select(...) 12. │ ├─dplyr::mutate(...) 13. │ └─dplyr:::mutate.data.frame(...) 14. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 15. │ ├─base::withCallingHandlers(...) 16. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 17. │ └─mask$eval_all_mutate(quo) 18. │ └─dplyr (local) eval() 19. ├─dplyr:::dplyr_internal_error(...) 20. │ └─rlang::abort(class = c(class, "dplyr:::internal_error"), dplyr_error_data = data) 21. │ └─rlang:::signal_abort(cnd, .file) 22. │ └─base::signalCondition(cnd) 23. └─dplyr (local) ``(``) 24. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) Execution halted Package: mverse Check: re-building of vignette outputs New result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘mverse_gettingstarted.Rmd’ using rmarkdown Quitting from lines 207-210 [unnamed-chunk-6] (mverse_gettingstarted.Rmd) Error: processing vignette 'mverse_gettingstarted.Rmd' failed with diagnostics: Names can't be empty. ✖ Empty name found at location 8. --- failed re-building ‘mverse_gettingstarted.Rmd’ --- re-building ‘mverse_intro_glmmodelling.Rmd’ using rmarkdown ** Processing: /home/hornik/tmp/CRAN_recheck/mverse.Rcheck/vign_test/mverse/vignettes/mverse_intro_glmmodelling_files/figure-html/unnamed-chunk-1-1.png 672x384 pixels, 8 bits/pixel, 233 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 6011 bytes Input file size = 6800 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 4501 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 4501 Output IDAT size = 4501 bytes (1510 bytes decrease) Output file size = 4579 bytes (2221 bytes = 32.66% decrease) Quitting from lines 140-143 [unnamed-chunk-3] (mverse_intro_glmmodelling.Rmd) Error: processing vignette 'mverse_intro_glmmodelling.Rmd' failed with diagnostics: Names can't be empty. ✖ Empty name found at location 8. --- failed re-building ‘mverse_intro_glmmodelling.Rmd’ --- re-building ‘mverse_intro_regressionmodelling.Rmd’ using rmarkdown ** Processing: /home/hornik/tmp/CRAN_recheck/mverse.Rcheck/vign_test/mverse/vignettes/mverse_intro_regressionmodelling_files/figure-html/unnamed-chunk-8-1.png 672x288 pixels, 3x8 bits/pixel, RGB Input IDAT size = 18909 bytes Input file size = 19011 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 14671 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 14671 Output IDAT size = 14671 bytes (4238 bytes decrease) Output file size = 14749 bytes (4262 bytes = 22.42% decrease) --- finished re-building ‘mverse_intro_regressionmodelling.Rmd’ SUMMARY: processing the following files failed: ‘mverse_gettingstarted.Rmd’ ‘mverse_intro_glmmodelling.Rmd’ Error: Vignette re-building failed. Execution halted