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

CI/CD Updates #8

Merged
merged 12 commits into from
Aug 16, 2024
Merged
9 changes: 9 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
^\.github$
^metadata\.yaml$
^.*\.Rproj$
^\.Rproj\.user$
^_pkgdown\.yml$
^docs$
^pkgdown$
^.*\.{jpeg,png,gif,tiff}$
.cicd-env
1 change: 1 addition & 0 deletions .cicd-env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VALIDATE_R="false"
21 changes: 21 additions & 0 deletions .github/workflows/CICD-base.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: CICD-base

on:
- push
- pull_request

jobs:
CICD-base:
runs-on: ubuntu-latest

timeout-minutes: 15

steps:
# Checkout codebase
- name: Checkout
uses: actions/checkout@v2

# Run CICD-base
- name: CICD-base
uses: docker://ghcr.io/uclahs-cds/cicd-base:latest
23 changes: 23 additions & 0 deletions .github/workflows/r-cmd-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: R-CMD-check (r-lib)
'on':
workflow_dispatch:
pull_request:
branches:
- main
push:
branches:
- main
schedule:
- cron: '0 0 * * MON'
jobs:
R-CMD-check:
runs-on: ubuntu-latest
steps:
- uses: r-lib/actions/setup-tinytex@v2
- name: Install LaTeX packages
run: |
tlmgr install \
mathpazo \
pgf
- uses: uclahs-cds/tool-R-CMD-check-action@stable
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# System files
*.DS_Store

# R
.Rhistory
.Rapp.history
.RData
*.Rproj*
.Rproj.user
6 changes: 4 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: iSubGen
Title: Integrative Subtype Generation
Version: 1.0.0
Date: 2021-04-07
Version: 1.0.2
Date: 2023-11-06
Author: Natalie Fox
Maintainer: Natalie Fox <nfox@mednet.ucla.edu>
Description: Multi-data type subtyping, which is data type agnostic and accepts missing data. Subtyping is performed using intermediary assessments created with autoencoders and similarity calculations.
Expand All @@ -10,3 +10,5 @@ Imports: ConsensusClusterPlus, cluster (>= 1.14.4), keras, tensorflow, philentro
Suggests: knitr, rmarkdown
VignetteBuilder: knitr
License: GPL-2
URL: https://github.com/uclahs-cds/package-iSubGen
BugReports: https://github.com/uclahs-cds/package-iSubGen/issues
15 changes: 15 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
iSubGen 1.0.2 2023-11-06

ADDED
* CI/CD actions to test code style and run standard R package checks
* Standard metadata files for development

--------------------------------------------------------------------------
iSubGen 1.0.1 2021-04-15


--------------------------------------------------------------------------
iSubGen 1.0.0 2021-04-07

ADDED
* Initial release
8 changes: 8 additions & 0 deletions metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
Category: 'tool'
Description: 'Multi-data type subtyping, which is data type agnostic and accepts missing data. Subtyping is performed using intermediary assessments created with autoencoders and similarity calculations.'
Maintainers: 'pboutros@mednet.ucla.edu'
Contributors: ['Natalie Fox', 'Paul C. Boutros']
Languages: 'R'
Dependencies: ['ConsensusClusterPlus', 'cluster', 'keras', 'tensorflow', 'philentropy']
References: ''