We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4f1221 commit d1f6833Copy full SHA for d1f6833
R/guide-custom.R
@@ -50,16 +50,6 @@ guide_custom <- function(
50
cli::cli_abort("{.arg height} must be a single {.cls unit}, not a unit vector.")
51
}
52
53
- if (!is.null(position)) {
54
- if (is.numeric(position)) {
55
- if (length(position) != 2L) {
56
- cli::cli_abort("{.arg position} must be a numeric of length 2")
57
- }
58
- } else {
59
- position <- arg_match0(position, c(.trbl, "inside"))
60
61
62
-
63
new_guide(
64
grob = grob,
65
width = width,
0 commit comments