Description Usage Arguments Details Related Functions and Methods See Also Examples
View HTML rendering of matched DOIs htmlwidget to show how DOIs are matched in strings.
1 2 3 4 5 6 7 | view_doi_matches(string)
view_doi_matches_perline(string)
view_doi_matchesOutput(outputId, width = "100%", height = "100%")
renderView_doi_matches(expr, env = parent.frame(), quoted = FALSE)
|
string |
Input vector. Either a character vector, or something coercible to one. |
outputId |
output variable to read from |
width |
Must be a valid CSS unit (like |
height |
Must be a valid CSS unit (like |
expr |
An expression that generates an HTML widget (or a promise of an HTML widget). |
env |
The environment in which to evaluate |
quoted |
Is |
Highlighting DOIs matching the regular expression can help users troubleshoot their input, for example inside shiny apps.
view_doi_matches_perline
: Accepts only a scalar string, but retains linebreaks.
Helpful for showing matches from input widgets.
view_doi_matchesOutput
: Shiny output widget to show matched DOIs
renderView_doi_matches
: Shiny render function to show matched DOIs
Other doi:
doiEntry
,
doi_api
,
doi_examples()
,
doi_ra
,
doi()
,
regex_doi()
1 | view_doi_matches("lorem ipsum 10.1000/foo dolor ist 10.1000/bar")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.