Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to rmarkdown documentation and added github pages with pkgdown #2

Merged
merged 1 commit into from
Feb 14, 2024
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
^.*\.Rproj$
^\.Rproj\.user$
^LICENSE\.md$
^README\.Rmd$
^_pkgdown\.yml$
^docs$
^pkgdown$
^\.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/github-pages-deploy-action@v4.5.0
with:
clean: false
branch: gh-pages
folder: docs
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
.Rhistory
.RData
.Ruserdata
docs
17 changes: 11 additions & 6 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
Package: ProTrackR
Type: Package
Title: Manipulate and Play 'ProTracker' Modules
Version: 0.3.8
Date: 2023-08-22
Authors@R: c(person("Pepijn", "de Vries", role =c("aut", "cre", "dtc"),
email = "pepijn.devries@outlook.com"))
Author: Pepijn de Vries [aut, cre, dtc]
Version: 0.3.9
Date: 2024-02-14
Authors@R: c(person("Pepijn", "de Vries", role = c("aut", "cre", "dtc"),
email = "pepijn.devries@outlook.com",
comment = c(ORCID = "0000-0002-7961-6646")))
Author:
Pepijn de Vries [aut, cre, dtc] (0000-0002-7961-6646)
Maintainer: Pepijn de Vries <pepijn.devries@outlook.com>
Description: 'ProTracker' is a popular music tracker to sequence
music on a Commodore Amiga machine. This package offers the
Expand All @@ -15,11 +17,14 @@ Description: 'ProTracker' is a popular music tracker to sequence
intends to contribute to this popularity and therewith
keeping the legacy of 'ProTracker' and the Commodore Amiga
alive.
License: GPL-3
License: GPL (>= 3)
LazyData: True
Depends: audio, lattice, signal, tuneR (>= 1.0)
Imports: graphics, methods, stats, utils, XML
Suggests: AmigaFFH (>= 0.2.0)
Encoding: UTF-8
RoxygenNote: 7.2.3
Roxygen: list(markdown = TRUE)
NeedsCompilation: no
URL: https://pepijn-devries.github.io/ProTrackR/, https:://www.github.com/pepijn-devries/ProTrackR/
BugReports: https://github.com/pepijn-devries/ProTrackR/issues
595 changes: 595 additions & 0 deletions LICENSE.md

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions NEWS → NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
ProTrackR v0.3.9 (Release date: 2023-02-14)
=============

* Added `pkgdown` website and README
* switched to RMarkdown mode for roxygen2 documentation

ProTrackR v0.3.8 (Release date: 2023-08-22)
=============

Expand Down
2 changes: 1 addition & 1 deletion ProTrackR.Rproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ LaTeX: pdfLaTeX
BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageRoxygenize: rd,collate,namespace
PackageRoxygenize: rd,collate,namespace,vignette