Skip to content

Commit

Permalink
Merge pull request #58 from HenrikBengtsson/master
Browse files Browse the repository at this point in the history
Run 'R CMD check' via GitHub Actions
  • Loading branch information
egenn authored Sep 30, 2023
2 parents 71d4f99 + abe7b08 commit 4878b43
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 19 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ spark-warehouse
^_pkgdown\.yml$
^docs$
^pkgdown$
^\.github$
^codecov\.yml$
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
27 changes: 27 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on: [push, pull_request]

name: R-CMD-check

jobs:
R-CMD-check:
runs-on: ubuntu-latest

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v3

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

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
error-on: '"error"'
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: rtemis
Version: 0.95.7
Version: 0.95.8
Title: Machine Learning and Visualization
Date: 2023-09-29
Authors@R: person(given = "E.D.", family = "Gennatas", role = c("aut", "cre"), email = "gennatas@lambdamd.org", comment = c(ORCID = "0000-0001-9280-3609"))
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![R-CMD-check](https://github.com/egenn/rtemis/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/egenn/rtemis/actions/workflows/R-CMD-check.yaml)

# **_rtemis_** Machine Learning and Visualization

A platform for advanced Machine Learning research and applications.
Expand All @@ -18,7 +20,7 @@ R version 4.1 or higher

## Installation

Install `rtemis` usikg `pak`, `remotes`, or `devtools`:
Install `rtemis` using `pak`, `remotes`, or `devtools`:

```r
pak::pkg_install("egenn/rtemis")
Expand Down

0 comments on commit 4878b43

Please sign in to comment.