Skip to content

rscontract

0.1.2

Generic implementation of the 'RStudio' connections contract

1packages depend
6.8Kdownloads / year
95.7%test coverage
13/13checks pass

Overview

About
Maintained by Nathan StephensFirst published 2019-10-063 releasesCRAN page ↗GitHub ↗

Provides a generic implementation of the 'RStudio' connection contract to make it easier for database connections, and other type of connections, opened via R packages integrate with the connections pane inside the 'RStudio' interactive development environment (IDE).

Install

Health

CRAN checks
13OK
Slowest check: 50 s · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.14
95.7%
Coverage · measured lines
100%
Documentation · exports
0
Dependencies · direct
Check history
  • OK2026-06-08
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-06-07
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 678 wordsVignettesNopkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
99%
Return-value docs
100%
References docs
0%

Downloads

6.8K
CRAN downloads in the past year
Rank #4,670 · ~19/day · ~568/mo
Daily download trend is not available in this view yet.
50930 days
2K90 days
6.8K1 year
Compare downloads with other packages →
Also on128 r2u31 autocran

Repository

Repository
22Stars
0Forks
1Open issues
0Open PRs
1Releases
26Commits
3Contributors
rrstudioconnections-pane
26 commits · Last activity 2020-12-15

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/rstudio/rscontract on 2026-07-19.

Continuous integration (1)
Travis CI
CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
Show all practices
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
1direct
3indirect

Code & Tests

Code Composition
R 462 (66%)Rd 241 (34%)
Code characteristics
Object systems
S34
Cyclomatic complexity
1.0 median / 7 max
Test cases
6 / 0.14 per code line

Test coverage

Line coverage

96%

Expression

93.1%

Tests / Examples

95.7% / 52% ex

Functions

25 7 exported

Complexity

1.8 avg / 7 max

Call network

25 nodes / 20 edges

Loading call graph…

Lowest coverage

25 functions
FunctionCycloCoverage
open_connection_contract260%
rscontract_close exp275%
rscontract_update exp275%
item_object690%
get_element792%
as_rscontract exp1100%

People & History

People (2)
Maintainer (1)
Author, Maintainer · added in 0.1.2
Authors (2)
Author, Maintainer · added in 0.1.2
Listed in earlier versions (1)
no longer listed · 0.1.1
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.2Latest
    2020-12-15 · current release · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.1
    2020-02-10 · diff ↗
  • 0.1.0
    2019-10-06
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-10-06
Total releases
3 / 7 yrs
License
GPL-3 OSI
Download size
507 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →