Elektrine
EN
Log in Register
Paige Chat Timeline Communities Gallery Videos Email DNS VPN Uptime Kairo
Back to Timeline
Remote

Michael Chirico

@michaelchirico@econtwitter.net
mastodon 4.6.2
  • Open on econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages.

PHL ✈️ SIN ✈️ SFO

192 Followers
99 Following
19 Posts
Joined November 28, 2022
Joined:
Nov 27, 2022

Posts

Open post
michaelchirico
Michael Chirico @michaelchirico@econtwitter.net · Nov 14, 2023
Michael Chirico
@michaelchirico@econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO

econtwitter.net

A very funny joke the #rstats architects pulled off is to have an SEXPTYPE called LANGSXP, an R function called is.language(), and for them not to be the same thing

econtwitter.net

EconTwitter

6
1
2
0
Open post
michaelchirico
Michael Chirico @michaelchirico@econtwitter.net · Nov 09, 2023
Michael Chirico
@michaelchirico@econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO

econtwitter.net

@vincentab@fosstodon.org it's active till December 1!!

fosstodon.org

Vincent Arel-Bundock (@vincentab@fosstodon.org) - Fosstodon

1
0
0
0
Open post
michaelchirico
Michael Chirico @michaelchirico@econtwitter.net · Nov 09, 2023
Michael Chirico
@michaelchirico@econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO

econtwitter.net

TFW you removed an innocuous importFrom(pkg, foo) but the implied loadNamespace("pkg") was actually letting 'pkg' define its #rstats S4 generic on top of base::serialize() so now your serialize() calls change implicitly from pkg::serialize() to base::serialize() 😵‍💫😵‍💫😵‍💫

econtwitter.net

EconTwitter

3
1
0
0
Open post
michaelchirico
Michael Chirico @michaelchirico@econtwitter.net · Nov 07, 2023
Michael Chirico
@michaelchirico@econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO

econtwitter.net
Replying to @michaelchirico@econtwitter.net
How could I omit make_linter_from_xpath()? One of those functions I can't believe was missing! I'm using it all the time now -- a boilerplate killer, streamlining the path from lint logic --> linted code.
0
0
0
0
Open post
michaelchirico
Michael Chirico @michaelchirico@econtwitter.net · Nov 07, 2023
Michael Chirico
@michaelchirico@econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO

econtwitter.net

{lintr} 3.1.1 now on CRAN! Static code analysis for #rstats.

- '# nolint next' to exclude the subsequent line
- 7 new linters e.g. length_test_linter() for the common mistake of doing length(x == 1) instead of length(x) == 1
- lots more consistency between '$' and '@' operators, and between function(...) and \(...) lambdas
- a ton more that won't fit in this toot! see the NEWS and I'll probably do some follow-up highlights

thanks to the many contributors!

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

econtwitter.net

EconTwitter

11
2
8
0
Open post
michaelchirico
Michael Chirico @michaelchirico@econtwitter.net · Oct 31, 2023
Michael Chirico
@michaelchirico@econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO

econtwitter.net

Ah, fun. encodeString() and sprintf() can be faster than paste0() for '-wrapping your strings... if the inputs are huge.

2
0
0
0
Open post
michaelchirico
Michael Chirico @michaelchirico@econtwitter.net · Oct 30, 2023
Michael Chirico
@michaelchirico@econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO

econtwitter.net

Long overdue update of potools on CRAN! Tools for translating R packages.

Starring some wonderful contributions from @hadleywickham@fosstodon.org who graciously suggested+implemented a more modular workflow making distinct translation roles easier to understand + work with.

