Skip to content

Commit

Permalink
rm apparently defunct regex replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
slager committed Sep 3, 2024
1 parent c48a95c commit 2a6f65d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions R/reproducibility_tables.R
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,6 @@ get_session_info <- function(){
my_session_info2$data.version[is.na(my_session_info2$data.version)] <- '' else
my_session_info2 <- my_session_info2[, -match('data.version', colnames(my_session_info2))]

# Replacing @ with # in source
my_session_info2$source <- gsub('\\(@', '(', my_session_info2$source)
# Use short git hash
# find '@' followed by 40 hex digits,
# and substitute with the '@' and the first 7 hex digits in ()-captured group.
Expand Down

0 comments on commit 2a6f65d

Please sign in to comment.