r-lib / styler

Non-invasive pretty printing of R code
https://styler.r-lib.org
Other
713 stars 70 forks source link

Adding sticker #1172

Closed IndrajeetPatil closed 7 months ago

IndrajeetPatil commented 8 months ago

Closes #516

codecov-commenter commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e987d7a) 92.16% compared to head (7eaf828) 92.16%.

:exclamation: Current head 7eaf828 differs from pull request most recent head 4ec583d. Consider uploading reports for the commit 4ec583d to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1172 +/- ## ======================================= Coverage 92.16% 92.16% ======================================= Files 46 46 Lines 2655 2655 ======================================= Hits 2447 2447 Misses 208 208 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

IndrajeetPatil commented 8 months ago

@lorenzwalthert Do you know where the changes in inst/WORDLIST are coming from in the precommit workflow?

I don't know how to prevent this.

olivroy commented 8 months ago

I'd suggest to add favicons.

Locally, you can run pkgdown::build_favicons()

IndrajeetPatil commented 8 months ago

@olivroy Good idea!

Need to wait before the sticker is finalized and then I can do this.

github-actions[bot] commented 8 months ago

This is how benchmark results would change (along with a 95% confidence interval in relative change) if e987d7aa2e0bc5d5c5911c317e112dbd9b82a809 is merged into main:

Further explanation regarding interpretation and methodology can be found in the documentation.

lorenzwalthert commented 8 months ago

Thanks @IndrajeetPatil and sorry for the delay. Great to have this programatically. I changed to following:

I am not sure we need another top level directory. Is hextools standard? I'd prefer to put it under an existing directory, like man/figures/ or under inst/ or other but add it to .Rbuildignore.

github-actions[bot] commented 8 months ago

This is how benchmark results would change (along with a 95% confidence interval in relative change) if e987d7aa2e0bc5d5c5911c317e112dbd9b82a809 is merged into main:

Further explanation regarding interpretation and methodology can be found in the documentation.

IndrajeetPatil commented 8 months ago

Thanks, @lorenzwalthert! The new colors look good to me.

Can you please also update the script hextools/hexsticker.R for these changes? That way, we can reproduce the sticker in future as well.

I am not sure we need another top level directory. Is hextools standard? I'd prefer to put it under an existing directory, like man/figures/ or under inst/ or other but add it to .Rbuildignore.

Yes, that'd fine by me.

github-actions[bot] commented 8 months ago

This is how benchmark results would change (along with a 95% confidence interval in relative change) if e987d7aa2e0bc5d5c5911c317e112dbd9b82a809 is merged into main:

Further explanation regarding interpretation and methodology can be found in the documentation.

lorenzwalthert commented 8 months ago

Done @IndrajeetPatil.

github-actions[bot] commented 7 months ago

This is how benchmark results would change (along with a 95% confidence interval in relative change) if e987d7aa2e0bc5d5c5911c317e112dbd9b82a809 is merged into main:

Further explanation regarding interpretation and methodology can be found in the documentation.

IndrajeetPatil commented 7 months ago

@lorenzwalthert This is ready for a merge from my end. Let me know if you have any other comments.

github-actions[bot] commented 7 months ago

This is how benchmark results would change (along with a 95% confidence interval in relative change) if e987d7aa2e0bc5d5c5911c317e112dbd9b82a809 is merged into main:

Further explanation regarding interpretation and methodology can be found in the documentation.

IndrajeetPatil commented 7 months ago

The sticker isn't showing up on the devel version of the website. Looking into it.

lorenzwalthert commented 7 months ago

Maybe try build locally and see if that works?

lorenzwalthert commented 7 months ago

Also I tried to see the website in incognito mode and I can confirm I can’t see it either.