Nick Tierney

Nick Tierney

@njtierney.bsky.social

|| PhD Statistics | Research Software Engineer | Loves #rstats | Outdoors person | Coffee person | Photography person | Serial Hobbiest | he/him ||

612 Followers 185 Following 194 Posts Joined Feb 2025
1 month ago
Preview
CPU time xx times elapsed time Hi folks, I'm working on re-submitting {greta} onto CRAN after it was archived last year. (this PR: Address cran patch i792 by njtierney · Pull Request #793 · greta-dev/greta · GitHub) I keep running...

Have #rstats folks run into this issue before:

```
Check: re-building of vignette outputs, Result: NOTE
Re-building vignettes had CPU time 4.1 times elapsed time
```

I'm starting to go mildly insane trying to fix! If you happen to have a solution, let me know! at forum.posit.co/t/cpu-time-x...

3 0 2 1
1 month ago
Preview
Painting Skaven with oils - David Neuzerling My local wargaming club was hosting a Warhammer: Age of Sigmar Spearhead tournament with a twist: if you could paint your entire army between the time the tourn

Doing something a bit different this year. I’m writing blog posts that have nothing to do with code or corporate. Just a guy posting whatever he wants to his own website because that’s how the internet should be.

So here’s a post about painting Warhammer!

mdneuzerling.com/post/paintin...

22 2 2 1
2 months ago
Preview
forecast package v9 – Rob J Hyndman

After 9 years, I thought it was time for another major release of the forecast package for #rstats! New modelling functions, missing values now handled in ETS models, and a more consistent interface. robjhyndman.com/hyndsight/fo...

63 12 1 0
2 months ago

Thanks, @zeileis.org ! I really love the {colorspace} package - I might write a little standalone shiny app using these functions but just wanted to check before I went out and wrote it.

1 0 0 0
2 months ago

Before I go and try building this myself, is there a general colour palette assessment shiny app in #rstats? I love the apps in colorspace.r-forge.r-project.org/articles/hcl... by @zeileis.org et al. But I want to provide my own vectors of colours, and get the lovely assessment/example plots etc.

2 0 1 0
2 months ago

OK, thanks for this, Garrick! :)

1 0 0 0
2 months ago

Ah, thank you! I need to read the golem book next :)

2 0 0 0
2 months ago

Thanks, Barret!

0 0 0 0
2 months ago

#rstats raster logic without pixels, introducing {vaster} #GDAL

www.hypertidy.org/posts/2025-1...

9 4 0 0
3 months ago
Chapter 20 Packages | Mastering Shiny If you are creating a large or long-term Shiny app, I highly recommend that you organise your app in the same way as an R package. This means that you: Put all R code in the R/ directory. Write a...

Is there an #rstats best practices for including a shiny app in an R package? I see mastering-shiny.org/scaling-pack... by @hadley.nz and github.com/daattali/ddpcr by Dean Attali (couldn't find his handle!) - just curious on understanding best practices, bunding data, app, and the www folder etc.

11 3 5 0
3 months ago
Bookdown.org Sunset, January 31, 2026, over a stylized landscape with mountains and a lake.

📢 Announcement: We are sunsetting the bookdown.org public hosting service.

If you have #RStats docs on bookdown.org, please migrate them to a new platform by January 31, 2026, to maintain control over your content. (We recommend Posit Connect Cloud!)

Learn more: posit.co/blog/bookdown-org-sunset

5 10 1 2
3 months ago
John Fox: Books and Software

#rstats
It is with profound sadness I heard that my long-time friend and colleague, John Fox passed away this week.
He was the author of {car}, {effects}, {Rcmdr}, ... and numerous influential books. I will miss him greatly.
www.john-fox.ca

202 66 12 10
3 months ago

I remember John Fox as one of the most kind R Foundation #rstats members (ca. 2006-2023) giving wise and kind words often. The 1-1 interview he held with several of us, resulting in a useR!2008 pres and the article journal.r-project.org/articles/RJ-... It is sad to miss him. May he rest in peace!

24 5 3 0
3 months ago
Geordi LaForge rejecting this code

library(tidyverse)

penguins |>
  mutate(
    nice = glue::glue(
      "{species} on {island} Island ({body_mass} g)"
    )
  ) |>
  select(nice)
#>                                    nice
#> 1   Adelie on Torgersen Island (3750 g)
#> 2   Adelie on Torgersen Island (3800 g)
#> 3   Adelie on Torgersen Island (3250 g)


Geordi LaForge approving this code

library(tidyverse)

penguins |>
  mutate(
    nice = str_glue(
      "{species} on {island} Island ({body_mass} g)"
    )
  ) |>
  select(nice)
#>                                    nice
#> 1   Adelie on Torgersen Island (3750 g)
#> 2   Adelie on Torgersen Island (3800 g)
#> 3   Adelie on Torgersen Island (3250 g)

I don't know how I've missed it because it's *right on the documentation home page*, but if you use {glue} for nice string interpolation in #rstats and you have {stringr} loaded (likely through the tidyverse), you can use str_glue() instead of glue::glue() or loading library(glue) glue.tidyverse.org

101 15 4 0
7 months ago
Preview
WeRTogether-useR!2025Keynote We R Together Yanina Bellini Saibene useR! 2025 Duke University How to learn, use and improve a programming language as a community

1/

I had the honor of giving a keynote at #useR2025 🎉 at Duke University: “We R Together – How to learn, use, and improve a programming language as a community” 💜

Slides here 👉 docs.google.com/presentation...

Video here: www.youtube.com/live/CTTvTQ-...

#rstats #useR2025

25 12 1 1
3 months ago

Okay, so anyone here joining R Dev Day AUS (21st Nov 2025)?

