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

All domains #2

Merged
merged 15 commits into from
Jan 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
6 changes: 6 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
^\.github$
^_pkgdown\.yml$
^docs$
^pkgdown$
^.*\.Rproj$
^\.Rproj\.user$
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
30 changes: 30 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag.
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master

name: R-CMD-check

jobs:
R-CMD-check:
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@v1
- name: Install dependencies
run: |
install.packages(c("remotes", "rcmdcheck"))
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Check
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
shell: Rscript {0}
48 changes: 48 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
on:
pull_request:
branches:
- main
- dev

name: pkgdown

jobs:
pkgdown:
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-r@v1

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

- name: Query dependencies
run: |
install.packages('remotes')
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version")
shell: Rscript {0}

- name: Cache R packages
uses: actions/cache@v2
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-

- name: Install dependencies
run: |
remotes::install_deps(dependencies = TRUE)
install.packages("pkgdown", type = "binary")
shell: Rscript {0}

- name: Install package
run: R CMD INSTALL .

- name: Deploy package
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ vignettes/*.pdf
# R Environment Variables
.Renviron
.Rproj.user
docs
60 changes: 60 additions & 0 deletions R/adam.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
#' @title adam_adae
#' @description ADaM adae data frame
#' @format a data frame with 1191 rows and 55 columns. See \url{https://https://github.com/SafetyGraphics/safetyData/tree/main/data-raw/adam/README.md} for more details and full data specification
"adam_adae"


#' @title adam_adlbc
#' @description ADaM adlbc data frame
#' @format a data frame with 74264 rows and 46 columns. See \url{https://https://github.com/SafetyGraphics/safetyData/tree/main/data-raw/adam/README.md} for more details and full data specification
"adam_adlbc"


#' @title adam_adlbh
#' @description ADaM adlbh data frame
#' @format a data frame with 49932 rows and 46 columns. See \url{https://https://github.com/SafetyGraphics/safetyData/tree/main/data-raw/adam/README.md} for more details and full data specification
"adam_adlbh"


#' @title adam_adlbhy
#' @description ADaM adlbhy data frame
#' @format a data frame with 9954 rows and 43 columns. See \url{https://https://github.com/SafetyGraphics/safetyData/tree/main/data-raw/adam/README.md} for more details and full data specification
"adam_adlbhy"


#' @title adam_adqsadas
#' @description ADaM adqsadas data frame
#' @format a data frame with 12463 rows and 40 columns. See \url{https://https://github.com/SafetyGraphics/safetyData/tree/main/data-raw/adam/README.md} for more details and full data specification
"adam_adqsadas"


#' @title adam_adqscibc
#' @description ADaM adqscibc data frame
#' @format a data frame with 730 rows and 36 columns. See \url{https://https://github.com/SafetyGraphics/safetyData/tree/main/data-raw/adam/README.md} for more details and full data specification
"adam_adqscibc"


#' @title adam_adqsnpix
#' @description ADaM adqsnpix data frame
#' @format a data frame with 31140 rows and 41 columns. See \url{https://https://github.com/SafetyGraphics/safetyData/tree/main/data-raw/adam/README.md} for more details and full data specification
"adam_adqsnpix"


#' @title adam_adsl
#' @description ADaM adsl data frame
#' @format a data frame with 254 rows and 48 columns. See \url{https://https://github.com/SafetyGraphics/safetyData/tree/main/data-raw/adam/README.md} for more details and full data specification
"adam_adsl"


#' @title adam_adtte
#' @description ADaM adtte data frame
#' @format a data frame with 254 rows and 26 columns. See \url{https://https://github.com/SafetyGraphics/safetyData/tree/main/data-raw/adam/README.md} for more details and full data specification
"adam_adtte"


#' @title adam_advs
#' @description ADaM advs data frame
#' @format a data frame with 32139 rows and 34 columns. See \url{https://https://github.com/SafetyGraphics/safetyData/tree/main/data-raw/adam/README.md} for more details and full data specification
"adam_advs"


32 changes: 0 additions & 32 deletions R/clinical_trial_dataframe.R

This file was deleted.

Loading