@maelle@mastodon.social
@maelle@mastodon.social avatar

maelle

@maelle@mastodon.social

🧰 #Rstats / research software engineer.
🗒️ Blogger.
📦 Software review editor for https://fosstodon.org/@ropensci.
💜 #RLadies.
📈 PhD in statistics.
🍋 Nancy, France (let's say this emoji is a bergamot orange).

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

maelle, to random French
@maelle@mastodon.social avatar

TIL has a function called apropos(), in the {utils} package. 👀

https://stat.ethz.ch/R-manual/R-devel/library/utils/html/apropos.html

For instance since my .Rprofile loads {usethis}, apropos("^use_", ignore.case = FALSE) returns the names of many, many functions.

maelle, to random French
@maelle@mastodon.social avatar

Other life-changing tip for today: use pr_fetch() to check out the PR of a collaborator locally. 😌

https://usethis.r-lib.org/reference/pull-requests.html

maelle, to random French
@maelle@mastodon.social avatar

To make Git diffs of your Markdown-based documents easier to parse by humans, add a linebreak after each sentence / sentence part!

More on this: https://cirosantilli.com/markdown-style-guide/#line-wrapping

maelle, to random French
@maelle@mastodon.social avatar

Apropos of nothing 😇

"No feigning surprise" by @b0rk

https://jvns.ca/blog/2017/04/27/no-feigning-surprise/

maelle, to random French
@maelle@mastodon.social avatar

I received a physical copy of the "R Packages" book by @hadleywickham & @jennybryan yesterday! 📦 🎉

I was pleased to see that Maëlle Salmon recommends it. 😂 (I really do!)

You can also read it for free at https://r-pkgs.org/

Back cover of the "R Packages" book including this quote of myself "A stellar reference book for package development beginners as well as more experienced folks who are curious about the fantastic devtools ecosystem"

maelle, to random French
@maelle@mastodon.social avatar

Where to store assets for a Quarto website? 🤔

https://github.com/quarto-dev/quarto-cli/discussions/6876

maelle,
@maelle@mastodon.social avatar

@hrbrmstr Thanks!!

maelle, to random French
@maelle@mastodon.social avatar

New post: " functions that shorten/filter stuff: less is more"

  • For lists: purrr::compact(), purrr::keep(), purrr::discard()

  • For strings: stringr::str_subset(), stringr::str_squish()

  • For code: purrr::partial()

https://masalmon.eu/2023/08/31/three-shorten/

grrrck, to random
@grrrck@fosstodon.org avatar

TIL tools::showNonASCIIfile(), thank you @maelle!! Having actually combed through my code line by line in search of an offending non-ascii character, I’m grateful for this post!

https://masalmon.eu/2023/08/30/three-r-functions/

maelle,
@maelle@mastodon.social avatar

@grrrck 😀 In my case this week the offending character was a colon! I would never have found it.

maelle, to random French
@maelle@mastodon.social avatar

Seeing an error from package B in your package A's check results, when your package A doesn't have a direct dependency on B, and wondering where in the dependency tree of A B is? 😖

Don't be like me, use pak::pak_deps_explain() right away! It explains how a package depends on other packages. 👌

https://pak.r-lib.org/reference/pkg_deps_explain.html

maelle, to random French
@maelle@mastodon.social avatar

A bit rusty after vacation it seems: I remember reading about a fallacy where upon starting a new software for a given problem, at first one only experiences wins and therefore understimates the intricacies. I think there's a phrase for that? Did I read this in content by @jennybryan?

maelle, to random French
@maelle@mastodon.social avatar

New post! Reducing my for loop usage with purrr::reduce()

Add some disclaimer about learning out loud / still being a newbie. 😰

https://masalmon.eu/2023/07/26/reduce/

maelle, to random French
@maelle@mastodon.social avatar

📦 {babelquarto} helps creating and rendering multilingual online books. 📖 It was crucial for the translation of @rOpenSci dev guide!

After a FR, I extended {babelquarto} to Quarto websites.

I am not sure at all it's a good idea, vs using a tool with official multilingual support (Hugo?), or waiting for Quarto support. 😰 🤔

Thoughts?

Context:

maelle,
@maelle@mastodon.social avatar

@MickaelCanouil @rOpenSci Thanks for chiming in! Right, at worse it could show "everything one should not do" 😂

maelle, to random French
@maelle@mastodon.social avatar

New post! Three useful (to me) notions

🧮 nzchar()

🦖 The backports package and its README

🌱 The idea of coalescence

https://masalmon.eu/2023/07/24/basic-notions/

gvwilson, to random
@gvwilson@mastodon.social avatar

What is your favorite "CSS in one hour for experienced programmers who've never touched CSS" tutorial? (no, this is not a sub-toot - I really would like pointers to tutorials that move quickly and omit details that someone could pick up from Stack Overflow once they have a usable mental model of CSS)

maelle,
@maelle@mastodon.social avatar

@gvwilson not sure if it's in the exact scope of your question but I got a lot out of https://wizardzines.com/zines/css/

maelle, to random French
@maelle@mastodon.social avatar

If you need to use SPARQL in , you might enjoy @lvaudor's and my active* work on {glitter}, a DSL for SPARQL! ✨

In less fancy language, glitter helps you query wikidata and similar web APIs. 🔮

https://github.com/lvaudor/glitter/

*: Perfect time to report bugs! 😅

maelle,
@maelle@mastodon.social avatar

@Elendol @lvaudor what's your target API? always curious about use cases

maelle,
@maelle@mastodon.social avatar

@Elendol @lvaudor Cool, exploring the examples helped me fix a bug and discover something we might need to support

https://gist.github.com/maelle/9fb6a9c6676ccec796fff9e00ab82979

maelle, to random French
@maelle@mastodon.social avatar

From @rOpenSci's multilingual publishing project,

Multilingual books with {babeldown} and {babelquarto} 🌐 📖

https://docs.ropensci.org/babeldown/articles/quarto.html

Drmowinckels, to random
@Drmowinckels@fosstodon.org avatar

I woke up this morning thinking I wanted to make a GitHub bot ... Why was that the first thing I thought?

maelle,
@maelle@mastodon.social avatar
zkamvar, to random

Learn from my mistake: update your / periodically

maelle,
@maelle@mastodon.social avatar

@Drmowinckels @zkamvar @adamhsparks can we write testimonials for your work Zhian

maelle, to random French
@maelle@mastodon.social avatar

I was looking for the list of things that help formatting text, whose name starts with a dot: .pkg, .url...

I'm happy to report I now know the things are called classes, the list is in https://cli.r-lib.org/reference/inline-markup.html#classes

What I still don't know is wether one can implement custom classes (I'm making do with the existing ones, not a big problem).

maelle, to random French
@maelle@mastodon.social avatar

Come to @rOpenSci next Social Coworking and Office Hours!

📆 Tuesday July 4 14:00-16:00 CEST
👋 Hosted by me, facilitated by @steffilazerte

😎 Create/Update your 'Happy File'/'Brag Document'! 😎

A Happy File/Brag Document is a file where you list your big and small accomplishments!

Useful for
💭 Career reflection;
📋 Discussions with your manager;
🍵 Feeling better on a bad day.

You can also work on anything else!

More info: https://ropensci.org/events/coworking-2023-07/

maelle, (edited ) to random French
@maelle@mastodon.social avatar

New post on the @rOpenSci blog:

What does it mean to maintain an 📦 ?

An attempt to define what package maintenance entails, with a few tips.

https://ropensci.org/blog/2023/02/07/what-does-it-mean-to-maintain-a-package/

maelle,
@maelle@mastodon.social avatar

@MikeMahoney218 @steffilazerte @rOpenSci and now we've blogged about help-wanted issues in particular! https://ropensci.org/blog/2023/09/19/help-wanted/

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