Skip to content

Commit

Permalink
more conflict resolving
Browse files Browse the repository at this point in the history
Merge branch 'main' into transform_alias

# Conflicts:
#	NEWS.md
#	R/scale-continuous.R
#	man/cscale.Rd
#	man/pal_shape.Rd
  • Loading branch information
teunbrand committed Nov 7, 2023
2 parents 3447953 + 727bd71 commit ee4ee3d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@
search of transformations. The S3 class of transformations has been
renamed from `"trans"` to `"transform"`. `new_transform()` is the new
`trans_new()`.
* Palette functions now have the `pal_`-prefix. The old `_pal`-suffixed versions
are kept for backward compatibility.


# scales 1.2.1

* Re-document to fix HTML issues in `.Rd`.
Expand Down
2 changes: 1 addition & 1 deletion R/documentation.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ seealso <- function(pattern) {

seealso_transform <- function() seealso("^transform_")

seealso_pal <- function() seealso("_pal$")
seealso_pal <- function() seealso("^pal_")
File renamed without changes.
6 changes: 3 additions & 3 deletions R/scale-continuous.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
#' \Sexpr[results=rd,stage=build]{scales:::seealso_transform()}.
#' @export
#' @examples
#' with(mtcars, plot(disp, mpg, cex = cscale(hp, rescale_pal())))
#' with(mtcars, plot(disp, mpg, cex = cscale(hp, rescale_pal(),
#' with(mtcars, plot(disp, mpg, cex = cscale(hp, pal_rescale())))
#' with(mtcars, plot(disp, mpg, cex = cscale(hp, pal_rescale(),
#' trans = transform_sqrt()
#' )))
#' with(mtcars, plot(disp, mpg, cex = cscale(hp, area_pal())))
#' with(mtcars, plot(disp, mpg, cex = cscale(hp, pal_area())))
#' with(mtcars, plot(disp, mpg,
#' pch = 20, cex = 5,
#' col = cscale(hp, pal_seq_gradient("grey80", "black"))
Expand Down
6 changes: 3 additions & 3 deletions man/cscale.Rd

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

0 comments on commit ee4ee3d

Please sign in to comment.