-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #165 from atorus-research/devel
0.3.0 Release to CRAN
- Loading branch information
Showing
180 changed files
with
4,948 additions
and
26,886 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
if (Sys.getenv("GITHUB_ACTIONS") == "") { | ||
source("renv/activate.R") | ||
} else { | ||
if (Sys.getenv("GITHUB_ACTIONS") != "") { | ||
options(repos = c(CRAN = "https://cran.rstudio.com")) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"image": "mcr.microsoft.com/devcontainers/universal:2", | ||
"features": { | ||
"ghcr.io/rocker-org/devcontainer-features/r-rig:1": {}, | ||
"ghcr.io/rocker-org/devcontainer-features/r-packages:1": { | ||
"packages": "dplyr,purrr,stringr,magrittr,glue,rlang,cli,tidyselect,readr,janitor,tm,haven,lifecycle,testthat,withr,knitr,rmarkdown,readxl,DT,labelled,admiral,devtools,spelling,usethis,lintr,metacore" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Check URLs 🔗 | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main, devel] | ||
|
||
jobs: | ||
links: | ||
name: Validate Links 🕸️ | ||
runs-on: ubuntu-latest | ||
if: > | ||
!contains(github.event.commits[0].message, '[skip links]') | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Check URLs in docs 📑 | ||
uses: lycheeverse/[email protected] | ||
with: | ||
fail: true | ||
jobSummary: true | ||
format: markdown | ||
output: links-results.md | ||
args: >- | ||
--exclude-private | ||
--exclude "https://github.com.*.git|lycheeverse.*" | ||
--verbose | ||
--no-progress | ||
**/*.md | ||
**/*.html | ||
**/*.Rmd | ||
**/*.yaml | ||
**/*.yml | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
name: Check Lint 🧹 | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main, devel] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
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::lintr, local::. | ||
needs: lint | ||
|
||
- name: Lint | ||
run: lintr::lint_package() | ||
shell: Rscript {0} | ||
env: | ||
LINTR_ERROR_ON_LINT: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Check Style 🎨 | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main, devel] | ||
|
||
concurrency: | ||
group: style-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
style: | ||
name: Check code style 🧑🎨 | ||
runs-on: ubuntu-latest | ||
if: > | ||
!contains(github.event.commits[0].message, '[skip stylecheck]') | ||
&& github.event.pull_request.draft == false | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
path: ${{ github.event.repository.name }} | ||
fetch-depth: 0 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- name: Install styler 🖌️ | ||
run: install.packages(c("styler", "knitr", "roxygen2"), repos = "https://cloud.r-project.org") | ||
shell: Rscript {0} | ||
|
||
- name: Run styler 🖼️ | ||
run: | | ||
detect <- styler::style_pkg(dry = "on") | ||
if (TRUE %in% detect$changed) { | ||
problems <- subset(detect$file, detect$changed == T) | ||
cat(paste("Styling errors found in", length(problems), "files\n")) | ||
cat("Please run `styler::style_pkg()` to fix the style\n") | ||
quit(status = 1) | ||
} | ||
shell: Rscript {0} | ||
working-directory: ${{ github.event.repository.name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
linters: linters_with_defaults( | ||
line_length_linter(120), | ||
object_usage_linter = NULL, | ||
object_name_linter = NULL, | ||
trailing_whitespace_linter(allow_empty_lines = TRUE, allow_in_strings = TRUE) | ||
) | ||
encoding: "UTF-8" | ||
exclusions: list() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Package: xportr | ||
Title: Utilities to Output CDISC SDTM/ADaM XPT Files | ||
Version: 0.2.0 | ||
Version: 0.3.0 | ||
Authors@R: | ||
c( | ||
person(given = "Eli", | ||
|
@@ -10,23 +10,39 @@ Authors@R: | |
comment = c(ORCID = "0000-0002-2127-9456")), | ||
person(given = "Vignesh ", | ||
family = "Thanikachalam", | ||
role = c("aut"), | ||
email = "[email protected]"), | ||
role = c("aut")), | ||
person(given = "Ben", | ||
family = "Straub", | ||
email = "[email protected]", | ||
role = "aut"), | ||
role = ("aut")), | ||
person(given = "Ross", | ||
family = "Didenko", | ||
email = "[email protected]", | ||
role = "aut"), | ||
role = ("aut")), | ||
person(given = "Zelos", | ||
family = "Zhu", | ||
email = "[email protected]", | ||
role = "aut"), | ||
role = ("aut")), | ||
person(given = "Ethan", | ||
family = "Brockmann", | ||
role = ("aut")), | ||
person(given = "Vedha", | ||
family = "Viyash", | ||
role = ("aut")), | ||
person(given = "Andre", | ||
family = "Verissimo", | ||
role = ("aut")), | ||
person(given = "Sophie", | ||
family = "Shapcott", | ||
role = ("aut")), | ||
person(given = "Celine", | ||
family = "Piraux", | ||
role = ("aut")), | ||
person(given = "Adrian", | ||
family = "Chan", | ||
role = ("aut")), | ||
person(given = "Sadchla", | ||
family = "Mascary", | ||
role = ("aut")), | ||
person(given = "Atorus/GSK JPT", | ||
role = "cph") | ||
) | ||
role = "cph")) | ||
Description: Tools to build CDISC compliant data sets and check for CDISC compliance. | ||
URL: https://github.com/atorus-research/xportr | ||
BugReports: https://github.com/atorus-research/xportr/issues | ||
|
@@ -42,7 +58,8 @@ Imports: | |
readr, | ||
janitor, | ||
tm, | ||
haven (>= 2.5.0) | ||
haven (>= 2.5.0), | ||
lifecycle | ||
License: MIT + file LICENSE | ||
Encoding: UTF-8 | ||
LazyData: true | ||
|
@@ -61,6 +78,8 @@ Suggests: | |
spelling, | ||
usethis, | ||
lintr, | ||
styler | ||
metacore | ||
Config/testthat/edition: 3 | ||
VignetteBuilder: knitr | ||
Depends: | ||
R (>= 3.5) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.