Skip to content

Commit

Permalink
refactor: simplify apply() call to obey lintr
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Jul 1, 2024
1 parent 2003a2e commit 4593911
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions R/layers.R
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,7 @@ namespace_layer_names <- function(wfs, layers) {
info$layer_name %in% layers,
c("layer_namespace", "layer_name")
] %>%
apply(1L, FUN = function(x) {
paste0(x, collapse = ":")
})
apply(1L, FUN = paste0, collapse = ":")
}

get_layer_format <- function(layer, wfs) {
Expand Down

0 comments on commit 4593911

Please sign in to comment.