Skip to content

Store and optionally access query status#285

Merged
eddelbuettel merged 5 commits intomasterfrom
de/ch9715/cache_query_status
Aug 17, 2021
Merged

Store and optionally access query status#285
eddelbuettel merged 5 commits intomasterfrom
de/ch9715/cache_query_status

Conversation

@eddelbuettel
Copy link
Copy Markdown
Contributor

This PR stores the query status result in the (existing) per-package environment (when using the default getter [ for arrays), and adds a getter to retrieve (which is handy when we do not directly construct the query object).

The status is also added as an attributed to the returned object.

Tests have been updated to test 'equivalence' (ignoring attributes and names) rather than equality of returned object and reference object (which will not have the query status attribute).

@shortcut-integration
Copy link
Copy Markdown

This pull request has been linked to Clubhouse Story #9715: Returned object does not carry query status result.

Copy link
Copy Markdown
Member

@aaronwolen aaronwolen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small typo in the docs but otherwise looks good!

Comment thread R/Query.R Outdated
@eddelbuettel eddelbuettel merged commit 1beb6c5 into master Aug 17, 2021
@eddelbuettel eddelbuettel deleted the de/ch9715/cache_query_status branch August 17, 2021 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants