Posts

This profile is from a federated server and may be incomplete. Browse more on the original instance.

gaborcsardi, to random
@gaborcsardi@fosstodon.org avatar

If you see warnings/errors on GitHub Actions related to Matrix incompatibilities for your R package, see this issue for possible workarounds:
https://github.com/r-lib/actions/issues/832

_TimTaylor,
@_TimTaylor@fosstodon.org avatar

@gaborcsardi oh poo. I’d assumed that that would be the case given what Martin said here … https://stat.ethz.ch/pipermail/r-package-devel/2024q2/010640.html. May be worth following up.

gaborcsardi,
@gaborcsardi@fosstodon.org avatar

@_TimTaylor I emailed R-devel.

gaborcsardi, to random
@gaborcsardi@fosstodon.org avatar

R-hub v2 is here!

It is a completely new system, better and faster! See the details in the blog post: https://blog.r-hub.io/2024/04/11/rhub2/

@RConsortium

tylermorganwall,
@tylermorganwall@fosstodon.org avatar

@gaborcsardi @RConsortium Wonderful news!

gaborcsardi, to random
@gaborcsardi@fosstodon.org avatar

R 4.4.0 is coming in less than one month!

With rig you can try the first alpha easily while keeping your current R version. Run

rig add next

to install, and then

R-next

to start R 4.4.0 alpha.

On Windows, macOS or one of the many supported Linux distributions.

See https://github.com/r-lib/rig#readme

coolbutuseless,
@coolbutuseless@fosstodon.org avatar

{rig} is brilliant! In half-an-hour I:

  • Installed rig for the first time on macOS
  • Installed R 4.2 and 4.4
  • Used the handy shortcuts to start my project in Rstudio with these alternate R versions
  • Tested my new package locally to see some version-specific options worked

@gaborcsardi

gaborcsardi, to random
@gaborcsardi@fosstodon.org avatar

If you want to try the new R 4.3.3 release without upgrading, try https://github.com/r-lib/rig#readme

LeafyEricScott,
@LeafyEricScott@fosstodon.org avatar

@gaborcsardi I love rig but it makes it too easy for me to avoid updating certain projects—i just open them in an old version of R!

gaborcsardi, to random
@gaborcsardi@fosstodon.org avatar

Just updated https://github.com/r-lib/actions/releases/tag/v2, please report if you see GitHub Actions weirdness.

gaborcsardi, to random
@gaborcsardi@fosstodon.org avatar

GitHub Actions now supports free arm64 macOS runners for open source projects!
I have just updated https://github.com/r-lib/actions to support the new macos-14 runner. Add this runner to your test matrix if you want to test your R package on arm64 macOS 14.


https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/

gaborcsardi, to random
@gaborcsardi@fosstodon.org avatar

This is how httr2 and other packages use the base |> pipe in examples, and still support older R, including a clean R CMD check:
https://github.com/tidyverse/purrr/commit/426acdd50424b8cd6029d237c4d4e81d94ec42a6#diff-611496f412cac947be720d17a0ee6d7463221d14731fbc18244756271e8f5189

Ie. you need a configure (+ configure.win) file that creates an Rd macro on older R, that rewrites the examples with |>.
You'll also need Biarch: true in DESCRIPTION.

Clean R CMD check from R 3.6.x to R-4.4.x: https://github.com/r-lib/httr2/actions/runs/7548766508

sckottie,
@sckottie@fosstodon.org avatar

@gaborcsardi what’s the plan for when you’ll use the base pipe in package code?

jonthegeek, (edited )
@jonthegeek@fosstodon.org avatar

@gaborcsardi @sckottie I understand not using the magrittr pipe in package code, but, since the base pipe doesn't have runtime overhead, do you think it might become more prevelant in tidyverse package code after 4.5? I'm still being careful not to pipe in package code, but I'm not sure there will be a reason not to do so.

gaborcsardi, (edited ) to random
@gaborcsardi@fosstodon.org avatar

How do you set your CRAN mirror and other repositories? If other, please reply to this post.

#RStats

defuneste,
@defuneste@fosstodon.org avatar

@gaborcsardi Apparently I am like most of the responses depending whoami and where. :D

Lluis_Revilla,
@Lluis_Revilla@fosstodon.org avatar

@gaborcsardi I use rig, and in Rstudio I set a mirror, but I also use renv, which also controls the CRAN mirrors in use. At the personal computer I think I have it similarly. But I selected rig because is the first it is set.

gaborcsardi, to random
@gaborcsardi@fosstodon.org avatar

PSA: if you get GitHub Actions failures because of the Matrix binary incompatibility issue, this is a possible workaround: https://github.com/gmonette/cv/compare/main...gaborcsardi:cv:main
You may also put a thumbs up on this issue: https://github.com/r-lib/actions/issues/780 to help me access the impact of this. Thanks!

mccarthymg,
@mccarthymg@fosstodon.org avatar

@gaborcsardi Thanks for the workaround! I also ran into this using {lme4} + the pkgdown workflow last week. Is it worth applying the workaround as a permanent fix, or if I just wait awhile will the issue sort itself out?

gaborcsardi,
@gaborcsardi@fosstodon.org avatar

@mccarthymg In general it is not going to sort itself out any time soon. If lme4 and co. start depending on new Matrix, that'd be a fix.

Or if there'll be an R 4.3.3 release that bundles the updated Matrix package.

If it turns out that many people are affected then we may also fix it centrally in r-lib/actions, although I don't quite know how....

gaborcsardi, to random
@gaborcsardi@fosstodon.org avatar

It uses the same tables as https://github.com/patperry/utf8lite which has scripts to update

gaborcsardi, to random
@gaborcsardi@fosstodon.org avatar

The new evercran project (https://github.com/r-hub/evercran#readme) helps you run old (or ancient) versions of R, together with old (or ancient) snapshots of CRAN.

#RStats

eliocamp,
@eliocamp@mastodon.social avatar

@gaborcsardi This is great!

bbolker,
@bbolker@fediscience.org avatar

@gaborcsardi I kind of want to try this out with the 0.64.x range, the first versions of R I used ... #oldbrag #rstats

gaborcsardi, to random
@gaborcsardi@fosstodon.org avatar

pak 0.6.0 blog post about the new (more) automatic system requirements installation: https://www.tidyverse.org/blog/2023/09/pak-0-6-0/

Change log:
https://github.com/r-lib/pak/releases/tag/v0.6.0

Installation:
https://pak.r-lib.org/reference/install.html

mdsumner,

@gaborcsardi gawd ... amazing 👌

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • osvaldo12
  • everett
  • Youngstown
  • khanakhh
  • slotface
  • rosin
  • thenastyranch
  • ngwrru68w68
  • Durango
  • JUstTest
  • normalnudes
  • ethstaker
  • GTA5RPClips
  • modclub
  • cisconetworking
  • mdbf
  • tacticalgear
  • cubers
  • provamag3
  • tester
  • anitta
  • Leos
  • lostlight
  • All magazines