Skip to content

Commit

Permalink
Merge branch 'main' into setup-r-dependencies@main
Browse files Browse the repository at this point in the history
  • Loading branch information
m7pr authored Dec 10, 2024
2 parents ac9cc49 + c02c04d commit 61858ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Type: Package
Package: teal.slice
Title: Filter Module for 'teal' Applications
Version: 0.5.1.9017
Date: 2024-12-04
Version: 0.5.1.9018
Date: 2024-12-10
Authors@R: c(
person("Dawid", "Kaledkowski", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-9533-457X")),
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# teal.slice 0.5.1.9017
# teal.slice 0.5.1.9018

### Enhancements

Expand Down
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ make_c_call <- function(choices) {
sanitize_id <- function(id) {
pattern_escape <- "[^0-9A-Za-z_]"

id_new <- gsub(pattern_escape, "_", id)
id_new <- gsub(pattern_escape, "_", id, perl = TRUE)
hashes <- vapply(id[id != id_new], rlang::hash, character(1), USE.NAMES = FALSE)

id[id != id_new] <- paste0("h", substr(hashes, 1, 4), "_", id_new[id != id_new])
Expand Down

0 comments on commit 61858ea

Please sign in to comment.