Skip to content

Commit

Permalink
Remove column dedupe fix because common not updated properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbosak01 committed Sep 28, 2023
1 parent 57b6f45 commit 6e80187
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

* Added example for page breaking.
* Added _columns_ parameter to `footnotes()` function.
* Fixed column dedupe functionality to account for non-unique values.
* Allow user to put new line in page-by column value.
* Remove message on page-by sort.
* Fixed character escape on DOCX.
Expand Down
5 changes: 4 additions & 1 deletion R/utilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,10 @@ dedupe_pages <- function(pgs, defs) {
w <- min(nchar(dat[[def$var_c]])) # Take min to exclude label row
v <- paste0(rep(" ", times = w), collapse = "")

dat[[def$var_c]] <- ifelse(changed(dat[[def$var_c]]),
# dat[[def$var_c]] <- ifelse(changed(dat[[def$var_c]]),
# dat[[def$var_c]], v)

dat[[def$var_c]] <- ifelse(!duplicated(dat[[def$var_c]]),
dat[[def$var_c]], v)
}
}
Expand Down
1 change: 0 additions & 1 deletion docs/news/index.html

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

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ articles:
reporter-title_header: reporter-title_header.html
reporter-wrap: reporter-wrap.html
reporter: reporter.html
last_built: 2023-09-28T03:23Z
last_built: 2023-09-28T06:08Z
urls:
reference: https://reporter.r-sassy.org/reference
article: https://reporter.r-sassy.org/articles
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/create_plot.html

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

Binary file modified tests/testthat/Rplots.pdf
Binary file not shown.

0 comments on commit 6e80187

Please sign in to comment.