You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Nic Crane (Jira)" <ji...@apache.org> on 2021/09/03 11:00:00 UTC
[jira] [Updated] (ARROW-13888) [R] Rephrase docs for schema()'s
ellipses argument and rephrase error message
[ https://issues.apache.org/jira/browse/ARROW-13888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nic Crane updated ARROW-13888:
------------------------------
Priority: Minor (was: Major)
> [R] Rephrase docs for schema()'s ellipses argument and rephrase error message
> -----------------------------------------------------------------------------
>
> Key: ARROW-13888
> URL: https://issues.apache.org/jira/browse/ARROW-13888
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Reporter: Nic Crane
> Priority: Minor
> Labels: good-first-issue
>
> In the docs for {{schema()}}, the ellipses argument is documented as "named list of data types".
> However, if I create a schema using a named list, e.g.
>
> {code:java}
> share_schema <- schema(
> list(
> company = utf8(),
> price = float64(),
> date = date32()
> )
> )
> {code}
> I get the error: \{{Error: !is.null(nms <- names(.list)) is not TRUE }}
> We should:
> # Rephrase the documentation of that argument so it doesn't say to use a named list
> # Update the error message shown if a named list is supplied to be a little clearer about what the user has done wrong
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)