-
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Currently, lessons in another language than English use English for the code chunk output.
You can see an example in the https://github.com/swcarpentry/r-novice-gapminder-es lesson:
Yet, in this situation, R is able to return the error message in Spanish, provided the LANGUAGE env var is set to es:
withr::with_language(
"es",
letters[-1:3]
)
#> Error in letters[-1:3]: solamente 0's pueden ser mezclados con subscritos negativosCreated on 2025-03-27 with reprex v2.1.1
Should sandpaper by default pick up the lang config setting and use it for the code chunk output?
I guess it mostly depends on which language users are expected to use in their system or IDE.
I'm not completely sure if this is only relevant for the R lessons, or all lessons.
Metadata
Metadata
Assignees
Labels
No labels