Skip to content

Commit

Permalink
make spacing uniform
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy committed Feb 13, 2024
1 parent 78854a3 commit 093022c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Imports:
haven,
piggyback,
R.utils,
sf,
sf
Suggests:
knitr,
rmarkdown,
Expand Down
8 changes: 4 additions & 4 deletions R/read_dictionary.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ read_dictionary <- function(city = "S\u00E3o Paulo",
odbr::metadata$language == language, ]) == 0) {
cli::cli_abort(c(
"There is no dictionary for:",

Check warning on line 44 in R/read_dictionary.R

View workflow job for this annotation

GitHub Actions / lint

file=R/read_dictionary.R,line=44,col=4,[indentation_linter] Indentation should be 6 spaces but is 4 spaces.

Check warning on line 44 in R/read_dictionary.R

View workflow job for this annotation

GitHub Actions / lint-project

file=R/read_dictionary.R,line=44,col=4,[indentation_linter] Indentation should be 6 spaces but is 4 spaces.
" - city: {city}",
" - year: {year}",
" - harmonized: {harmonize}",
" - language: {language}",
" " = " - city: {city}",
" " = " - year: {year}",
" " = " - harmonized: {harmonize}",
" " = " - language: {language}",
"i" = "Check the metadata object for available data."
))
}
Expand Down
24 changes: 12 additions & 12 deletions tests/testthat/_snaps/read_dictionary.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
Condition
Error in `read_dictionary()`:
! There is no dictionary for:
- city: Manaus
- year: 1977
- harmonized: FALSE
- language: pt
- city: Manaus
- year: 1977
- harmonized: FALSE
- language: pt
i Check the metadata object for available data.

---
Expand All @@ -18,10 +18,10 @@
Condition
Error in `read_dictionary()`:
! There is no dictionary for:
- city: São Paulo
- year: 1978
- harmonized: FALSE
- language: pt
- city: São Paulo
- year: 1978
- harmonized: FALSE
- language: pt
i Check the metadata object for available data.

---
Expand All @@ -31,9 +31,9 @@
Condition
Error in `read_dictionary()`:
! There is no dictionary for:
- city: São Paulo
- year: 1977
- harmonized: TRUE
- language: pt
- city: São Paulo
- year: 1977
- harmonized: TRUE
- language: pt
i Check the metadata object for available data.

0 comments on commit 093022c

Please sign in to comment.