econmaett
banner
econmaett.github.io
econmaett
@econmaett.github.io
❤️📊 | 🗣️DE|EN|FR | #rstats | #econsky
Reposted by econmaett
#rstats #rshiny #datascience #rstats #shinyapp #rpackagedevelopment #softwaretesting | Barret Schloerke
shinytest2 0.5.0 is Now Available on CRAN I'm excited to announce the release of shinytest2 0.5.0, bringing significant improvements to the R package testing experience for Shiny applications! 🚀 Key Features: Local Package Development Support One of the most requested features is here! `AppDriver$new(app_dir=)` now supports local package development. As long as you have `library()` or `require()` call in your `app.R`, `{shinytest2}` automatically executes `pkgload::load_all()` to load your local R package's source code. This means you no longer need to install your package before testing—a huge time-saver during development! Function Execution Support You can now pass functions directly to `AppDriver$new(app_dir=)`. This provides flexibility for testing apps with dynamic configurations or custom execution environments, such as Shiny packages made using `{golem}`! The function runs in a background R process, similar to `{mirai}`, with full control over the testing environment. Enhanced Package Testing Workflow This release introduces `local_app_support()` and `with_app_support()`, providing package authors with a flexible way to scope app support files within tests. Package authors can now test Shiny applications directly within their package's existing`{testthat}` tests removing the need for calling `test_app()`. This will collect all snapshots in a single location using the package's existing testing infrastructure. Improved Test Recording `record_test()` gained a `record_in_package` parameter that intelligently saves test files to the appropriate location—either in the package's `tests/testthat/` directory or relative to the app's test directory. When recording tests for apps inside packages, `local_app_support()` is automatically added to the testing code. Modernized HTTP Stack Migrated from `{httr}` to `{httr2}` for all HTTP requests, ensuring compatibility with modern R web tooling and better long-term maintenance. 📚 Learn More: - Package website: https://lnkd.in/dt9ZtezY - Use-package vignette: https://lnkd.in/dvv7VRXj - GitHub: https://lnkd.in/dF6rF3CB #rstats #rshiny #DataScience #RStats #ShinyApp #RPackageDevelopment #SoftwareTesting
www.linkedin.com
January 12, 2026 at 11:25 PM
Reposted by econmaett
It's a DS workshop by @andrew.heiss.phd, what more do you need to know? You should check it out #rstats #positron
TOMORROW! (Tuesday)
@andrew.heiss.phd is gonna be on the DS Lab showing us how he makes his life easier: #Positron extensions he loves, OS tools he uses, and #duckdb + Connections pane 👀

Bonus, we'll def share the "moving the activity bar" thing live, too 👏🏻

Register: pos.it/dslab
#rstats #databs
January 13, 2026 at 12:38 AM
Reposted by econmaett
Assuming for a moment the president has any kind of legal right to set credit card interest rates (lol), why haven’t we done this before? It’s because the consequence would be far fewer credit cards and much lower credit limits for the people who can still get them.
Hate credit card debt all you want, I won’t object. But I know one thing that’s worse, and it’s a massive nationwide credit contraction.

That’s what this would be, in the exceptionally remote event it’s ever implemented.
NEWSNATION: Why now are you for price controls?

SEN. ROGER MARSHALL: I think desperate times calls for desperate measures
January 12, 2026 at 11:37 PM
Reposted by econmaett
Really recommend checking out Hard Drugs if you are interested in global health
You can find all our other episodes here, including:

- ProteinMPNN and the AI tools that are changing drug development
- RFDiffusion and creating new proteins never seen in nature
- Will AI solve medicine?
- The history of vaccines
- The first cancer vaccine

Listen wherever you get your podcasts!
Hard Drugs
Hard Drugs is a show by Saloni Dattani and Jacob Trefethen about medical innovation: how to speed it up, how to scale it up, and how to make sure lifesaving tools reach the people who need them the mo...
harddrugs.worksinprogress.co
January 13, 2026 at 12:08 AM
Reposted by econmaett
Come see me talk about Positron and Raycast and all sorts of fun things to make your data analysis life better!
TOMORROW! (Tuesday)
@andrew.heiss.phd is gonna be on the DS Lab showing us how he makes his life easier: #Positron extensions he loves, OS tools he uses, and #duckdb + Connections pane 👀

Bonus, we'll def share the "moving the activity bar" thing live, too 👏🏻

Register: pos.it/dslab
#rstats #databs
January 12, 2026 at 11:06 PM
Reposted by econmaett
Hesitating very much to put this on the internet, but: any suggestions for guides for exploring Claude code for applied micro analysis (these days I mostly work on RCTs); primarily in R; not a current Github user (I'm open to changing); AND step-by-step from very beginning
January 12, 2026 at 10:53 PM
Reposted by econmaett
I mean, he’s not wrong
January 12, 2026 at 10:26 PM
Reposted by econmaett
I'm impressed I was so consistent with myself! I for sure thought I'd be inconsistent somewhere

Also I'm keen to see an analysis of the data - I did a bunch of reading on this area to inform some recommendations around probability number -> wording

This area is so interesting!
January 12, 2026 at 9:35 PM
Reposted by econmaett
i'm too lazy to update a powerpoint every month.

so i guess we're gonna learn how to work with xml in R so we can automate this sucker.

what lazy task is motivating you to learn new things today?
January 12, 2026 at 8:09 PM
Reposted by econmaett
#rstats tip: you probably don't realize how *slow* pmax() is.

Which is fine if speed doesn't matter, but I just profiled some maths code using Airy functions and numerical integration and stuff, and
n<-pmax(n,1)
was taking like a quarter of the time. You can use
n[n<1] <- 1
if that's all you need
January 12, 2026 at 10:30 PM
Reposted by econmaett
I've had this up in the top corner for the past couple days and I love it #rstats
January 12, 2026 at 8:00 PM
Reposted by econmaett
Too many significance tests!!

Made this little graphic for my #stats class, showing the various kinds of (N)HST and how interpreting confidence intervals can replace all of them.

Made with #rstats #ggplot (duh)
January 12, 2026 at 8:55 PM
Reposted by econmaett
I see a lot of econ/socsci Bluesky asking for AI starter advice. IMO the highest impact, low cost tweak to your workflow is training an AI to follow *your* coding/writing prefs & habits.

Literally, tell Claude: "Look at <XYZ dirs>. ID common themes, styles & conventions. Write them to a .md file."
January 12, 2026 at 9:14 PM
Reposted by econmaett
This is a pretty good idea
I see a lot of econ/socsci Bluesky asking for AI starter advice. IMO the highest impact, low cost tweak to your workflow is training an AI to follow *your* coding/writing prefs & habits.

Literally, tell Claude: "Look at <XYZ dirs>. ID common themes, styles & conventions. Write them to a .md file."
January 12, 2026 at 9:18 PM
Hesitating very much to put this on the internet, but: any suggestions for guides for exploring Claude code for applied micro analysis (these days I mostly work on RCTs); primarily in R; not a current Github user (I'm open to changing); AND step-by-step from very beginning
January 12, 2026 at 10:53 PM
Reposted by econmaett
Hesitating very much to put this on the internet, but: any suggestions for guides for exploring Claude code for applied micro analysis (these days I mostly work on RCTs); primarily in R; not a current Github user (I'm open to changing); AND step-by-step from very beginning
January 12, 2026 at 9:04 PM
Reposted by econmaett
Hesitating very much to put this on the internet, but: any suggestions for guides for exploring Claude code for applied micro analysis (these days I mostly work on RCTs); primarily in R; not a current Github user (I'm open to changing); AND step-by-step from very beginning
January 12, 2026 at 10:29 PM
Reposted by econmaett
I also experienced this and made a CLAUDE.md file last year to help with some of the basics, and @jeremy-data.bsky.social just turned it into Claude Skills! They're in his repo for now but plans to add them to Posit's public skills repo! github.com/jeremy-allen...
GitHub - jeremy-allen/claude-skills
Contribute to jeremy-allen/claude-skills development by creating an account on GitHub.
github.com
January 12, 2026 at 8:13 PM
Reposted by econmaett
I’m happy to share that the print version of Longitudinal Data Analysis Using R is now available on Amazon — designed for teaching, applied research, and self-study.

👉 www.amazon.com/Longitudinal...

#rstats #HigherEd #Statistics #LongitudinalData #SocialScience #Statistics
Longitudinal Data Analysis Using R
Amazon.com: Longitudinal Data Analysis Using R: 9798261825210: Cernat, Alexandru: Books
www.amazon.com
January 12, 2026 at 3:28 PM
Reposted by econmaett
i have the opposite problem where google thinks I need to hear from this dolt 🤦🏻‍♂️🤣
January 12, 2026 at 6:02 PM
Reposted by econmaett
This week on What's New in R:
✅ Data viz. on domestic terrorism trends by Stephen Ponce
✅ Ted Laderas introduces Databot, Positron’s AI-powered analysis tool
✅ {quanteda} package developed by Kenneth Benoit for analyzing qualitative text data

Read the issue: buff.ly/gUPhm9s

#rstats
January 12, 2026 at 4:03 PM
Reposted by econmaett
🎉 shinytest2 v0.5.0 is now on CRAN!

✨ AppDriver now auto-loads local packages - no more installing required!
🔧 Pass functions directly to AppDriver$new(app_dir=). Ex: Golem's run_app()
📦 New local_app_support() & with_app_support() helpers

rstudio.github.io/shinytest2/

#rstats #rshiny
January 12, 2026 at 4:11 PM
Reposted by econmaett
📚Coming soon: Chapters from our open-access book "Hello Data Science," based on our intro courses across three institutions!

📦 Today, we’re releasing the early version of the #rstats package with datasets. Find it on GitHub (on its way to CRAN): github.com/hellodata-sc...
January 12, 2026 at 4:16 PM