view_doi_matches: View HTML rendering of matched DOIs htmlwidget to show how...

Description Usage Arguments Details Related Functions and Methods See Also Examples

Description

View HTML rendering of matched DOIs htmlwidget to show how DOIs are matched in strings.

Usage

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)

Arguments

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 "100%", "400px", "auto") or a number, which will be coerced to a string and have "px" appended.

height

Must be a valid CSS unit (like "100%", "400px", "auto") or a number, which will be coerced to a string and have "px" appended.

expr

An expression that generates an HTML widget (or a promise of an HTML widget).

env

The environment in which to evaluate expr.

quoted

Is expr a quoted expression (with quote())? This is useful if you want to save an expression in a variable.

Details

Highlighting DOIs matching the regular expression can help users troubleshoot their input, for example inside shiny apps.

Related Functions and Methods

Functions

See Also

Other doi: doiEntry, doi_api, doi_examples(), doi_ra, doi(), regex_doi()

Examples

1
view_doi_matches("lorem ipsum 10.1000/foo dolor ist 10.1000/bar")

subugoe/biblids documentation built on Dec. 11, 2021, 6:55 a.m.