Workhorses are the new functions po_extract(), po_create() po_compile(), and po_update(). See the two new vignettes (https://cran.r-project.org/web/packages/potools/vignettes/developers.html, https://cran.r-project.org/web/packages/potools/vignettes/translators.html).

Thanks also to @maelle@mastodon.social for trying it out!

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

fosstodon.org

Hadley Wickham (@hadleywickham@fosstodon.org) - Fosstodon

12
0
5
0
Open post
michaelchirico
Michael Chirico @michaelchirico@econtwitter.net · Oct 30, 2023
Michael Chirico
@michaelchirico@econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO

econtwitter.net

Could I request a fosstodon server invite from someone? Seems this here econtwitter server is due to sunset 🥲

0
0
0
0
Open post
michaelchirico
Michael Chirico @michaelchirico@econtwitter.net · Oct 30, 2023
Michael Chirico
@michaelchirico@econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO

econtwitter.net

@MikeMahoney218@fosstodon.org we want all(c(X, Y)) == all(X) && all(Y), the behavior of all(NULL) is required here for the empty edge case X=logical(0). Maybe the surprising part is NULL getting cast to as.logical(NULL) = logical(0).

fosstodon.org

Mike Mahoney (@MikeMahoney218@fosstodon.org) - Fosstodon

2
0
0
0
Open post
michaelchirico
Michael Chirico @michaelchirico@econtwitter.net · Oct 27, 2023
Michael Chirico
@michaelchirico@econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO

econtwitter.net

@sckottie@fosstodon.org

fosstodon.org

Scott Chamberlain (@sckottie@fosstodon.org) - Fosstodon

1
0
0
0
Open post
michaelchirico
Michael Chirico @michaelchirico@econtwitter.net · Oct 26, 2023
Michael Chirico
@michaelchirico@econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO

econtwitter.net

@dgkf@fosstodon.org @eddelbuettel@mastodon.social developer.r-project.org is the closest I can think of

fosstodon.org

dgkf (@dgkf@fosstodon.org) - Fosstodon

1
0
0
0
Open post
michaelchirico
Michael Chirico @michaelchirico@econtwitter.net · Oct 26, 2023
Michael Chirico
@michaelchirico@econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO

econtwitter.net

@nicoj@mastodon.online @pglpm@emacs.ch I just call it the coalesce operator

mastodon.online

nicolas (@nicoj@mastodon.online) - Mastodon

1
0
0
0
Open post
michaelchirico
Michael Chirico @michaelchirico@econtwitter.net · Oct 26, 2023
Michael Chirico
@michaelchirico@econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO

econtwitter.net
Replying to @michaelchirico@econtwitter.net
base #rstats has %||% now! https://github.com/r-devel/r-svn/commit/aa23547f2c5a80752194647c811fa2c1433d43b9
9
1
6
0
Open post
michaelchirico
Michael Chirico @michaelchirico@econtwitter.net · Oct 26, 2023
Michael Chirico
@michaelchirico@econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO

econtwitter.net

base #rstats has %||% now?

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

econtwitter.net

EconTwitter

2
3
0
0
Open post
michaelchirico
Michael Chirico @michaelchirico@econtwitter.net · Oct 22, 2023
Michael Chirico
@michaelchirico@econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO

econtwitter.net

maintenance update 0.3.3 of #rstats {geohashTools} is on CRAN

Main purpose is to remove references to {rgdal} now that it's off CRAN (it was previously moved to Suggests). Thanks Roger Bivand for your many years of service!

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

econtwitter.net

EconTwitter

1
0
0
0
Open post
michaelchirico
Michael Chirico @michaelchirico@econtwitter.net · Oct 18, 2023
Michael Chirico
@michaelchirico@econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO

econtwitter.net

Some notes about reshape::rename() vs. dplyr::rename() for anyone refactoring #rstats Ancient Code:

- The API is reversed. reshape does c(old = "new"), dplyr works like c(new = "old") or 'new = old', a la mutate()
- dplyr errors by default for unfound names, so a robust implementation needs dplyr::rename(x, any_of(new = old)) if 'old' might not exist on input
- dplyr errors instead of creating duplicate names. I don't see an easy way around this, but likely mutate() was intended anyway.

econtwitter.net

EconTwitter

5
0
1
0
Open post
michaelchirico
Michael Chirico @michaelchirico@econtwitter.net · Oct 17, 2023
Michael Chirico
@michaelchirico@econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO

econtwitter.net

@maelle@mastodon.social @Lluis_Revilla@fosstodon.org @r_data_table@fosstodon.org yep... and there's likely to be funding for a new push to other major languages e.g. Spanish. Thanks to the translation team!!

mastodon.social

Maëlle Salmon (@maelle@mastodon.social) - Mastodon

3
0
0
0
Open post
michaelchirico
Michael Chirico @michaelchirico@econtwitter.net · Oct 17, 2023
Michael Chirico
@michaelchirico@econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO

econtwitter.net

Hey #rstats #rdatatable if you're a {data.table} user please take a look at the new community survey:

https://tinyurl.com/datatable-survey

Great things getting started over at {data.table}...

econtwitter.net

EconTwitter

19
1
25
0
Open post
michaelchirico
Michael Chirico @michaelchirico@econtwitter.net · Sep 30, 2023
Michael Chirico
@michaelchirico@econtwitter.net

Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO

econtwitter.net

Dedicated website for #rstats translations is looking slick 😀

https://contributor.r-project.org/translations/

econtwitter.net

EconTwitter

10
0
6
0

Remote instance

econtwitter.net
Open on original server

Media

313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

Platform

  • Email
  • Chat
  • Timeline
  • Communities
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ

Legal

  • Terms of Service
  • Privacy Policy
  • Warrant Canary
  • Lite (no JS)
  • VPN Policy
  • Source code

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 16:11:12 UTC