Skip to content

Commit

Permalink
Merge pull request #61 from selkamand/51-add-more-badges
Browse files Browse the repository at this point in the history
51 add more badges
  • Loading branch information
selkamand authored Oct 21, 2024
2 parents 8b39112 + 00ce89f commit 597fb3c
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 5 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# 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]
release:
types: [published]
workflow_dispatch:

name: pkgdown.yaml

permissions: read-all

jobs:
pkgdown:
runs-on: ubuntu-latest
# Only restrict concurrency for non-PR jobs
concurrency:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- uses: actions/checkout@v4

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

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
with:
clean: false
branch: gh-pages
folder: docs
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
URL: https://github.com/selkamand/gg1d
URL: https://github.com/selkamand/gg1d, https://selkamand.github.io/gg1d/
BugReports: https://github.com/selkamand/gg1d/issues
Imports:
assertions,
Expand Down
7 changes: 6 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ knitr::opts_chunk$set(
[![CRAN status](https://www.r-pkg.org/badges/version/gg1d)](https://CRAN.R-project.org/package=gg1d)
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![Codecov test coverage](https://codecov.io/gh/selkamand/gg1d/branch/master/graph/badge.svg)](https://app.codecov.io/gh/selkamand/gg1d?branch=master)
![GitHub Issues or Pull Requests](https://img.shields.io/github/issues-closed/user/package)
[![code size](https://img.shields.io/github/languages/code-size/user/package.svg)](https://github.com/selkamand/package)
![GitHub last commit](https://img.shields.io/github/last-commit/user/package)
<!-- badges: end -->

Effortlessly visualize all columns in a data frame with gg1d's vertically aligned plots and automatic plot selection based on variable type.
Expand Down Expand Up @@ -47,6 +50,8 @@ devtools::install_github("selkamand/gg1d")

## Quick Start

For examples of interactive gg1d plots see the [gg1d gallery](https://selkamand.github.io/gg1d/articles/gallery.html)

```{r, example, fig.width = 7, fig.height = 5}
# Load library
library(gg1d)
Expand Down Expand Up @@ -82,4 +87,4 @@ gg1d(
)
```

For more examples see the [gg1d gallery](https://selkamand.github.io/gg1d/articles/gallery.html)

12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ status](https://www.r-pkg.org/badges/version/gg1d)](https://CRAN.R-project.org/p
experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![Codecov test
coverage](https://codecov.io/gh/selkamand/gg1d/branch/master/graph/badge.svg)](https://app.codecov.io/gh/selkamand/gg1d?branch=master)
![GitHub Issues or Pull
Requests](https://img.shields.io/github/issues-closed/user/package)
[![code
size](https://img.shields.io/github/languages/code-size/user/package.svg)](https://github.com/selkamand/package)
![GitHub last
commit](https://img.shields.io/github/last-commit/user/package)
<!-- badges: end -->

Effortlessly visualize all columns in a data frame with gg1d’s
Expand Down Expand Up @@ -46,6 +52,9 @@ devtools::install_github("selkamand/gg1d")

## Quick Start

For examples of interactive gg1d plots see the [gg1d
gallery](https://selkamand.github.io/gg1d/articles/gallery.html)

``` r
# Load library
library(gg1d)
Expand Down Expand Up @@ -84,6 +93,3 @@ gg1d(
```

<img src="man/figures/README-customise_colours-1.png" width="100%" />

For more examples see the [gg1d
gallery](https://selkamand.github.io/gg1d/articles/gallery.html)

0 comments on commit 597fb3c

Please sign in to comment.