Hugo Gruson

Results 152 issues of Hugo Gruson

`lintr::condition_call_linter()` will recommend the addition of `call.` even for custom conditions crafted with `errorCondition()` / `warningCondition()` when these don't support `call.=`. ``` r stop(errorCondition("stop right there!", class = "custom_error_condition")) #>...

I believe this should lint: ``` r lintr::lint(text = "x |> f()", linters = lintr::backport_linter("3.0.0")) ``` Created on 2024-07-22 with [reprex v2.1.1](https://reprex.tidyverse.org)

feature

This PR suggests the customisation of the [pkgdown reference index](https://mrc-ide.github.io/EpiEstim/) with custom sections. It should help users to find more easily the information they're looking for. You may disagree with...

Bug demo: ``` r library(pavo) data(flowers) canis.flowers Calculating noise-weighted Euclidean distances jnd_x 4.5170525 3.9266110 24.8100216 #> Xyris_operculata Eucalyptus_sp Faradaya_splendida #> 0.6461969 0.9980937 4.7972590 #> Gaultheria_hispida Geitonoplesium_cymosum Euryomyrtus_ramosissima #> 2.2628834 0.0000000...

Currently, the [update-cache.yaml](https://github.com/carpentries/sandpaper/blob/main/inst/workflows/update-cache.yaml) and [update-cache.yaml](https://github.com/carpentries/sandpaper/blob/main/inst/workflows/update-cache.yaml) workflows require a custom PAT: https://github.com/carpentries/sandpaper/blob/aacaff0a36b6636ba8de80c232ebdc7c3f579f48/inst/workflows/update-workflows.yaml#L52 https://github.com/carpentries/sandpaper/blob/aacaff0a36b6636ba8de80c232ebdc7c3f579f48/inst/workflows/update-cache.yaml#L98 But for the purpose of creating the pull requests, the default `GITHUB_TOKEN` token, provided in each GitHub Actions...

Developer QOL :construction_worker:

This is a quick proof of concept of how #644 could be fixed. I tested in on one of our Spanish lessons and it seems to work as expected.

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: https://github.com/swcarpentry/r-novice-gapminder-es/blob/e4735e1d6e735a222d24b6a4fb9cc776fda096f0/06-data-subsetting.md?plain=1#L220-L222 Yet, in this situation, R is...

Because they use the `.Rmd` file extension that GitHub doesn't know about. GitHub expects a `.md` extension for these files. Different fixes may be applied to different files: - Code...

Most of the files became obsolete during the switch to the workbench, or during the lesson redesign. One point I want to bring your attention on: https://github.com/datacarpentry/R-ecology-lesson/commit/4cbbf17d94d6aae53f499426e68d5d903e289939 overlaps with #919....

### What is the problem? They are a copy/paste of the instructions for macOS, but should be different: https://github.com/datacarpentry/R-ecology-lesson/blob/27402dcccd10a11aa5d078f20ea968895de6a174/learners/setup.md?plain=1#L57-L66 ### Location of problem (optional) setup.md