Skip to content

Commit

Permalink
logo
Browse files Browse the repository at this point in the history
  • Loading branch information
j-miszczyszyn committed Feb 17, 2024
1 parent 7cb268e commit 847de48
Show file tree
Hide file tree
Showing 9 changed files with 65 additions and 464 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
^pkgdown$
^.*\.Rproj$
^\.Rproj\.user$
^\.github$
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
48 changes: 48 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# 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

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
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
URL: https://j-miszczyszyn.github.io/KZZLcharts/
30 changes: 3 additions & 27 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ output: github_document
---

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

<img src="man/figures/logo.png" align="right" alt="" width="300" /> \#
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
Expand All @@ -25,31 +25,7 @@ The goal of KZZLcharts is to ...
You can install the development version of KZZLcharts from [GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("j-miszczyszyn/KZZLcharts")
```

## Example

This is a basic example which shows you how to solve a common problem:

```{r example}
library(KZZLcharts)
## basic example code
```

What is special about using `README.Rmd` instead of just `README.md`? You can include R chunks like so:

```{r cars}
summary(cars)
```

You'll still need to render `README.Rmd` regularly, to keep `README.md` up-to-date. `devtools::build_readme()` is handy for this.

You can also embed plots, for example:

```{r pressure, echo = FALSE}
plot(pressure)
<!-- # install.packages("devtools") -->
<!-- devtools::install_github("j-miszczyszyn/KZZLcharts") -->
```

In that case, don't forget to commit and push the resulting figure files, so they display on GitHub and CRAN.
421 changes: 0 additions & 421 deletions README.html

This file was deleted.

25 changes: 10 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,21 @@

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

<img src="man/figures/logo.png" align="right" alt="" width="300" /> \#

# KZZLcharts
<img src="man/figures/logo_KZZLcharts.png" align="right" alt="" width="300" /> \#

<!-- badges: start -->
<!-- badges: end -->

The goal of KZZLcharts is to ...
The goal of KZZLcharts is to

## Installation

You can install the development version of KZZLcharts from [GitHub](https://github.com/) with:
You can install the development version of KZZLcharts from
[GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("j-miszczyszyn/KZZLcharts")
<!-- # install.packages("devtools") -->
<!-- devtools::install_github("j-miszczyszyn/KZZLcharts") -->
```

## Example

This is a basic example which shows you how to solve a common problem:

``` r
library(KZZLcharts)
## basic example code
```

2 changes: 1 addition & 1 deletion _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
url: ~
url: https://j-miszczyszyn.github.io/KZZLcharts/
template:
bootstrap: 5

Binary file added man/figures/README-pressure-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 847de48

Please sign in to comment.