@jonthegeek@fosstodon.org avatar

jonthegeek

@jonthegeek@fosstodon.org

Executive Director of https://fosstodon.org/@R4DSCommunity

Interested in (almost) all things #RStats.

Views are mine.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

jonthegeek, to javascript
@jonthegeek@fosstodon.org avatar

I'm extremely saddened to read that Women Who Code is closing (https://womenwhocode.com/blog/the-end-of-an-era-women-who-code-closing). My heart goes out to everyone impacted by this situation, and everyone who would have been impacted by their initiatives.

We can't replace them, but we welcome anyone looking for a friendly, inclusive community to join us at the Data Science Learning Community (@DSLC) https://DSLC.io

jonthegeek, to random
@jonthegeek@fosstodon.org avatar

I'm once again returning to some code that I keep having to set aside (and/or I get overwhelmed and choose to set it aside). Today's goal: Find an actual (~smaller than originally planned) stopping point and MERGE THIS ALREADY GAH! It's waaaaay too hard to pick this back up right now.

jonthegeek,
@jonthegeek@fosstodon.org avatar

SUCCESS! I cleaned things up and merged the old work!

Now I'm starting a new, much SMALLER PR for the next SMALL piece of work 🙃

jonthegeek,
@jonthegeek@fosstodon.org avatar

@Drmowinckels it did! And I finished a thing that's been haunting me since October or so 😁

jonthegeek,
@jonthegeek@fosstodon.org avatar

@Drmowinckels this is for a milestone on an ISC grant. I have a separate block of work to do before submitting the invoice, but it's finally within sight 😁

jonthegeek,
@jonthegeek@fosstodon.org avatar

@Drmowinckels we'll see how that new pr (or collection of PRs) goes today, but yes, it's very nice to make progress!

yjunechoe, to random
@yjunechoe@fosstodon.org avatar

Just switched to rendering my pkg readme examples with {asciicast} to do justice to the countless hours I put into making pretty print methods with {cli} 😊😊😊

https://github.com/yjunechoe/jlmerclusterperm

Readme example using asciicast to capture cli list bullets with original formatting

jonthegeek,
@jonthegeek@fosstodon.org avatar

@yjunechoe They're failing to render for me on the pkgdown site. The images load when I open them in a new tab, but I haven't dug deeper than that.

jonthegeek,
@jonthegeek@fosstodon.org avatar

@yjunechoe Ok, I dug SLIGHTLY deeper. Console is showing messages like this:
🚫 GET https://yjunechoe.github.io/jlmerclusterperm/man/figures/README-/setup-io-dark.svg 404 (Not Found)

jonthegeek, to random
@jonthegeek@fosstodon.org avatar

@Cmastication Dunno if you can see fosstodon's custom emoji over there on mastodon.social, but we have :amiga: and :anAmigaBall: 😍
(reminded me of when we first met at tidyverse dev day at rstudio::conf(2019))

gaborcsardi, to random
@gaborcsardi@fosstodon.org avatar

This is how httr2 and other packages use the base |> pipe in examples, and still support older R, including a clean R CMD check:
https://github.com/tidyverse/purrr/commit/426acdd50424b8cd6029d237c4d4e81d94ec42a6#diff-611496f412cac947be720d17a0ee6d7463221d14731fbc18244756271e8f5189

Ie. you need a configure (+ configure.win) file that creates an Rd macro on older R, that rewrites the examples with |>.
You'll also need Biarch: true in DESCRIPTION.

Clean R CMD check from R 3.6.x to R-4.4.x: https://github.com/r-lib/httr2/actions/runs/7548766508

jonthegeek, (edited )
@jonthegeek@fosstodon.org avatar

@gaborcsardi @sckottie I understand not using the magrittr pipe in package code, but, since the base pipe doesn't have runtime overhead, do you think it might become more prevelant in tidyverse package code after 4.5? I'm still being careful not to pipe in package code, but I'm not sure there will be a reason not to do so.

jonthegeek,
@jonthegeek@fosstodon.org avatar

@gaborcsardi @sckottie that too. Since |> is indestinguishable from nested calls in the ast, I can imagine it being used for readability without losing maintainability nor efficiency.

jonthegeek, to datascience
@jonthegeek@fosstodon.org avatar

🎂It's my birthday!🎂
To celebrate, I'm... Working to build a friendly, diverse community at https://r4ds.io, just like I do every day! It'd make my day if you supported our efforts at https://r4ds.io/donate !

tanya_shapiro, to random
@tanya_shapiro@fosstodon.org avatar

I know everyone is on the R + Python hype train...but I personally wanna see some R + JS mashup talks.

In any case, excited to see what's in store for posit::conf this year 🙂

jonthegeek,
@jonthegeek@fosstodon.org avatar
jonthegeek,
@jonthegeek@fosstodon.org avatar

@tanya_shapiro 😊 thanks for the kind words! I should watch it myself to see if I promised anything... 🙃

