Skip to content

Commit

Permalink
news and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-masel committed Mar 27, 2024
1 parent d2a4e5c commit 84e2cb9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: logrx
Title: A Logging Utility Focus on Clinical Trial Programming Workflows
Version: 0.3.0
Version: 0.3.1
Authors@R:
c(
person(given = "Nathan",
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

# logrx 0.3.1

- Hotfix to update used and unapproved packages and functions writing (#218)

# logrx 0.3.0

- Moved website theme to bootstrap 5, enabled search (#179)
Expand Down
4 changes: 2 additions & 2 deletions R/writer.R
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ write_used_functions <- function(){

combined <- used_functions_list %>%
group_by(library) %>%
summarize(function_name = paste0(function_name, collapse = ", "))
summarize(function_name = paste0(.data[[function_name]], collapse = ", "))

map2(combined$library, combined$function_name, ~paste(paste0("{", .x, "}"), paste0(.y, collapse = ", "))) %>%
unname() %>%
Expand Down Expand Up @@ -188,7 +188,7 @@ write_unapproved_functions <- function(){

combined <- unapproved_functions_list %>%
group_by(library) %>%
summarize(function_name = paste0(function_name, collapse = ", "))
summarize(function_name = paste0(.data[[function_name]], collapse = ", "))

map2(combined$library, combined$function_name, ~paste(paste0("{", .x, "}"), paste0(.y, collapse = ", "))) %>%
unname() %>%
Expand Down

0 comments on commit 84e2cb9

Please sign in to comment.