Toots for michaelchirico@fosstodon.org account

Written by Michael Chirico on 2025-01-16 at 16:23

{bit64} 4.6.0-1 now on CRAN! #rstats

Makes my maintainership "official".

Feature-wise, added support for colSums/rowSums for integer64.

Enjoy!

https://cran.r-project.org/web/packages/bit64/index.html

=> More informations about this toot | View the thread

Written by Michael Chirico on 2025-01-14 at 18:30

Banger post up on The Raft from Ivan Krylov: an exploration of non-API C entry points by {data.table}

[#]rstats

https://rdatatable-community.github.io/The-Raft/posts/2025-01-13-non-api-use/

=> More informations about this toot | View the thread

Written by Michael Chirico on 2025-01-08 at 10:53

There's also stale_package_check() which I wrote for this SO Q&A long ago:

https://stackoverflow.com/a/43331282/3576984

The function is nice but lintr::unused_import_linter() is meant for the same thing and will be more robust / widely-tested, so I'll remove stale_package_check() from the next release.

=> More informations about this toot | View the thread

Written by Michael Chirico on 2025-01-08 at 10:50

updated my little {funchir} on CRAN #rstats

Overhauled the package and deleted most functions.

The main thing left is get_age() for getting correct (i.e. leap-year aware) fractional ages in years, which is reimplemented with data.table::fcase().

This is in service of a request to make the function {arrow}-compatible which requires its backend to use functions easily translated by acero -- turns out it makes the function much faster & readable too!

https://cran.r-project.org/web/packages/funchir/index.html

=> More informations about this toot | View the thread

Written by Michael Chirico on 2024-12-20 at 06:28

[#]rstats {lintr} finally got a hex logo! Thanks to Greg Swinehart! And of course @hadleywickham for the initiative.

=> View attached media

=> More informations about this toot | View the thread

Written by Michael Chirico on 2024-10-24 at 04:49

one unintended consequence of using R so much is I use the word 'vignette' more than is probably warranted

=> More informations about this toot | View the thread

Written by Michael Chirico on 2024-10-21 at 21:43

S̵h̵a̵m̵e̵ ̵t̵h̵a̵t̵ ̵r̵o̵c̵k̵e̵r̵ ̵d̵r̵o̵p̵p̵e̵d̵ ̵s̵u̵p̵p̵o̵r̵t̵ ̵f̵o̵r̵ ̵#̵r̵s̵t̵a̵t̵s̵ ̵<̵4̵.̵0̵.̵0̵. Anyone has a ready-made image for 3.4.0 hanging around? :)

(edit: I'm wrong, I guess it's just the r-ver image that lacks support... I will try and improve the documentation...)

=> More informations about this toot | View the thread

Written by Michael Chirico on 2024-10-10 at 16:38

Patch #rdatatable release 1.16.2 on CRAN #rstats

Most importantly we fixed a regression in print() + datatable.prettyprint.char option.

We also

Thanks as ever to @healthandstats for managing the CRAN release process and to Ivan Krylov for some really insightful contributions!

=> More informations about this toot | View the thread

Written by Michael Chirico on 2024-10-07 at 19:38

A modest proposal:

if your CRAN package is on GitHub, link it in your DESCRIPTION 🧘

=> More informations about this toot | View the thread

Written by Michael Chirico on 2024-10-05 at 06:40

You're looking at the new maintainer of #rstats 📦 {bit} and {bit64} 😎

A heartfelt thanks to Jens Oehlschlägel for writing the package and almost 13 years of maintenance ❤️ Thanks also to @hadleywickham for offering to host the packages in r-lib!

Jens has changed roles a few times and can no longer dedicate much time to maintaining these packages, so I reached out to take over & keep the dust off of them. They remain an important part of the ecosystem.

I don't have any dramatic changes planned.

=> More informations about this toot | View the thread

Written by Michael Chirico on 2024-09-25 at 16:12

Checking with @davis based on recent experience with tree-sitter -- I notice we get a "you are here" placeholder for the function you're in when scrolling source, but it's not working for "[.data.table" -- is the issue the use of string on LHS of =? Or that [.data.table is too long? Or '{' dropping to the next line?

If this is a {treesitter} issue & you can hint a fix I'll have a go at it :)

=> View attached media

=> More informations about this toot | View the thread

Written by Michael Chirico on 2024-09-13 at 17:24

Was just filing a bug about diff.POSIXt not respecting units=, when lo, support was added last year! (4.4.0) #rstats

https://github.com/r-devel/r-svn/commit/b611ebbc5387e48e73b4ba6cd1fbff5779a6a693

=> More informations about this toot | View the thread

Written by Michael Chirico on 2024-09-06 at 06:18

TIL GitHub's :shipit: icon is a squirrel, I had been thinking it's a fish 😶

=> More informations about this toot | View the thread

Written by Michael Chirico on 2024-09-05 at 06:45

TIL the 'in:title' operator in GitHub search to restrict a search to issues/PRs matching a query in the title

=> More informations about this toot | View the thread

Written by Michael Chirico on 2024-08-27 at 04:41

fread() automatically detects ',' as a decimal separator (you're welcome 🇪🇺 and south america!)

=> More informations about this toot | View the thread

Written by Michael Chirico on 2024-08-27 at 04:39

Use names(.SD) in the LHS of := assignment now works!

DT[, names(.SD) := lapply(.SD, normalize), .SDcols = is.numeric]

Highly requested since 2014; turns out it was a one-line fix ✏️

=> More informations about this toot | View the thread

Written by Michael Chirico on 2024-08-27 at 04:35

Say hello to #rdatatable 1.16.0 🎉

Many thanks to the dozens of contributors, new and old!

A quick thread on what to look out for 👀 #rstats

=> More informations about this toot | View the thread

Written by Michael Chirico on 2024-08-23 at 03:52

I must be re-inventing the wheel here -- what package/function should I be using instead? #rstats

The idea is -- for environments where we don't have an IDE / ctrl+Enter-friendly execution environment, source() a script but expression-by-expression (a la browser()/debug()).

So I can do .DebuggedScript(r_script)() and then start 'n' my way through it.

=> View attached media

=> More informations about this toot | View the thread

Written by Michael Chirico on 2024-08-20 at 15:58

I missed this -- #rstats R-devel starts shipping a wrapper for grep(value=TRUE) named grepv() 👀

https://github.com/r-devel/r-svn/commit/64b1ad2e49c1b638ea565e2dc39cd98103e4a28d

=> More informations about this toot | View the thread

Written by Michael Chirico on 2024-08-13 at 22:08

Request for user input in #rstats / #rdatatable

Dev version adds support for showing progress while processing slow by= grouped operations via a new argument to [

What should this argument be named?

=> More informations about this toot | View the thread

=> This profile without reblog | Go to michaelchirico@fosstodon.org account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/111492263894666583/reblog
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
366.559291 milliseconds
Gemini-to-HTML Time
4.331769 milliseconds

This content has been proxied by September (3851b).