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

Closes #241 removes unused packages #245

Merged
merged 10 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from 9 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
6 changes: 2 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,15 @@ Imports:
checkmate,
cli,
dplyr (>= 1.0.2),
glue (>= 1.4.2),
haven (>= 2.5.0),
janitor,
vedhav marked this conversation as resolved.
Show resolved Hide resolved
glue (>= 1.4.2),
lifecycle,
magrittr,
purrr (>= 0.3.4),
readr,
rlang (>= 0.4.10),
stringr (>= 1.4.0),
tidyselect,
tm
readr
Suggests:
admiral,
DT,
Expand Down
3 changes: 1 addition & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ importFrom(dplyr,ungroup)
importFrom(glue,glue)
importFrom(glue,glue_collapse)
importFrom(graphics,stem)
importFrom(janitor,make_clean_names)
importFrom(lifecycle,deprecated)
importFrom(magrittr,"%>%")
importFrom(magrittr,extract2)
Expand All @@ -65,6 +64,7 @@ importFrom(purrr,map_chr)
importFrom(purrr,map_dbl)
importFrom(purrr,pluck)
importFrom(purrr,walk)
importFrom(purrr,walk2)
importFrom(readr,parse_number)
importFrom(stringr,str_detect)
importFrom(stringr,str_extract)
Expand All @@ -73,7 +73,6 @@ importFrom(stringr,str_replace_all)
importFrom(tidyselect,all_of)
importFrom(tidyselect,any_of)
importFrom(tidyselect,where)
importFrom(tm,stemDocument)
importFrom(utils,capture.output)
importFrom(utils,packageVersion)
importFrom(utils,str)
Expand Down
19 changes: 11 additions & 8 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@
## 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)

* Added a check for character variable lengths up to 200 bytes in `xpt_validate()`(#91, #189).

* File name check is moved to strict_checks condition to allow underscores in the file name. Underscores are allowed in xpt but not per FDA requirements. (#126)

* It is now possible to get and set the xportr options using the helper function `xportr_options()` (#130)
Expand All @@ -25,6 +30,8 @@

* New argument in `xportr_length()` allows selection between the length from metadata, as previously done, or from the calculated maximum length per variable when `length_source` is set to “data” (#91)

* * Make `xportr_type()` drop factor levels when coercing variables
bms63 marked this conversation as resolved.
Show resolved Hide resolved

* `xportr_length()` assigns the maximum length value instead of 200 for a character variable when the length is missing in the metadata (#207)

## Deprecation and Breaking Changes
Expand All @@ -50,17 +57,13 @@ done to make the use of xportr functions more explicit. (#182)

* Tests use `{withr}` to create temporary files that are automatically deleted (#219)

# xportr 0.3.1
# xportr 0.3.2

## New Features and Bug Fixes

* Make `xportr_type()` drop factor levels when coercing variables

## Documentation
* Removed unused packages, `{tm}` and `{janitor}` from Imports (#241)

* Set up Development version of Website (#187)
# xportr 0.3.1

## Deprecation and Breaking Changes
* Fixed issues around code coverage (#170) and `lintr` (#176)

# xportr 0.3.0

Expand Down
3 changes: 1 addition & 2 deletions R/xportr-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,8 @@
#' @importFrom utils capture.output str tail packageVersion
#' @importFrom stringr str_detect str_extract str_replace str_replace_all
#' @importFrom readr parse_number
#' @importFrom purrr map_chr map2_chr walk walk2 map map_dbl pluck
#' @importFrom purrr map_chr map2_chr walk iwalk map map_dbl pluck
#' @importFrom janitor make_clean_names
#' @importFrom tm stemDocument
#' @importFrom graphics stem
#' @importFrom magrittr %>% extract2
#' @importFrom checkmate assert assert_character assert_choice assert_data_frame
Expand Down
1 change: 1 addition & 0 deletions man/xportr-package.Rd

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

Loading