Skip to content

Commit

Permalink
To test lint GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviaAB committed Jan 11, 2024
1 parent 40df4e5 commit 56a256c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/data_import.R
Original file line number Diff line number Diff line change
Expand Up @@ -650,9 +650,9 @@ import_smetadata_csv_factory <- function(files,
)
}

res <- lapply(df, function(x) {
res <- lapply(df, function(x) { ## apply to each column
if (is.character(x)) {
## Detect if any non-ascii characters
## Detect if any non-ascii characters in column
non_ascii_indx <- which(stringr::str_detect(x, "[^[:ascii:]]"))

if (length(non_ascii_indx)) {
Expand Down

0 comments on commit 56a256c

Please sign in to comment.