diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml deleted file mode 100644 index 21e50fa5..00000000 --- a/.github/workflows/check-links.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Check URLs πŸ”— - -on: - push: - branches: - - main - pull_request: - branches: - - main - -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/lychee-action@v1.5.1 - 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 }} diff --git a/.github/workflows/check-standard.yaml b/.github/workflows/check-standard.yaml index 05c1b71c..b15acc93 100644 --- a/.github/workflows/check-standard.yaml +++ b/.github/workflows/check-standard.yaml @@ -1,21 +1,34 @@ +--- # Workflow derived from https://github.com/r-lib/actions/tree/master/examples # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help name: R-CMD-check πŸ“¦ on: + # 'push' events are triggered when commits + # are pushed to one of these branches push: branches: - main + tags: + - "v*" + # 'pull_request' events are triggered when PRs are + # created against one of these target branches. pull_request: + types: + - opened + - synchronize + - reopened + - ready_for_review branches: - main + # 'workflow_dispatch' gives you the ability + # to run this workflow on demand, anytime + workflow_dispatch: jobs: - R-CMD-check: - runs-on: ${{ matrix.config.os }} - + check: name: ${{ matrix.config.os }} (${{ matrix.config.r }}) - + runs-on: ${{ matrix.config.os }} strategy: fail-fast: false matrix: @@ -25,24 +38,29 @@ jobs: - { os: ubuntu-latest, r: "devel", http-user-agent: "release" } - { os: ubuntu-latest, r: "release" } - { os: ubuntu-latest, r: "oldrel-1" } - env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} R_KEEP_PKG_SOURCE: yes - + if: > + !contains(github.event.commits[0].message, '[skip checks]') steps: - - uses: actions/checkout@v3 + - name: Checkout repository πŸ›Ž + uses: actions/checkout@v4 - - uses: r-lib/actions/setup-pandoc@v2 + - name: Install Pandoc + uses: r-lib/actions/setup-pandoc@v2 - - uses: r-lib/actions/setup-r@v2 + - name: Setup R πŸ“Š + 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 + - name: Install R package dependencies πŸ“¦ + uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: rcmdcheck + extra-packages: any::rcmdcheck - - uses: r-lib/actions/check-r-package@v2 + - name: Run R CMD check 🎯 + uses: r-lib/actions/check-r-package@v2 diff --git a/.github/workflows/common.yaml b/.github/workflows/common.yaml new file mode 100644 index 00000000..15c84c01 --- /dev/null +++ b/.github/workflows/common.yaml @@ -0,0 +1,113 @@ +--- +name: xportr CI/CD Workflows + +on: + # 'push' events are triggered when commits + # are pushed to one of these branches + push: + branches: + - main + tags: + - "v*" + # 'pull_request' events are triggered when PRs are + # created against one of these target branches. + pull_request: + types: + - opened + - synchronize + - reopened + - ready_for_review + branches: + - main + # 'workflow_dispatch' gives you the ability + # to run this workflow on demand, anytime + workflow_dispatch: + +concurrency: + group: common-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +env: + R_VERSION: "release" + +jobs: + # Get R version from environmental variable + # and use it in downstream jobs + get_r_version: + name: Get R version + runs-on: ubuntu-latest + outputs: + r-version: ${{ steps.get_r_version.outputs.R_VERSION }} + steps: + - name: Get R Version for Downstream Container Jobs + id: get_r_version + run: echo "R_VERSION=$R_VERSION" >> $GITHUB_OUTPUT + shell: bash + + # Test code coverage of R Package + coverage: + name: Code Coverage + uses: pharmaverse/admiralci/.github/workflows/code-coverage.yml@main + if: > + github.event_name != 'release' + needs: get_r_version + with: + r-version: "${{ needs.get_r_version.outputs.r-version }}" + # Whether to skip code coverage badge creation + # Setting to 'false' will require you to create + # an orphan branch called 'badges' in your repository + skip-coverage-badges: true + + # Ensure that styling guidelines are followed + style: + name: Code Style + uses: pharmaverse/admiralci/.github/workflows/style.yml@main + if: github.event_name == 'pull_request' + needs: get_r_version + with: + r-version: "${{ needs.get_r_version.outputs.r-version }}" + + # Ensure there are no broken URLs in the package documentation + links: + name: Links + uses: pharmaverse/admiralci/.github/workflows/links.yml@main + if: github.event_name == 'pull_request' + + # Build the website and deploy to `gh-pages` branch + site: + name: Documentation + uses: pharmaverse/admiralci/.github/workflows/pkgdown.yml@main + if: github.event_name == 'push' || startsWith(github.ref, 'refs/tags/v') + needs: get_r_version + with: + r-version: "release" + skip-multiversion-docs: true + secrets: + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + + # Ensure there are no linter errors in the package + linter: + name: Lint + uses: pharmaverse/admiralci/.github/workflows/lintr.yml@main + if: github.event_name == 'pull_request' + needs: get_r_version + with: + r-version: "${{ needs.get_r_version.outputs.r-version }}" + + # Ensure there are no spelling errors in the package + spellcheck: + name: Spelling + uses: pharmaverse/admiralci/.github/workflows/spellcheck.yml@main + if: github.event_name == 'pull_request' + needs: get_r_version + with: + r-version: "${{ needs.get_r_version.outputs.r-version }}" + + # Bumps development version of the package + vbump: + name: Version Bump πŸ€œπŸ€› + if: github.event_name == 'push' + uses: insightsengineering/r.pkg.template/.github/workflows/version-bump.yaml@main + secrets: + REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} + diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml deleted file mode 100644 index 85e6a1b3..00000000 --- a/.github/workflows/lint.yaml +++ /dev/null @@ -1,34 +0,0 @@ -# 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 - -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 diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml deleted file mode 100644 index 967eb46d..00000000 --- a/.github/workflows/pkgdown.yaml +++ /dev/null @@ -1,48 +0,0 @@ -name: Deploy pkgdown site πŸ“œ - -on: - push: - branches: - - main - -jobs: - pkgdown: - runs-on: macOS-latest - env: - GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - steps: - - uses: actions/checkout@v3 - - - uses: r-lib/actions/setup-r@v2 - - - 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: Restore R package cache - 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") - remotes::install_github("warnes/SASxport", ref = "master") - shell: Rscript {0} - - - name: Install package - run: R CMD INSTALL . - - - name: Deploy package - run: | - git config --local user.email "actions@github.com" - git config --local user.name "GitHub Actions" - Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)' diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml deleted file mode 100644 index 5c7adb19..00000000 --- a/.github/workflows/spellcheck.yml +++ /dev/null @@ -1,63 +0,0 @@ -name: Check Spelling πŸ†Ž - -on: - workflow_dispatch: - push: - branches: - - main - pull_request: - branches: - - main - -concurrency: - group: spelling-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - roxygen: - name: Spellcheck πŸ”  - runs-on: ubuntu-20.04 - env: - GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - if: > - !contains(github.event.commits[0].message, '[skip spellcheck]') - && github.event.pull_request.draft == false - steps: - - name: Checkout repo πŸ›Ž - uses: actions/checkout@v3 - with: - persist-credentials: false - fetch-depth: 0 - - - name: Setup R πŸ“Š - uses: r-lib/actions/setup-r@v2 - with: - r-version: 4.1.3 - - - uses: actions/cache@v2 - if: startsWith(runner.os, 'Linux') - with: - path: ~/.local/share/renv - key: ${{ runner.os }}-renv-${{ hashFiles('**/renv.lock') }} - restore-keys: | - ${{ runner.os }}-renv- - - 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: Install system dependencies - if: runner.os == 'Linux' - run: | - while read -r cmd - do - eval sudo $cmd - done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "20.04"))') - - - name: Run Spellcheck πŸ‘Ÿ - uses: insightsengineering/r-spellcheck-action@v3 - with: - exclude: data/*,**/*.Rd,**/*.md,*.md - additional_options: "" diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml deleted file mode 100644 index 410da4b5..00000000 --- a/.github/workflows/style.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: Check Style 🎨 - -on: - push: - branches: - - main - pull_request: - branches: - - main - -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 }} diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml deleted file mode 100644 index 43ae648d..00000000 --- a/.github/workflows/test-coverage.yaml +++ /dev/null @@ -1,47 +0,0 @@ -name: Check Test Coverage πŸ§ͺ - -on: - push: - branches: - - main - pull_request: - branches: - - main - -jobs: - test-coverage: - runs-on: macOS-latest - env: - GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - steps: - - uses: actions/checkout@v3 - - - uses: r-lib/actions/setup-r@v2 - - - 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: Restore R package cache - 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: | - install.packages(c("remotes")) - remotes::install_deps(dependencies = TRUE) - remotes::install_cran("covr") - remotes::install_github("warnes/SASxport", ref = "master") - shell: Rscript {0} - - - name: Test coverage - run: covr::codecov() - shell: Rscript {0} diff --git a/.github/workflows/vbump.yaml b/.github/workflows/vbump.yaml deleted file mode 100644 index a2091019..00000000 --- a/.github/workflows/vbump.yaml +++ /dev/null @@ -1,14 +0,0 @@ -name: Version Bump ⬆️ - -on: - push: - branches: - - main - -jobs: - vbump: - name: Version Bump πŸ€œπŸ€› - if: github.event_name == 'push' - uses: insightsengineering/r.pkg.template/.github/workflows/version-bump.yaml@main - secrets: - REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} diff --git a/DESCRIPTION b/DESCRIPTION index c737bdc8..a0b254df 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: xportr Title: Utilities to Output CDISC SDTM/ADaM XPT Files -Version: 0.3.1.9017 +Version: 0.3.1.9018 Authors@R: c( person("Eli", "Miller", , "Eli.Miller@AtorusResearch.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-2127-9456")), @@ -41,17 +41,13 @@ Imports: tm Suggests: admiral, - devtools, DT, knitr, labelled, - lintr, metacore, readxl, rmarkdown, - spelling, testthat (>= 3.0.0), - usethis, withr VignetteBuilder: knitr @@ -59,4 +55,4 @@ Config/testthat/edition: 3 Encoding: UTF-8 LazyData: true Roxygen: list(markdown = TRUE) -RoxygenNote: 7.2.3 +RoxygenNote: 7.3.1 diff --git a/NEWS.md b/NEWS.md index f70d8b98..08fe1005 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,8 +3,8 @@ ## New Features and Bug Fixes * `xportr_metadata()` can set `verbose` for a whole pipeline, i.e. setting `verbose` in `xportr_metadata()` will populate to all `xportr` functions. (#151) - * All `xportr` functions now have `verbose = NULL` as the default (#151) +* Remove unused packages from Suggests (#221) * `xportr_write()` now accepts `metadata` argument which can be used to set the dataset label to stay consistent with the other `xportr_*` functions. It is noteworthy that the dataset label set using the `xportr_df_label()` function will be retained during the `xportr_write()`. * Exporting a new dataset `dataset_spec` that contains the Dataset Specification for ADSL. (#179) @@ -72,7 +72,7 @@ done to make the use of xportr functions more explicit. (#182) * Added function `xportr_metadata()` to explicitly set metadata at the start of a pipeline (#44) * Metadata order columns are now coerced to numeric by default in `xportr_order()` to prevent character sorting (#149) * Message is shown on `xportr_*` functions when the metadata being used has multiple variables with the same name in the same domain (#128) -* Fixed an issue with `xport_type()` where `DT`, `DTM` variables with a format specified in the metadata (e.g. date9., datetime20.) were being converted to numeric, which will cause a 10 year difference when reading it back by `read_xpt()`. SAS's uniform start date is 1960 whereas Linux's uniform start date is 1970 (#142). +* Fixed an issue with `xport_type()` where `DT`, `DTM` variables with a format specified in the metadata (e.g. `date9.`, `datetime20.`) were being converted to numeric, which will cause a 10 year difference when reading it back by `read_xpt()`. SAS's uniform start date is 1960 whereas Linux's uniform start date is 1970 (#142). * Fixed an issue with R's pipe `|>` that was causing functions to abort (#97) * Removed `<` and `>` as illegal characters in variable and dataset labels (#98) diff --git a/R/xportr.R b/R/xportr.R index ed7c3ba1..003e5cce 100644 --- a/R/xportr.R +++ b/R/xportr.R @@ -2,7 +2,7 @@ #' #' @param .df A data frame of CDISC standard. #' @param var_metadata A data frame containing variable level metadata -#' @param domain Appropriate CDSIC dataset name, e.g. ADAE, DM. Used to subset +#' @param domain Appropriate CDISC dataset name, e.g. ADAE, DM. Used to subset #' the metadata object. If none is passed, then name of the dataset passed as #' .df will be used. #' @param verbose The action this function takes when an action is taken on the diff --git a/README.Rmd b/README.Rmd index 8b71800d..374ab117 100644 --- a/README.Rmd +++ b/README.Rmd @@ -46,7 +46,7 @@ install.packages("xportr") ### Development version: ```{r, eval = FALSE} -devtools::install_github("https://github.com/atorus-research/xportr.git", ref = "devel") +install.packages("xportr", repos = c("https://pharmaverse.r-universe.dev", getOption("repos"))) ``` # What is xportr? diff --git a/README.md b/README.md index e64b19ed..d63f21f2 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ file(xpt)](https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/movefile/n1xbw As always, we welcome your feedback. If you spot a bug, would like to see a new feature, or if any documentation is unclear - submit an issue -on [xportr’s GitHub +on [xportr's GitHub page](https://github.com/atorus-research/xportr/issues). ## Installation @@ -36,7 +36,7 @@ install.packages("xportr") ### Development version: ``` r -devtools::install_github("https://github.com/atorus-research/xportr.git", ref = "devel") +install.packages("xportr", repos = c("https://pharmaverse.r-universe.dev", getOption("repos"))) ``` # What is xportr? diff --git a/inst/WORDLIST b/inst/WORDLIST index aff5d7c5..5c516068 100644 --- a/inst/WORDLIST +++ b/inst/WORDLIST @@ -5,19 +5,18 @@ AE Atorus BMI CDISC -CDSIC Codelist Completers DCREASCD DM GSK JPT -Lifecycle MMSE ORCID PHUSE Pharma Repostiory +SAS's SASformat SDSP SDTM @@ -31,14 +30,24 @@ acrf adrg bootswatch chr -cli +datetime deliverables df +durationdatetime +incompletedatetime +intervaldatetime iso magrittr metacore +num +partialdate +partialdatetime +partialtime +posixct +posixt pre repo +sas sdrg validator validators diff --git a/man/metadata.Rd b/man/metadata.Rd index 30918a0c..9df1c6c8 100644 --- a/man/metadata.Rd +++ b/man/metadata.Rd @@ -12,7 +12,7 @@ xportr_metadata(.df, metadata = NULL, domain = NULL, verbose = NULL) \item{metadata}{A data frame containing variable level metadata. See 'Metadata' section for details.} -\item{domain}{Appropriate CDSIC dataset name, e.g. ADAE, DM. Used to subset +\item{domain}{Appropriate CDISC dataset name, e.g. ADAE, DM. Used to subset the metadata object. If none is passed, then name of the dataset passed as .df will be used.} diff --git a/man/xportr-package.Rd b/man/xportr-package.Rd index 2e05668c..bcd0521d 100644 --- a/man/xportr-package.Rd +++ b/man/xportr-package.Rd @@ -3,7 +3,6 @@ \docType{package} \name{xportr-package} \alias{xportr-package} -\alias{_PACKAGE} \title{The \code{xportr} package} \description{ \code{xportr} is designed to be a clinical workflow friendly method for outputting diff --git a/man/xportr.Rd b/man/xportr.Rd index c810dae1..7e356559 100644 --- a/man/xportr.Rd +++ b/man/xportr.Rd @@ -21,7 +21,7 @@ xportr( \item{df_metadata}{A data frame containing dataset level metadata.} -\item{domain}{Appropriate CDSIC dataset name, e.g. ADAE, DM. Used to subset +\item{domain}{Appropriate CDISC dataset name, e.g. ADAE, DM. Used to subset the metadata object. If none is passed, then name of the dataset passed as .df will be used.} diff --git a/man/xportr_df_label.Rd b/man/xportr_df_label.Rd index 691de990..5f95d771 100644 --- a/man/xportr_df_label.Rd +++ b/man/xportr_df_label.Rd @@ -12,7 +12,7 @@ xportr_df_label(.df, metadata = NULL, domain = NULL, metacore = deprecated()) \item{metadata}{A data frame containing dataset. See 'Metadata' section for details.} -\item{domain}{Appropriate CDSIC dataset name, e.g. ADAE, DM. Used to subset +\item{domain}{Appropriate CDISC dataset name, e.g. ADAE, DM. Used to subset the metadata object. If none is passed, then name of the dataset passed as .df will be used.} diff --git a/man/xportr_format.Rd b/man/xportr_format.Rd index e085a345..0c00da1b 100644 --- a/man/xportr_format.Rd +++ b/man/xportr_format.Rd @@ -12,7 +12,7 @@ xportr_format(.df, metadata = NULL, domain = NULL, metacore = deprecated()) \item{metadata}{A data frame containing variable level metadata. See 'Metadata' section for details.} -\item{domain}{Appropriate CDSIC dataset name, e.g. ADAE, DM. Used to subset +\item{domain}{Appropriate CDISC dataset name, e.g. ADAE, DM. Used to subset the metadata object. If none is passed, then name of the dataset passed as .df will be used.} diff --git a/man/xportr_label.Rd b/man/xportr_label.Rd index eb03df81..a61e0583 100644 --- a/man/xportr_label.Rd +++ b/man/xportr_label.Rd @@ -18,7 +18,7 @@ xportr_label( \item{metadata}{A data frame containing variable level metadata. See 'Metadata' section for details.} -\item{domain}{Appropriate CDSIC dataset name, e.g. ADAE, DM. Used to subset +\item{domain}{Appropriate CDISC dataset name, e.g. ADAE, DM. Used to subset the metadata object. If none is passed, then name of the dataset passed as .df will be used.} diff --git a/man/xportr_length.Rd b/man/xportr_length.Rd index a2c2e01e..c3180a71 100644 --- a/man/xportr_length.Rd +++ b/man/xportr_length.Rd @@ -19,7 +19,7 @@ xportr_length( \item{metadata}{A data frame containing variable level metadata. See 'Metadata' section for details.} -\item{domain}{Appropriate CDSIC dataset name, e.g. ADAE, DM. Used to subset +\item{domain}{Appropriate CDISC dataset name, e.g. ADAE, DM. Used to subset the metadata object. If none is passed, then name of the dataset passed as .df will be used.} diff --git a/man/xportr_order.Rd b/man/xportr_order.Rd index 26b87f42..03617d4f 100644 --- a/man/xportr_order.Rd +++ b/man/xportr_order.Rd @@ -18,7 +18,7 @@ xportr_order( \item{metadata}{A data frame containing variable level metadata. See 'Metadata' section for details.} -\item{domain}{Appropriate CDSIC dataset name, e.g. ADAE, DM. Used to subset +\item{domain}{Appropriate CDISC dataset name, e.g. ADAE, DM. Used to subset the metadata object. If none is passed, then name of the dataset passed as .df will be used.} diff --git a/man/xportr_type.Rd b/man/xportr_type.Rd index 736fe0c6..05489fcf 100644 --- a/man/xportr_type.Rd +++ b/man/xportr_type.Rd @@ -18,7 +18,7 @@ xportr_type( \item{metadata}{A data frame containing variable level metadata. See 'Metadata' section for details.} -\item{domain}{Appropriate CDSIC dataset name, e.g. ADAE, DM. Used to subset +\item{domain}{Appropriate CDISC dataset name, e.g. ADAE, DM. Used to subset the metadata object. If none is passed, then name of the dataset passed as .df will be used.} diff --git a/man/xportr_write.Rd b/man/xportr_write.Rd index c6bd4a1d..bde66844 100644 --- a/man/xportr_write.Rd +++ b/man/xportr_write.Rd @@ -22,7 +22,7 @@ used as \code{xpt} name.} \item{metadata}{A data frame containing dataset. See 'Metadata' section for details.} -\item{domain}{Appropriate CDSIC dataset name, e.g. ADAE, DM. Used to subset +\item{domain}{Appropriate CDISC dataset name, e.g. ADAE, DM. Used to subset the metadata object. If none is passed, then name of the dataset passed as .df will be used.}