ropensci-review-tools / pkgcheck

Check whether a package is ready for submission to rOpenSci's peer-review system
https://docs.ropensci.org/pkgcheck/
18 stars 6 forks source link

Add :eyes: checks as well as just :heavy_check_mark: and :heavy_multiplication_x: #144

Closed mpadge closed 2 years ago

mpadge commented 2 years ago

Checks like the latest unique_fn_names #142 might be better changed from currently unavoiable failure:

to a new section at the bottom of the summary:


Checks subject to editorial discretion


Thoughts @maelle:question:

maelle commented 2 years ago

I agree on the idea but am not sure the emoji is optimal. Maybe a warning sign or some sort of notebook?

assignUser commented 2 years ago

I was actually about to comment this on the closed issue! ⚠️ 🗒️ 📓 👀 👁️ 👁️‍🗨️

I think 👀 communicates the intent the best?

maelle commented 2 years ago

oh yeah, good idea!

mpadge commented 2 years ago

Whatever we decide, it also needs to be translated into corresponding HTML, which i do something like:

  1. Text search on this GitHub emoji reference page
  2. Locate same emoji on this page to ensure it'll look the same / okay, and find the hex code.
  3. Finally, search for same hex code on this page to find the HTML code.

Doing that gives this: :eyes: 👀, where the latter is 👀. Phew :sweat:

mpadge commented 2 years ago

Sample output:


Checks for \<some test package>

git hash: 00c38b8d

Important: All failing checks above must be addressed prior to proceeding

(Checks marked with :eyes: may be optionally addressed.)

Package License: GPL-3


At the moment, only the "function names are duplicated" check generates :eyes: on fail, but trivial to re-arrange or add any others at any time. The definitions are in: https://github.com/ropensci-review-tools/pkgcheck/blob/65636586db846772d76b41609400efd0805a561a/R/summarise-checks.R#L136-L155

assignUser commented 2 years ago

Love it 👀

mpadge commented 2 years ago

Cool, thanks. It's already deployed too, so should appear anytime now ...