dt_href: Wrap URL String in HTML href Tag

Description Usage Arguments Value

View source: R/dt_href.R

Description

Convenience function for adding hyperlinks in Rmarkdown tables, similar to kableExtra::cell_spec(x, link = x).

Usage

1
dt_href(x, sep = NULL)

Arguments

x

A character string of potentially many URLs. Should work for vectors too.

sep

A delimiter in case there are multiple URLs.

Value

HTML formatted href character string.


kbvernon/deseRt documentation built on May 27, 2020, 11:44 p.m.