Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolepore committed Nov 3, 2024
1 parent 946c7f0 commit 99230eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions R/reference_package.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ reference_any <- function(doc) {
result <- tidy_reference(may_add_url(pick, url), strip_s3class)

if (!is.null(url_template)) {
result <- mutate(result, topic = paste0("<a href=", glue::glue(url_template), ">", .data$topic, "</a>")
)
result <- mutate(result, topic = paste0("<a href=", glue::glue(url_template), ">", .data$topic, "</a>"))
}

result
Expand Down
5 changes: 2 additions & 3 deletions vignettes/articles/pkgdoc.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ select(linked, topic)
You may generate a clickable table is with `knitr::kable()`.

```{r}
pick <- linked |>
select(topic, title, concept, package) |>
pick <- linked |>
select(topic, title, concept, package) |>
head()
pick |> knitr::kable(col.names = NULL)
Expand Down Expand Up @@ -60,7 +60,6 @@ custom_table <- function(data, search = "") {
dom = "fti", search = list(search = search)
)
)
}
```

Expand Down

0 comments on commit 99230eb

Please sign in to comment.