Skip to content

dplyr 1.2.0 revdep issue #3

@DavisVaughan

Description

@DavisVaughan

Hi there, we are releasing dplyr 1.2.0 this Monday and your package was recently flagged in our final round of reverse dependency checks. Sorry we weren't able to get this to you sooner.

You'll need to send an update of your package to CRAN soon, and you'll likely receive an email from CRAN about this after dplyr 1.2.0 makes it to CRAN.

It looks like you are using filter() with across(), which has been deprecated for quite some time and is now an error. Please switch to using if_any() or if_all().


# batchtma (0.1.6)

* GitHub: <https://github.com/stopsack/batchtma>
* Email: <mailto:stopsack@post.harvard.edu>
* GitHub mirror: <https://github.com/cran/batchtma>

Run `revdepcheck::cloud_details(, "batchtma")` for more info

## Newly broken

*   checking examples ... ERROR
     ```
     ...
       5. │ │   │ └─base::withCallingHandlers(...)
       6. │ │   ├─purrr:::call_with_cleanup(...)
       7. │ │   └─batchtma (local) .f(.x[[i]], ...)
       8. │ │     └─... %>% ...
       9. │ └─data %>% ...
      10. ├─dplyr::mutate(...)
      11. ├─tidyr::nest(., data = dplyr::everything())
      12. ├─dplyr::mutate(., .batchvar = factor_drop(.data$.batchvar))
      13. ├─dplyr::filter(., !is.na(.data$variable))
      14. ├─dplyr::rename(...)
      15. ├─dplyr::filter(...)
      16. ├─dplyr:::filter.data.frame(...)
      17. │ └─dplyr:::filter_impl(...)
      18. │   └─dplyr:::filter_rows(...)
      19. │     └─dplyr:::filter_eval(...)
      20. │       ├─base::withCallingHandlers(...)
      21. │       └─mask$eval_all_filter(dots_expanded, invert, env_filter)
      22. │         └─dplyr (local) eval()
      23. ├─dplyr:::dplyr_internal_error(...)
      24. │ └─rlang::abort(class = c(class, "dplyr:::internal_error"), dplyr_error_data = data)
      25. │   └─rlang:::signal_abort(cnd, .file)
      26. │     └─base::signalCondition(cnd)
      27. └─dplyr (local) `<fn>`(`<dpl:::__>`)
      28.   └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
     Execution halted
     ```

*   checking re-building of vignette outputs ... ERROR
     ```
     ...
      21. ├─dplyr:::filter.data.frame(., dplyr::across(dplyr::all_of(confounders), ~!is.na(.x)))
      22. │ └─dplyr:::filter_impl(...)
      23. │   └─dplyr:::filter_rows(...)
      24. │     └─dplyr:::filter_eval(...)
      25. │       ├─base::withCallingHandlers(...)
      26. │       └─mask$eval_all_filter(dots_expanded, invert, env_filter)
      27. │         └─dplyr (local) eval()
      28. └─dplyr:::dplyr_internal_error(...)
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     
     Error: processing vignette 'batchtma.Rmd' failed with diagnostics:
     ℹ In index: 1.
     Caused by error in `dplyr::filter()`:
     ℹ In argument: `dplyr::across(dplyr::all_of(confounders), ~!is.na(.x))`.
     Caused by error:
     ! `..1` must be a logical vector, not a <tbl_df/tbl/data.frame> object.
     ℹ If you used `across()` to generate this data frame, please use `if_any()` or
       `if_all()` instead.
     --- failed re-building ‘batchtma.Rmd’
     
     SUMMARY: processing the following file failed:
       ‘batchtma.Rmd’
     
     Error: Vignette re-building failed.
     Execution halted
     ```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions