Skip to content

Commit

Permalink
Merge pull request #2 from certara/init_pkg
Browse files Browse the repository at this point in the history
Init pkg
  • Loading branch information
certara-jcraig authored Nov 29, 2023
2 parents 651b7d4 + 65c174f commit 03719f4
Show file tree
Hide file tree
Showing 19 changed files with 4,733 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
^.*\.Rproj$
^\.Rproj\.user$
^\.travis\.yml$
^data-raw$
.git
^cran-comments\.md$
^\..*\.swp$
^.*\.R\.tmp\.R$
^_config.yml$
^doc$
^Meta$
^LICENSE\.md$
^_pkgdown\.yml$
^docs$
^pkgdown$
^_pkgdown\.yml$
^\.github$
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
46 changes: 46 additions & 0 deletions .github/workflows/check-standard.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# R CMD check workflow
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: R-CMD-check

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'release'}

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

steps:
- uses: actions/checkout@v2

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

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

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

- uses: r-lib/actions/check-r-package@v2
with:
args: 'c("--no-manual", "--as-cran")'
error-on: '"error"'
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.Rproj.user
.Rhistory
.RData
.Ruserdata

53 changes: 53 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
Package: mlcov
Type: Package
Title: Machine learning application for covariate selection
Version: 0.0.1.9000
Authors@R: c(
person("Ayman", "Akil", email = "ayman.akil@certara.com",
role = c("aut")),
person("Ibtissem", "Rebai", email = "Ibtissem.Rebai@certara.com",
role = c("aut")),
person("Vincent", "Duval", email = "Vincent.Duval@certara.com",
role = c("aut")),
person("Anna", "Largajolli", email = "Anna.Largajolli@certara.com",
role = c("aut")),
person("James", "Craig", email = "james.craig@certara.com",
role = c("aut", "cre")),
person("Mike", "Talley", email = "mike.talley@certara.com",
role = c("aut")),
person("Certara USA, Inc.", role = c("cph","fnd"))
)
Description: Machine learning application for selection of covariate effects
URL: https://github.com/certara/mlcov
BugReports: https://github.com/certara/mlcov/issues
Depends:
R (>= 3.5.0),
caret,
SHAPforxgboost
Imports:
randomForest,
Boruta,
dplyr,
xgboost,
glmnet,
Metrics,
hrbrthemes,
Ckmeans.1d.dp,
BBmisc,
ggplot2,
GGally,
grid,
ggstance,
ggpubr,
gridExtra
Suggests:
knitr,
rmarkdown,
testthat (>= 3.0.0),
vdiffr (>= 1.0.0)
License: MIT + file LICENSE
LazyData: true
Encoding: UTF-8
VignetteBuilder: knitr
RoxygenNote: 7.2.3
Config/testthat/edition: 3
21 changes: 21 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Generated by roxygen2: do not edit by hand

export(MLCovSearch)
export(generate_residualsplots)
import(BBmisc)
import(Boruta)
import(Ckmeans.1d.dp)
import(GGally)
import(Metrics)
import(SHAPforxgboost)
import(caret)
import(dplyr)
import(ggplot2)
import(ggpubr)
import(ggstance)
import(glmnet)
import(grid)
import(gridExtra)
import(hrbrthemes)
import(randomForest)
import(xgboost)
Loading

0 comments on commit 03719f4

Please sign in to comment.