Skip to content

Commit

Permalink
Updates for public facing repo (#1)
Browse files Browse the repository at this point in the history
* plot fixes and updates

* all the updates

* install in readme from repo

* remove mac binary directive from readme

* date

* fix r cmd check note; exclude macos r cmd check
  • Loading branch information
saraemoore authored Nov 3, 2023
1 parent e348d5b commit 9771aca
Show file tree
Hide file tree
Showing 39 changed files with 1,072 additions and 303 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
^\.github$
^README.Rmd
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
45 changes: 45 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
on:
push:
branches: [main]
pull_request:
branches: [main]

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: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'release'}

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

steps:
- uses: actions/checkout@v3

- 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: any::rcmdcheck
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
31 changes: 31 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
### R ###

# History files
.Rhistory
.Rapp.history
Expand Down Expand Up @@ -37,3 +39,32 @@ vignettes/*.pdf

# R Environment Variables
.Renviron

### macOS ###

# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
10 changes: 7 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: SuperSelector
Title: Uses CV SuperLearner for Ensembled Feature Selection
Version: 0.0.10
Date: 2020-10-06
Version: 0.1.0
Date: 2023-11-02
Authors@R:
person(given = "Sara",
family = "Moore",
Expand All @@ -13,6 +13,7 @@ Depends:
R (>= 2.14.0)
Imports:
stats,
rlang,
dplyr,
magrittr,
purrr,
Expand All @@ -29,10 +30,13 @@ Imports:
simcausal,
MASS,
RColorBrewer
Remotes:
saraemoore/SLScreenExtra,
osofr/simcausal
Suggests:
FSelector
License: GPL-3
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.1
RoxygenNote: 7.2.3
6 changes: 6 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export(cutoff.val)
export(cvSLFeatureSelector)
export(cvSLVarImpPlot)
export(cvSLVarImpPlot2)
export(factor_to_indicator)
export(groupBySelectionSet)
export(makeLibArgNumeric)
export(plot_dag_proppr_data)
Expand All @@ -27,6 +28,7 @@ importFrom(MASS,mvrnorm)
importFrom(RColorBrewer,brewer.pal)
importFrom(SuperLearner,CV.SuperLearner)
importFrom(SuperLearner,recombineCVSL)
importFrom(dplyr,across)
importFrom(dplyr,arrange)
importFrom(dplyr,bind_cols)
importFrom(dplyr,bind_rows)
Expand Down Expand Up @@ -67,6 +69,7 @@ importFrom(purrr,map)
importFrom(purrr,map2)
importFrom(purrr,map_chr)
importFrom(reshape2,melt)
importFrom(rlang,.data)
importFrom(scales,brewer_pal)
importFrom(scales,percent)
importFrom(simcausal,DAG.empty)
Expand All @@ -77,6 +80,9 @@ importFrom(simcausal,simobs)
importFrom(stats,binomial)
importFrom(stats,gaussian)
importFrom(stats,median)
importFrom(stats,model.matrix)
importFrom(stats,plogis)
importFrom(stats,rnorm)
importFrom(stats,setNames)
importFrom(tibble,add_column)
importFrom(tibble,remove_rownames)
Expand Down
Loading

0 comments on commit 9771aca

Please sign in to comment.