ThinkR-open / checkhelper

A package to help deal with devtools::check outputs
https://thinkr-open.github.io/checkhelper/
Other
34 stars 4 forks source link

As a dev, I have an issue when running checkhelper on empty package #18

Open ColinFay opened 2 years ago

ColinFay commented 2 years ago

Step to reproduce :

colin$ Rscript -e "usethis::create_package('pouet')"
colin$ cd pouet/
colin:pouet colin$ RScript -e "checkhelper::find_missing_tags()"
── [.Rprofile] Sourcing user-wide rprofile ────────────────────────────────────────────────────────────
ℹ Loading pouet
Error in `mutate()`:
! Problem while computing `rdname_value = if_else(rdname_value == "", topic, rdname_value)`.
Caused by error in `if_else()`:
! objet 'rdname_value' introuvable
Backtrace:
     ▆
  1. ├─checkhelper::find_missing_tags()
  2. │ └─... %>% ...
  3. ├─dplyr::mutate(...)
  4. ├─dplyr:::mutate.data.frame(...)
  5. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
  6. │   ├─base::withCallingHandlers(...)
  7. │   └─mask$eval_all_mutate(quo)
  8. ├─dplyr::if_else(rdname_value == "", topic, rdname_value)
  9. └─base::.handleSimpleError(...)
 10.   └─dplyr h(simpleError(msg, call))
 11.     └─rlang::abort(...)