'GraphQL' Server in R
Overview
Server implementation of 'GraphQL' http://spec.graphql.org/, a query language originally created by Facebook for describing data requirements on complex application data models. Visit https://graphql.org to learn more about 'GraphQL'.
Breaking changes
execute_request()now requiresoperation_name,variables, andinitial_valueto be named arguments, as...has been added ahead of these parameters (#11).server()now requireslogandinitial_valueto be named arguments, as...has been added ahead of these parameters (#11).server()'s/route now redirects to/graphiqlonly whengraphiql = TRUE(#11).
New features
execute_request()gains averbose_errorsargument. WhenTRUE, error-like messages are displayed in real time. By default, this isTRUEwhen run interactively (#11).
Show all changes in 0.1.0Hide the rest of the changes in 0.1.0
server()now supports GraphiQL, an interactive GraphQL IDE. To view the GraphiQL interface, rungqlr::server(MY_SCHEMA, graphiql = TRUE)and visithttp://localhost:8000/graphiql/. By default, GraphiQL support is only enabled when run interactively (#11).
Bug fixes and minor improvements
- The
pryrpackage dependency has been removed, as the package is being archived. Required functions (modify_lang(),make_function(),unenclose(),substitute_q()) have been copied into the package (#16). - Introspection now correctly returns
subscriptionTypeasNULLto indicate that subscriptions are not supported (#11). - Mutation execution now correctly uses the mutation operation for validation, rather than incorrectly using the query operation (#9).
- The
__typenamemeta field is no longer attached to object structures (#11).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- WARNING12 OK, 1 WARNING2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 7
- Examples that run
- 60%3 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 71%
- Documented parameters
- 100%
- Return-value docs
- 14%
- Help pages citing references
- 14%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 143
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
9 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/schloerke/gqlr on 2026-10-18.
Show all practicesHide 2 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2025-12-22Seen in the repository: CLAUDE.mdNamed in .Rbuildignore: .claude, CLAUDE.mdNamed in .gitignore: .claude
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.1.0Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- unarchivedReturned to CRAN2019-12-02
- 0.0.2
- archivedRemoved from CRAN2019-11-29check errors were not corrected in time
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 0.0.12017-06-07
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-06-07
- Total releases
- 3 / 9 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.2.2
- Download size
- 878 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("gqlr")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.