Skip to content

Commit

Permalink
Arregla errors lintr
Browse files Browse the repository at this point in the history
Conflicte d'estils entre lintr i styler en condicions d'if de multiples
línies.
  • Loading branch information
jmaspons committed Dec 3, 2024
1 parent 16bf668 commit 7196637
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion web/limits.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ execute:
```{r biblioteques}
suppressPackageStartupMessages(library(monitorOSM, quietly = TRUE))
# TODO: Sys.setlocale("LC_TIME", "ca_AD.UTF-8") # requereix configurar locale a gh action https://github.com/actions/runner-images/issues/762
# TODO: Sys.setlocale("LC_TIME", "ca_AD.UTF-8")
# requereix configurar locale a gh action https://github.com/actions/runner-images/issues/762
```

Última actualització: `r format(Sys.time(), "%a %d %b %Y - %X")`
Expand Down
11 changes: 6 additions & 5 deletions web/localitats.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ execute:
```{r biblioteques}
suppressPackageStartupMessages(library(monitorOSM, quietly = TRUE))
# TODO: Sys.setlocale("LC_TIME", "ca_AD.UTF-8") # requereix configurar locale a gh action https://github.com/actions/runner-images/issues/762
# TODO: Sys.setlocale("LC_TIME", "ca_AD.UTF-8")
# requereix configurar locale a gh action https://github.com/actions/runner-images/issues/762
```

Última actualització: `r format(Sys.time(), "%a %d %b %Y - %X")`
Expand All @@ -20,18 +21,18 @@ suppressPackageStartupMessages(library(monitorOSM, quietly = TRUE))
[BD de referència](https://github.com/OSM-Catalan/monitorOSM/blob/main/data-raw/loc_admin_centre_municipis.tsv)

```{r admin_centre municipis}
canvis_loc_admin_centre_municipis <- comprova_canvis_osm(
canvis_loc_capital_municipis <- comprova_canvis_osm(
loc_admin_centre_municipis[, setdiff(names(loc_admin_centre_municipis), c("regio", "comarca", "municipi"))],
centre = TRUE
)
canvis_html(canvis_loc_admin_centre_municipis)
canvis_html(canvis_loc_capital_municipis)
```

`r if(nrow(canvis_loc_admin_centre_municipis$comparison_df) > 0){"### Conjunts de canvis"}`

```{r localitats_admin_centre_municipis_canvis, results='asis'}
versio_canvis_loc_admin_centre_municipis <- cerca_versio_canvis(canvis_loc_admin_centre_municipis)
versio_canvis_html(versio_canvis_loc_admin_centre_municipis)
versio_canvis_loc_capital <- cerca_versio_canvis(canvis_loc_capital_municipis)
versio_canvis_html(versio_canvis_loc_capital)
```


Expand Down

0 comments on commit 7196637

Please sign in to comment.