precommit icon indicating copy to clipboard operation
precommit copied to clipboard

Release Scheduling

Open lorenzwalthert opened this issue 3 years ago • 4 comments

  • [x] wait for {renv} 0.15 to be CRAN released to fix #342.
  • [x] Wait for R 4.2 to appear in spring 2022.
  • [x] update R image on pre-commi.ci to make sure env variables are respected for multi-thread safety. Recommended packages to include: codetools for lintr.
  • [x] auto-hook updates.
  • [x] CRAN release.

lorenzwalthert avatar Jan 06 '22 12:01 lorenzwalthert

Thanks @lorenzwalthert first of all for this package, it is really useful! One clarification question - is the current version compatible with R 4.2 or not yet? I am asking because I have installed R 4.2 and now I am running into an error like this: namespace rlang 0.4.12 is already loaded, but >= 1.0.1 is required when setting up the pre-commit environment with renv etc. while I also get the warning Project requested R version '4.1.0' but '4.2.0' is currently being used

danielinteractive avatar May 17 '22 20:05 danielinteractive

Which hook version are you running? Iirc this was fixed in a recent hook patch update. Try pre-commit autoupdate on the command line or precommit::autoupdate() in R. The warning on the R version can be ignored I think.

lorenzwalthert avatar May 17 '22 21:05 lorenzwalthert

Thanks @lorenzwalthert , I now upgraded to v0.2.2.9015 for precommit (and v2.6.2 for prettier) - and now it works! Thanks!

danielinteractive avatar May 18 '22 07:05 danielinteractive

Maybe we also need to catch these types of errors in all hooks and suggest updating the various components.

lorenzwalthert avatar May 18 '22 08:05 lorenzwalthert