Skip to content

Commit

Permalink
updates to resolve check errors
Browse files Browse the repository at this point in the history
  • Loading branch information
csandrews21 committed Jun 24, 2024
1 parent f904984 commit 1d48ab3
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 15 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## New Features
- Added a "Report a bug" link to `{datacutr}` website (#182)
- Added a `read_out` function that enables the generation of a read-out file (.html), to summarise changes applied to data during a datacut. (#107)
- Added a `read_out` function that enables the generation of a read-out file (.html), to summarize changes applied to data during a datacut. (#107)

## Updates of Existing Functions
- Update to `impute_dcutdtc()`, `date_cut()` and `special_dm_cut()` functions to allow for
Expand Down
4 changes: 2 additions & 2 deletions R/process_cut.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#' SDTMv date variable, and outputs the resulting cut datasets, as well as the datacut dataset,
#' as a list. It provides an option to perform a "special" cut on the demography (dm) domain
#' in which any deaths occurring after the datacut date are removed. It also provides an option
#' to produce a .html file that summarises the changes applied to the data during the cut, where
#' to produce a .html file that summarizes the changes applied to the data during the cut, where
#' you can inspect the records that have been removed and/or modified.
#'
#' @param source_sdtm_data A list of uncut SDTMv dataframes
Expand All @@ -25,7 +25,7 @@
#' produced. If `TRUE`, a .html file will be returned containing a summary of the cut and
#' records removed. Default set to `FALSE`.
#' @param out_path A character vector of file save path for the summary file if `read_out = TRUE`;
#' the default corresponds to the working directory, getwd().
#' the default corresponds to the working directory, `getwd()`.
#'
#' @return Returns a list of all input SDTMv datasets, plus the datacut dataset, after
#' performing the selected datacut on each SDTMv domain.
Expand Down
6 changes: 3 additions & 3 deletions R/read_out.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' @title Function to generate datacut summary file
#'
#' @description Produces a .html file summarising the changes applied to data during a data cut.
#' @description Produces a .html file summarizing the changes applied to data during a data cut.
#' The file will contain an overview for the change in number of records for each dataset, the types
#' of cut applied and the opportunity to inspect the removed records.
#'
Expand All @@ -17,9 +17,9 @@
#' @param no_cut_list List of of quoted SDTMv domain names in which no cut should be applied. To be
#' left blank if no domains are to remain exactly as source.
#' @param out_path A character vector of file save path for the summary file;
#' the default corresponds to the working directory, getwd().
#' the default corresponds to the working directory, `getwd()`.
#'
#' @return Returns a .html file summarising the changes made to data during a datacut.
#' @return Returns a .html file summarizing the changes made to data during a datacut.
#'
#' @export
#'
Expand Down
4 changes: 2 additions & 2 deletions man/process_cut.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/read_out.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions renv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
"R": {
"Version": "4.3.1",
"Repositories": [
{
"Name": "NON_VALIDATED",
"URL": "https://packages.roche.com/Non-Validated/2023-10-09+8Fbwf0T6"
},
{
"Name": "CRAN",
"URL": "https://packages.roche.com/CRAN/2023-10-10"
Expand Down Expand Up @@ -796,6 +792,13 @@
],
"Hash": "76c9e04c712a05848ae7a23d2f170a40"
},
"remotes": {
"Package": "remotes",
"Version": "2.4.2",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "57c3009534f805f0f6476ffee68483cc"
},
"renv": {
"Package": "renv",
"Version": "1.0.3",
Expand Down

0 comments on commit 1d48ab3

Please sign in to comment.