Skip to content

Commit

Permalink
Merge pull request #1 from LAPKB/rust
Browse files Browse the repository at this point in the history
Rust
  • Loading branch information
Siel authored Dec 18, 2024
2 parents ee1b703 + 2490132 commit b3fbd79
Show file tree
Hide file tree
Showing 928 changed files with 31,981 additions and 388,864 deletions.
3 changes: 3 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ compile.*
^man-roxygen
^README\.Rmd$
logo.png
^vignettes/articles$
^Archived/
^src/\.cargo$
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: R Package Check

on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]

jobs:
build:
runs-on: macos-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetch all history for all tags and branches

- name: Setup R
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true # Use RStudio's public package manager for faster installs

- name: Install R package dependencies
run: |
Rscript -e "install.packages('remotes')"
Rscript -e "remotes::install_deps(dependencies = TRUE)"
- name: Check package
run: |
R CMD build .
R CMD check *tar.gz
8 changes: 4 additions & 4 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

Expand All @@ -32,7 +32,7 @@ jobs:

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

- name: Build site
Expand All @@ -41,8 +41,8 @@ jobs:

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
clean: false
branch: gh-pages
branch: dev
folder: docs
52 changes: 46 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,54 @@
.Rproj.user
# History files
.Rhistory
.Rapp.history

# Session Data files
.RData
.RDataTmp

# User-specific files
.Ruserdata

# Example code in package build process
*-Ex.R

# Output files from R CMD build
/*.tar.gz

# Output files from R CMD check
/*.Rcheck/

# RStudio files
.Rproj.user/

# produced vignettes
vignettes/*.html
vignettes/*.pdf

# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
.httr-oauth

# knitr and R markdown default cache directories
*_cache/
/cache/

# Temporary files created by R markdown
*.utf8.md
*.knit.md

# R Environment Variables
.Renviron


# translation temp files
po/*~

# RStudio Connect folder
rsconnect/

# other
.DS_Store
Pmetrics.Rcheck/
#build
Archived
PACKAGES.gz
PACKAGES.rds
PMchangelog.html
Expand All @@ -15,16 +58,13 @@ src/registerDynamicSymbol.o
src/Pmetrics.dll
PmetricsGit.Rproj
inst/compiledFortran/
.DS_Store
src/symbols.rds
tests/testthat/Runs/
..Rcheck/
.vscode/
.Rd2pdf65996/
other/
.Rprofile
Examples
.Rdata
.httr-oauth
inst/rust/template/*
inst/options/PMoptions.json
Expand Down
1 change: 0 additions & 1 deletion .nojekyll

This file was deleted.

1 change: 1 addition & 0 deletions Archived/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PmetricsManual
Loading

0 comments on commit b3fbd79

Please sign in to comment.