You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for help(glue::glue) doesn't have a Value section explicitly saying what is returned.
Currently an object of multiple class "glue" and "character" is returned, but I see no documentation on the "glue" class. The only obvious functionality is it makes glued results appear without vector labels or quotation marks:
> gs = glue::glue("{sample(letters)}")
> gs
a
e
o
x
y
[etc]
which is clearly less friendly than printing as characters, as you'd get if paste()-ing chars or as you get when converting glue to character with as.character or unclass, when it all fits on a couple of lines, shows the index position, and shows these things are quoted character strings:
Presentation of the class via print.glue aside, the return value ought to be specified in the help and the class should be documented so people who want to use these classes have an interface they can work with.
The text was updated successfully, but these errors were encountered:
The documentation for
help(glue::glue)
doesn't have aValue
section explicitly saying what is returned.Currently an object of multiple class "glue" and "character" is returned, but I see no documentation on the "glue" class. The only obvious functionality is it makes glued results appear without vector labels or quotation marks:
which is clearly less friendly than printing as characters, as you'd get if paste()-ing chars or as you get when converting glue to character with as.character or unclass, when it all fits on a couple of lines, shows the index position, and shows these things are quoted character strings:
Presentation of the class via print.glue aside, the return value ought to be specified in the help and the class should be documented so people who want to use these classes have an interface they can work with.
The text was updated successfully, but these errors were encountered: