Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ figure
^cran-comments\.md$
^\.httr-oauth$
^codemeta\.json$
^\.github$
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
49 changes: 49 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: R-CMD-check

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
92 changes: 0 additions & 92 deletions .github/workflows/R-check.yaml

This file was deleted.

24 changes: 15 additions & 9 deletions README.Rmd
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
gistr
=======
---
output: github_document
---

<!-- README.md is generated from README.Rmd. Please edit that file -->

```{r echo=FALSE}
```{r, include = FALSE}
knitr::opts_chunk$set(
comment = "#>",
collapse = TRUE,
warning = FALSE,
message = FALSE
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```

gistr
=======

<!-- badges: start -->
[![R-CMD-check](https://github.com/ropensci/gistr/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/ropensci/gistr/actions/workflows/R-CMD-check.yaml)
[![cran checks](https://cranchecks.info/badges/worst/gistr)](https://cranchecks.info/pkgs/gistr)
[![R-check](https://github.com/ropensci/gistr/workflows/R-check/badge.svg)](https://github.com/ropensci/gistr/actions/)
[![codecov.io](https://codecov.io/github/ropensci/gistr/coverage.svg?branch=master)](https://codecov.io/github/ropensci/gistr?branch=master)
[![rstudio mirror downloads](https://cranlogs.r-pkg.org/badges/gistr)](https://github.com/metacran/cranlogs.app)
[![cran version](https://www.r-pkg.org/badges/version/gistr)](https://cran.r-project.org/package=gistr)
<!-- badges: end -->

`gistr` is a light interface to GitHub's gists for R.

Expand Down Expand Up @@ -50,5 +58,3 @@ library("gistr")
* License: MIT
* Get citation information for `gistr` in R doing `citation(package = 'gistr')`
* Please note that this package is released with a [Contributor Code of Conduct](https://ropensci.org/code-of-conduct/). By contributing to this project, you agree to abide by its terms.

[![rofooter](https://ropensci.org/public_images/github_footer.png)](https://ropensci.org)
60 changes: 36 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,63 @@
gistr
=======

<!-- README.md is generated from README.Rmd. Please edit that file -->

# gistr

[![cran checks](https://cranchecks.info/badges/worst/gistr)](https://cranchecks.info/pkgs/gistr)
[![R-check](https://github.com/ropensci/gistr/workflows/R-check/badge.svg)](https://github.com/ropensci/gistr/actions/)
<!-- badges: start -->

[![R-CMD-check](https://github.com/ropensci/gistr/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/ropensci/gistr/actions/workflows/R-CMD-check.yaml)
[![cran
checks](https://cranchecks.info/badges/worst/gistr)](https://cranchecks.info/pkgs/gistr)
[![codecov.io](https://codecov.io/github/ropensci/gistr/coverage.svg?branch=master)](https://codecov.io/github/ropensci/gistr?branch=master)
[![rstudio mirror downloads](https://cranlogs.r-pkg.org/badges/gistr)](https://github.com/metacran/cranlogs.app)
[![cran version](https://www.r-pkg.org/badges/version/gistr)](https://cran.r-project.org/package=gistr)
[![rstudio mirror
downloads](https://cranlogs.r-pkg.org/badges/gistr)](https://github.com/metacran/cranlogs.app)
[![cran
version](https://www.r-pkg.org/badges/version/gistr)](https://cran.r-project.org/package=gistr)
<!-- badges: end -->

`gistr` is a light interface to GitHub's gists for R.
`gistr` is a light interface to GitHubs gists for R.

Get started with the docs: https://docs.ropensci.org/gistr
Get started with the docs: <https://docs.ropensci.org/gistr>

## See also:

* [gert](https://github.com/r-lib/gert) Simple git client for R by Jeroen Ooms
* [gistfo](https://github.com/MilesMcBain/gistfo) for turning your untitled RStudio tabs into gists!
* [git2r](https://github.com/ropensci/git2r) an R client for the libgit2 C library by Stefan Widgren
* [git2rdata](https://ropensci.github.io/git2rdata/) for storing data frames efficiently in git
- [git2r](https://github.com/ropensci/git2r) an R client for the
libgit2 C library by Stefan Widgren
- [gert](https://github.com/r-lib/gert) Simple git client for R by
Jeroen Ooms
- [gistfo](https://github.com/MilesMcBain/gistfo) for turning your
untitled RStudio tabs into gists!

## Install

Stable version from CRAN


```r
``` r
install.packages("gistr")
```

Or dev version from GitHub.


```r
``` r
remotes::install_github("ropensci/gistr")
```


```r
``` r
library("gistr")
#>
#> Attaching package: 'gistr'
#> The following objects are masked from 'package:stats':
#>
#> embed, update
```

## Meta

* Please [report any issues or bugs](https://github.com/ropensci/gistr/issues).
* License: MIT
* Get citation information for `gistr` in R doing `citation(package = 'gistr')`
* Please note that this package is released with a [Contributor Code of Conduct](https://ropensci.org/code-of-conduct/). By contributing to this project, you agree to abide by its terms.

[![rofooter](https://ropensci.org/public_images/github_footer.png)](https://ropensci.org)
- Please [report any issues or
bugs](https://github.com/ropensci/gistr/issues).
- License: MIT
- Get citation information for `gistr` in R doing
`citation(package = 'gistr')`
- Please note that this package is released with a [Contributor Code
of Conduct](https://ropensci.org/code-of-conduct/). By contributing
to this project, you agree to abide by its terms.
20 changes: 20 additions & 0 deletions gistr.Rproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Version: 1.0

RestoreWorkspace: Default
SaveWorkspace: Default
AlwaysSaveHistory: Default

EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX

AutoAppendNewline: Yes
StripTrailingWhitespace: Yes

BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source