#rstats #rdevday

3 1 1 0
3 months ago
Screenshot showing usage of usethis::browse_package(), usethis::browse_cran(), and usethis::browse_github().

I'm reminded of how handy the usethis::browse_*() functions are and thought I'd remind people they exist. Choose from a menu of links or go straight to CRAN or GitHub. #rstats

55 18 2 0
3 months ago

I agree with this! It maybe also depends on your user-base, and if the changes break existing code - would the changes break things? If so, you could consider a deprecation cycle or a separate function. If your user base is small, you could go up one version e.g., 1.0.0 --> 2.0.0, perhaps?

5 0 1 0
3 months ago

R dev friends -

I am updating a package that implements an analytical method. The update will mean a fundamental change in the outputs compared to the current version of the pkg (but is based on consult with experts).

5 1 4 1
4 months ago
Post image

#rstats fam -- is there any way to create something this in R? eg you can create the graphs separately and then stitch together it together like below?

7 1 5 0
4 months ago

OK nothing like proclaiming in a public space and then quickly finding solution 🤪 If anyone else is stuck on this, sf seems to not work with plotly. If you put your coords in as a df, and use geom_path to plot with geom_tile it renders (and saves output correctly with .png) #rstats soln next comment

11 2 3 0
4 months ago
Post image Post image

An #rstats mystery. Or maybe more #ggplot2. These histograms are generated with the exact same code and data. What has changed from R 4.5.1 to 4.5.2 that caused this change?

4 3 2 0
4 months ago

new #dplyr filtering function who dis 😍 meet filter_out()!

👍 GO PUT A THUMBS UP ON DAVIS'S TIDYUP THINGY ON GITHUB TO SHARE MY ENTHUSIASMMMM!! #rstats #databs

And, you know, provide your thoughts on this newly-proposed function if you have them 😌

63 9 6 1
4 months ago
Model is:

b3 <- scasm(
  y ~ s(x0, bs = "bs", k= k) + s(x1, bs = "sc", xt = "m+", k = k) +
         s(x2, bs = "bs", k = k) + s(x3, bs = "bs", k = k),
  family=poisson, bs=200
)

The second smooth `s(x1) is a shape constrained smooth with a positive monotonicity constraint (xt = "m+").

The `bs = 200` arguments uses 200 boostrap samples, which generates bootstrap distributions for each coefficient in the model. These bootstrap samples respect the shape constraints, while the usual +/- 2 SE credible intervals may not.

The uncertainty in the partial effects is shown by two credible interval bands; a dark blue central band is a 68% Bayesian credible interval, while the lighter blue outer interval is a 95% Bayesian credible interval.

The background of each panel is light grey with white grid lines, in a similar style to ggplot2's default theme.

A new release of the mgcv #RStats 📦 is out on CRAN and Simon Wood (U Edinburgh) has added some significant new features despite the small bump in version number:

🌟 scasm() for estimating GAMs with shape constrained smooths. Can be used with any family & smoothness selection is via the EFS method

97 24 3 5
4 months ago
Preview
tune version 2.0.0 A new version of tune brings significant updates for model tuning and parallel processing.

We've made a blog post about a new major version of the #rstats tune package! Two main changes: parallel processing frameworks and the ability to tune postprocessors.

tidyverse.org/blog/2025/11...

21 5 0 0
4 months ago
Preview
Please Avoid detectCores() in your R Packages The detectCores() function of the parallel package is probably one of the most used functions when it comes to setting the number of parallel workers to use in R. In this blog post, I’ll try to explai...

The detectCores() apocalypse is creeping up on us 👻🐛

As more people are getting access to 128+ CPU cores, code spinning up parallel cluster with detectCores() workers fails - not enough #RStats connections available

Friends, do *not* default to detectCores(), bc www.jottr.org/2022/12/05/a...

47 23 2 2
4 months ago
Preview
How to Analyze bluesky Posts and Trends with R - Storybench If all you're doing on bluesky is scrolling, liking and posting, then you're riding a bike with training wheels. Here are simple tools using its open-source skeleton.

There are a lot of great posts out there that aren't very highly ranked.

Don't rely on bluesky to find you great content; you can find it on your own! Here's how:

#Rstats via @northeasternu.bsky.social's Storybench

www.storybench.org/how-to-analy...

136 6 2 1
4 months ago

Oh. My. Gosh. Data Science Lab was SO FUN today! Just casually sharing screens to walk through settings live was incredible.

I'm gonna start a thread here of some of the stuff we shared/learned together as a community. Great stuff was shared by all! #databs #rstats #python

🧵 1/n

25 5 2 0
4 months ago
Map of Te Araroa Trail showing the 3000 km walking route through New Zealand from Cape Reinga in the north to Bluff in the south. The trail is depicted as a colored line indicating elevation changes, with deep blue representing sea level areas, transitioning through purple and pink to yellow at higher elevations up to 2000m. Two key landmarks are labeled: Tongariro Alpine Crossing at Red Crater (1861m) in the North Island, and Two Thumb Track at Stag Saddle (1934m) in the South Island. The trail winds along both islands, showing significant elevation variations throughout the journey.

Day 2: Lines #30DayMapChallenge

Sticking with walks of NZ, this time plotting the Te Araroa Trail, a 3000km hike that goes from the top of the North Island to the bottom of the South Island. #rstats

jenrichmond.github.io/maps/2025-11...

21 2 1 0
4 months ago
Post image

{brandthis} is ready to install. Try it and let me know if anything breaks: github.com/durraniu/bra...

Here's an example site that uses the generated _brand.yml and color palettes: dru.quarto.pub/brandthis-de...
#RStats

11 7 0 0