jonthegeek, to ukteachers
@jonthegeek@fosstodon.org avatar

I love education, and have worked in #EdTech for longer than I've been involved in #DataScience (and long before I heard of #RStats), but I don't have enough experience running workshops. If you're running an online #RStats workshop and could use a TA, I'm available! I read all the things (books/blogs/social media posts/learner questions/github repos/code) so I'm ready to answer questions, but I need more experience with the format!
Please pass this along to your networks!

jonthegeek,
@jonthegeek@fosstodon.org avatar

@kimcressman I had a hedge in that but didn't feel like I need to get into semantics in the initial post. Right now having the experience is really valuable to me, though, so I'm willing to help out for free in situations that make sense. If I find out someone is using my free labor instead of hiring someone they were planning to pay, though, we'll definitely have words. 😊

rOpenSci, to rstats Spanish
@rOpenSci@hachyderm.io avatar

rOpenSci Coworking and Office Hours coming up in an hour!

Today's Theme: Working with APIs with cohost @jonthegeek

Tuesday January 9th 14:00 European Central (13:00 UTC)

https://ropensci.org/events/coworking-2024-01


@rstats

jonthegeek,
@jonthegeek@fosstodon.org avatar

@Drmowinckels @rOpenSci @rstats check out the bookclub-wapir channel on r4ds.io/join for the about-to-begin weekly meetup to discuss the book I'm writing, Web APIs with R (https://wapir.io). Before/as I write the book I'm writing it in slide form at https://r4ds.io/wapir!

andrew, to random
@andrew@fediscience.org avatar

ahhhh this is so cool! Finally decided to play with #QuartoPub dashboards (https://quarto.org/docs/dashboards/ ) and ObservableJS to automatically grab data from multiple Google Sheets and plot/show the data. No need for Shiny or anything—refreshing the page gets the latest data!

jonthegeek,
@jonthegeek@fosstodon.org avatar

@andrew how hard was it to pick up the OJS to make this work? What prereqs did you already have covered that might make it take longer for someone else? I'm trying to decide if I should add this to my toolkit. It seems reallllllly likely, but I don't want to overcommit myself.

jonthegeek, to random
@jonthegeek@fosstodon.org avatar

Are you using to make a positive impact on society? I'm chairing the track at @appsilon's ! Submit your talk at https://sessionize.com/shiny-conf-2024/
I can't wait to see how you're using Shiny and to build communities, drive positive change, and foster diversity!

If you know somebody working in , make sure they see this!

barbone, to random

Reminder (to myself): reactive objects can return functions, which use other reactive object inside of them

jonthegeek,
@jonthegeek@fosstodon.org avatar

@grrrck @barbone I hadn't fully wrapped my mind around this particular option! No matter how much I dig into shiny, there's always something left that I hadn't thought of 🙃

jonthegeek,
@jonthegeek@fosstodon.org avatar

@barbone @grrrck oh ha that's right, I HAVE done this! The syntax triggered some old memories 🤣

jonthegeek, to random
@jonthegeek@fosstodon.org avatar

My most useful epiphany: modules are a convenient fiction. If you need a way to access a particular input from "inside" a module, there's nothing stopping you from making another module server function just for that. Or you can just NS() to get it, but it's cleaner if you wrap it up, and that generalizes out to more complex sets of functionality related to your module.

jonthegeek,
@jonthegeek@fosstodon.org avatar

@grrrck yeah, I have a whole bunch of things I want to refactor now! I have a couple more things to fix in my mental model before I do TOO much work, though, so I might have some questions on shiny discord in a bit 😊

jonthegeek,
@jonthegeek@fosstodon.org avatar

@grrrck Yeah, I guess the big epiphany was really "moduleServer() is just a wrapper to deal with namespacing, it's not doing anything magic!" I don't think that's really possible to understand until you get a handle on the fact that everything in the server function is being added to the same session, no matter where that session is. The non-functional nature makes it confusing when you're used to the rest of .

jonthegeek,
@jonthegeek@fosstodon.org avatar

@grrrck And after this conversation... I've realized the specific use-case I had in mind doesn't need anything extra; I really just need to return a single reactive after setting up observers and whatnot. It's still hard to grok "You can do the observer stuff but then ALSO return a value 'cuz the observers don't need to be 'returned' per se."

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • InstantRegret
  • magazineikmin
  • hgfsjryuu7
  • ngwrru68w68
  • Durango
  • Youngstown
  • ethstaker
  • slotface
  • khanakhh
  • rosin
  • PowerRangers
  • kavyap
  • DreamBathrooms
  • modclub
  • everett
  • thenastyranch
  • tacticalgear
  • osvaldo12
  • tester
  • cisconetworking
  • mdbf
  • vwfavf
  • cubers
  • GTA5RPClips
  • normalnudes
  • Leos
  • provamag3
  • All magazines