Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(glue): further fixes to deprecated glue behaviors #19

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: roxytypes
Title: Typed Parameter Tags for Integration with 'roxygen2'
Version: 0.1.1
Version: 0.1.2
Authors@R:
c(
person(
Expand Down Expand Up @@ -34,4 +34,4 @@ Enhances:
roxylint
Config/Needs/documentation:
roxylint
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# roxytypes v0.1.2

* Further fixes to `glue::glue` use, a continuation of the fixes in v0.1.1.
(@dgkf #18)

# roxytypes v0.1.1

* Updates use of `glue::glue`, which previously made use of
Expand Down
2 changes: 1 addition & 1 deletion R/tag_typed.R
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ roxy_tag_rd.roxy_tag_typed <- function(x, base_path, env) { # nolint
desc <- if (is.function(format)) {
do.call(format, append(list(x), x$val))
} else {
glue::glue(format, .envir = x$val)
glue::glue_data(.x = as.list(x$val), format)
}

# handle markdown-style formatting using roxygen2 internals
Expand Down
2 changes: 1 addition & 1 deletion R/tag_typedreturn.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ roxy_tag_rd.roxy_tag_typedreturn <- function(x, base_path, env) { # nolint
desc <- if (is.function(format)) {
do.call(format, append(list(x), x$val))
} else {
glue::glue(format, .envir = x$val)
glue::glue_data(.x = as.list(x$val), format)
}

# handle markdown-style formatting using roxygen2 internals
Expand Down
Loading