diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml
index 9887704..d5eebb9 100644
--- a/.github/workflows/pre-commit.yaml
+++ b/.github/workflows/pre-commit.yaml
@@ -14,7 +14,7 @@ jobs:
- name: Install system dependencies
if: runner.os == 'Linux'
run: |
- sudo apt-get install -y hunspell-ca libcurl4-openssl-dev
+ sudo apt-get install -y hunspell-ca libcurl4-openssl-dev proj-bin
- name: Set up Python
uses: actions/setup-python@v3
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 3406e43..85311ca 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -2,7 +2,7 @@
# R specific hooks: https://github.com/lorenzwalthert/precommit
repos:
- repo: https://github.com/lorenzwalthert/precommit
- rev: v0.4.3
+ rev: v0.4.3.9003
hooks:
- id: style-files
args: [--style_pkg=styler, --style_fun=tidyverse_style]
@@ -13,7 +13,6 @@ repos:
)$
- id: roxygenize
additional_dependencies:
- - git2r
- compareDF
- osmapiR
- osmdata
@@ -64,7 +63,7 @@ repos:
- id: no-debug-statement
- id: deps-in-desc
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.6.0
+ rev: v5.0.0
hooks:
- id: check-added-large-files
args: ['--maxkb=200']
diff --git a/DESCRIPTION b/DESCRIPTION
index ed78471..c1764b4 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -32,5 +32,5 @@ Language: ca
LazyData: true
LazyDataCompression: xz
Roxygen: list(markdown = TRUE)
-RoxygenNote: 7.3.1
+RoxygenNote: 7.3.2
X-schema.org-keywords: open street map, openstreetmap, OSM, topònims, monitor
diff --git a/data-raw/mars.R b/data-raw/mars.R
index 6545a94..9980005 100644
--- a/data-raw/mars.R
+++ b/data-raw/mars.R
@@ -58,6 +58,7 @@ q <- opq(bbox = c(xmin = -180, ymin = -90, xmax = 180, ymax = 90), osm_types = "
add_osm_feature(key = "place", value = c("ocean", "sea")) |>
add_osm_feature(key = "name")
# q <- opq_csv(q, fields = c(etiquetes, "::type", "::id"))
+
cat(opq_string(q))
mars <- osmdata_data_frame(q)
# mars <- mars[, sapply(mars, function(x) !all(is.na(x)))]
diff --git a/man/figures/logo.svg b/man/figures/logo.svg
index a236847..fa3697c 100644
--- a/man/figures/logo.svg
+++ b/man/figures/logo.svg
@@ -335,4 +335,4 @@ Catalan flag : wikimedia
010110010011010110010011
-
\ No newline at end of file
+
diff --git a/pkgdown/favicon/favicon.svg b/pkgdown/favicon/favicon.svg
index ecd4567..9d74fc2 100644
--- a/pkgdown/favicon/favicon.svg
+++ b/pkgdown/favicon/favicon.svg
@@ -336,4 +336,4 @@ Catalan flag : wikimedia
\ No newline at end of file
+
diff --git a/pkgdown/favicon/site.webmanifest b/pkgdown/favicon/site.webmanifest
index 4ebda26..ac9612c 100644
--- a/pkgdown/favicon/site.webmanifest
+++ b/pkgdown/favicon/site.webmanifest
@@ -18,4 +18,4 @@
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
-}
\ No newline at end of file
+}
diff --git a/web/limits.qmd b/web/limits.qmd
index 54e7934..a580f91 100644
--- a/web/limits.qmd
+++ b/web/limits.qmd
@@ -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")`
diff --git a/web/localitats.qmd b/web/localitats.qmd
index 268b479..91a3a00 100644
--- a/web/localitats.qmd
+++ b/web/localitats.qmd
@@ -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")`
@@ -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)
```