-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
213 changed files
with
17,545 additions
and
22,535 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,6 @@ | |
^cran-comments\.md$ | ||
^CRAN-SUBMISSION$ | ||
^revdep$ | ||
^python$ | ||
^python$ | ||
inst/doxygen | ||
^logo$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
--- | ||
name: Bug report or feature request | ||
name: Issue | ||
about: Describe a bug you've seen or make a case for a new feature | ||
--- | ||
|
||
Please briefly describe your problem and what output you expect. If you have a question, please don't use this form. Instead, ask on <https://stackoverflow.com/> or <https://community.rstudio.com/>. | ||
## Type | ||
|
||
Please include a minimal reproducible example (AKA a reprex). If you've never heard of a [reprex](http://reprex.tidyverse.org/) before, start by reading <https://www.tidyverse.org/help/#reprex>. | ||
- [ ] Bug report: write "[bug]" at the first of the title. | ||
- [ ] Feature request: write "[feature]" at the first of the title. | ||
- [ ] Documentation: write "[document]" at the first of the title. | ||
- [ ] Others | ||
|
||
Brief description of the problem | ||
## Languages | ||
<!-- Check every element related to your issue. --> | ||
|
||
```r | ||
# insert reprex here | ||
``` | ||
- [ ] C++: Header files in `inst/include` directory | ||
- [ ] R: R package files (including C++ codes in `src` directory). | ||
- [ ] Python: Files in `python` directory. | ||
|
||
## Description |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
name: Pull request | ||
about: Fix a bug, add a new feature, etc | ||
--- | ||
|
||
## Prerequisites | ||
|
||
- [ ] Ensure that this pull request targets the **develop** branch. | ||
- [ ] Aware that C++ header files are shared by both R and Python. | ||
- [ ] If the PR adds a new feature, write "[feature]" in the title. If it is a fix, write "[bugfix]". | ||
|
||
## Type | ||
|
||
- [ ] Bug fix: write "[bugfix]" at the first of the title. | ||
- [ ] New feature: write "[feature]" at the first of the title. | ||
- [ ] Documentation: write "[document]" at the first of the title. | ||
- [ ] Others | ||
|
||
## Languages | ||
|
||
- [ ] C++: Header files in `inst/include` directory | ||
- [ ] R: R package files (including C++ codes in `src` directory). | ||
- [ ] Python: Files in `python` directory. | ||
|
||
## Description |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
on: | ||
push: | ||
branches: [main, master, 'hotfix/*', 'release/*', develop] | ||
branches: [main, master, 'hotfix/*', 'release/*', develop, 'feature/*-withci'] | ||
pull_request: | ||
branches: [main, master, 'hotfix/*', 'release/*', develop] | ||
|
||
|
@@ -21,14 +21,16 @@ jobs: | |
- {os: macOS-latest, r: 'release'} | ||
|
||
- {os: windows-latest, r: 'release'} | ||
- {os: windows-latest, r: 'oldrel-4'} | ||
# rtools40's older compiler: R-4.0.0 to to R-4.1.3 | ||
- {os: windows-latest, r: '4.1'} | ||
|
||
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} | ||
- {os: ubuntu-latest, r: 'release'} | ||
- {os: ubuntu-latest, r: 'oldrel-1'} | ||
- {os: ubuntu-latest, r: 'oldrel-2'} | ||
- {os: ubuntu-latest, r: 'oldrel-3'} | ||
- {os: ubuntu-latest, r: '3.6'} | ||
# add oldrel-4 in Spring 2025 | ||
# - {os: ubuntu-latest, r: 'oldrel-4'} | ||
|
||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -44,35 +46,10 @@ jobs: | |
r-version: ${{ matrix.config.r }} | ||
http-user-agent: ${{ matrix.config.http-user-agent }} | ||
use-public-rspm: true | ||
|
||
- name: Determine evaluate package version on Windows | ||
if: runner.os == 'Windows' | ||
run: | | ||
if ($Env:MATRIX_CONFIG_R -lt "4.0.0") { | ||
echo "[email protected]" >> $Env:GITHUB_ENV | ||
} else { | ||
echo "EVALUATE_PKG=evaluate" >> $Env:GITHUB_ENV | ||
} | ||
shell: pwsh | ||
|
||
- name: Determine evaluate package version on non-Windows | ||
if: runner.os != 'Windows' | ||
run: | | ||
if [ "${{ matrix.config.r }}" \< "4.0.0" ]; then | ||
echo "[email protected]" >> $GITHUB_ENV | ||
else | ||
echo "EVALUATE_PKG=evaluate" >> $GITHUB_ENV | ||
fi | ||
shell: bash | ||
|
||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: any::rcmdcheck, ${{ env.EVALUATE_PKG }} | ||
# extra-packages: > | ||
# any::rcmdcheck, | ||
# knitr=?ignore-before-r=4.0.0, | ||
# rmarkdown=?ignore-before-r=4.0.0, | ||
# testthat=?ignore-before-r=4.0.0 | ||
extra-packages: any::rcmdcheck | ||
needs: check | ||
|
||
# do not build vignettes in github actions check and ignore warnings | ||
|
@@ -84,7 +61,7 @@ jobs: | |
error-on: '"warning"' | ||
check-dir: '"check"' | ||
upload-snapshots: false | ||
upload-results: false | ||
upload-results: 'never' | ||
|
||
- name: Run check for CRAN | ||
uses: r-lib/actions/check-r-package@v2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Render doxygen to github page repo | ||
on: | ||
push: | ||
branches: [main, master, develop] | ||
pull_request: | ||
branches: [main, master] | ||
workflow_dispatch: | ||
|
||
name: doxygen | ||
|
||
jobs: | ||
doxygen: | ||
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 | ||
|
||
- name: Install Doxygen | ||
run: sudo apt-get install -y doxygen graphviz | ||
|
||
- name: Extract version number from DESCRIPTION | ||
run: | | ||
VERSION=$(grep '^Version:' DESCRIPTION | cut -d ' ' -f 2) | ||
sed -i "s|BVHAR_VERSION|${VERSION}|" inst/doxygen/Doxyfile | ||
- name: Render doxygen | ||
run: doxygen inst/doxygen/Doxyfile | ||
|
||
- name: Create .nojekyll | ||
run: sudo touch inst/doxygen/html/.nojekyll | ||
|
||
- name: Deploy to GitHub pages 🚀 | ||
if: github.event_name != 'pull_request' | ||
uses: JamesIves/[email protected] | ||
with: | ||
token: ${{ secrets.YGEUNKIM_PAGE_PAT }} | ||
repository-name: ygeunkim/ygeunkim.github.io | ||
clean: false | ||
branch: master | ||
folder: inst/doxygen/html | ||
target-folder: package/bvhar/cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.