Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr} {bit64}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO
Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr} {bit64}. Crosswords & languages.
PHL ✈️ SIN ✈️ SFO
Posts
Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr} {bit64}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO
TIL .Last() won't run in a non-interactive #rstats session that exits with error:
Rscript -e ".Last = \() cat('run\n'); stop('oops')"
Gemini suggested a kludgy workaround but I can't think of anything else, maybe something with options(error=...)?
Rscript -e "run_last = TRUE; reg.finalizer(.GlobalEnv, \(e) if (run_last) cat('run\n'), onexit=TRUE); stop('oops')"
My requirements are that it should (1) work in both interactive and batch sessions (2) optionally be disabled
Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr} {bit64}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO
ok but wtf does 'xtfrm' _mean_
Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr} {bit64}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO
if (!.on_cran()) {
cat("Starting tests for 'xxx' package ...")
test_check("xxx")
} else {
cat("Skipping tests on CRAN.")
}
you hate to see it 😓
Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr} {bit64}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO
-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
is pretty funny i do admit
Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr} {bit64}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO
Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr} {bit64}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO
My toolchain got borked at somepoint, I'm surprised nobody else appears to have gotten into this state...
But for the void:
---
readelf: Warning: Unrecognized form: 0x23
readelf: Warning: DIE at offset 0x3c43 refers to abbreviation number 479 which does not exist
---
Dump in my install logs finally fixed by '-gdwarf-4' in my Makevars:
---
CFLAGS+=-gdwarf-4
CXXFLAGS+=-I/usr/include -gdwarf-4
CXX17FLAGS+=-std=c++17 -gdwarf-4
---
(h/t gemini for the band-aid fix until I upgrade ubuntu...)
Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr} {bit64}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO
A fun one -- writing a CI script for a package only requiring R 3.4, whose test suite is written in testthat (requires R 4.1)
shims away!
Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr} {bit64}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO
RE: @michaelchirico@fosstodon.org
Major features include:
- a TON of improvements around rolling functions
- comment.char in fread()
- cbindlist() and mergelist()
Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr} {bit64}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO
Look under your tree! 🌲 🎁
There's a major #rstats #rdatatable release waiting! @r_data_table@fosstodon.org
A tremendous thanks to all involved and especially those contributing to some major (performance-maintaining!!) rewrites around the non-API issue.
Thanks also to the CRAN team and Luke for their patience+working with us to get it over the line.
https://cran.r-project.org/web/packages/data.table/index.html
Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr} {bit64}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO
Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr} {bit64}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO
I took over as maintainer for {patrick} -- a {testthat} extension for running parameterized tests. we have a patch release adapting to {testthat} 3.3.0. h/t Hadley for the proactive fix! #rstats
Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr} {bit64}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO
Happy Thanksgiving, and happy {lintr} release day :) #rstats
Lots, as usual:
* native pipe enforcement by default
* encourage %||%
* discourage if (all.equal(...))
* exclude by glob in .lintr
* loads of robustness fixes
Thanks as ever for all contributions!
Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr} {bit64}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO
Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr} {bit64}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO
Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr} {bit64}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO
Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr} {bit64}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO
Economist, data scientist. #rstats e.g. {data.table} {potools} {lintr} {bit64}. Crosswords & languages. PHL ✈️ SIN ✈️ SFO