=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== r-cran-ggplot2-3.3.2+dfsg/man/aes_.Rd-34-I recommend using \code{aes_()}, because creating the equivalents of r-cran-ggplot2-3.3.2+dfsg/man/aes_.Rd:35:\code{aes(colour = "my colour")} or \code{aes(x = `X$1`)} r-cran-ggplot2-3.3.2+dfsg/man/aes_.Rd-36-with \code{aes_string()} is quite clunky. ############################################## r-cran-ggplot2-3.3.2+dfsg/man/aes_.Rd-53-# You can't easily mimic these calls with aes_string r-cran-ggplot2-3.3.2+dfsg/man/aes_.Rd:54:aes(`$100`, colour = "smooth") r-cran-ggplot2-3.3.2+dfsg/man/aes_.Rd:55:aes_(~ `$100`, colour = "smooth") r-cran-ggplot2-3.3.2+dfsg/man/aes_.Rd-56-# Ok, you can, but it requires a _lot_ of quotes r-cran-ggplot2-3.3.2+dfsg/man/aes_.Rd:57:aes_string("`$100`", colour = '"smooth"') r-cran-ggplot2-3.3.2+dfsg/man/aes_.Rd-58- ############################################## r-cran-ggplot2-3.3.2+dfsg/tests/testthat/test-aes.r-119- warn_for_aes_extract_usage(aes(df$x), df), r-cran-ggplot2-3.3.2+dfsg/tests/testthat/test-aes.r:120: "Use of `df\\$x` is discouraged" r-cran-ggplot2-3.3.2+dfsg/tests/testthat/test-aes.r-121- ) ############################################## r-cran-ggplot2-3.3.2+dfsg/tests/testthat/test-aes.r-151- p <- ggplot(df, aes(df$x, y)) + geom_point() r-cran-ggplot2-3.3.2+dfsg/tests/testthat/test-aes.r:152: expect_warning(ggplot_build(p), "Use of `df\\$x` is discouraged") r-cran-ggplot2-3.3.2+dfsg/tests/testthat/test-aes.r-153-}) ############################################## r-cran-ggplot2-3.3.2+dfsg/vignettes/extending-ggplot2.Rmd-388- r-cran-ggplot2-3.3.2+dfsg/vignettes/extending-ggplot2.Rmd:389:You need to use `panel_params` and `coord` together to transform the data `coords <- coord$transform(data, panel_params)`. This creates a data frame where position variables are scaled to the range 0--1. You then take this data and call a grid grob function. (Transforming for non-Cartesian coordinate systems is quite complex - you're best off transforming your data to the form accepted by an existing ggplot2 geom and passing it.) r-cran-ggplot2-3.3.2+dfsg/vignettes/extending-ggplot2.Rmd-390- ############################################## r-cran-ggplot2-3.3.2+dfsg/vignettes/ggplot2-in-packages.Rmd-112- r-cran-ggplot2-3.3.2+dfsg/vignettes/ggplot2-in-packages.Rmd:113:- If you know the mapping or facet specification is `col` in advance, use `aes(.data$col)` or `vars(.data$col)`. r-cran-ggplot2-3.3.2+dfsg/vignettes/ggplot2-in-packages.Rmd-114-- If `col` is a variable that contains the column name as a character vector, use `aes(.data[[col]]` or `vars(.data[[col]])`. ############################################## r-cran-ggplot2-3.3.2+dfsg/R/theme-elements.r-526- } else if (!inherits(el, eldef$class) && !inherits(el, "element_blank")) { r-cran-ggplot2-3.3.2+dfsg/R/theme-elements.r:527: abort(glue("Theme element `{elname}` must be an object of type `{eldef$class}`.")) r-cran-ggplot2-3.3.2+dfsg/R/theme-elements.r-528- } ############################################## r-cran-ggplot2-3.3.2+dfsg/R/scale-expansion.r-95-#' r-cran-ggplot2-3.3.2+dfsg/R/scale-expansion.r:96:#' @return One of `discrete`, `continuous`, or `scale$expand` r-cran-ggplot2-3.3.2+dfsg/R/scale-expansion.r-97-#' @noRd ############################################## r-cran-ggplot2-3.3.2+dfsg/R/theme-defaults.r-656- r-cran-ggplot2-3.3.2+dfsg/R/theme-defaults.r:657: # We read from `.element_tree` instead of `ggplot_global$element_tree` r-cran-ggplot2-3.3.2+dfsg/R/theme-defaults.r-658- # because we don't want to change our results just because a user ############################################## r-cran-ggplot2-3.3.2+dfsg/R/geom-.r-38-#' r-cran-ggplot2-3.3.2+dfsg/R/geom-.r:39:#' You must always call `coord$transform(data, panel_params)` to r-cran-ggplot2-3.3.2+dfsg/R/geom-.r-40-#' get the (position) scaled data for plotting. To work with ############################################## r-cran-ggplot2-3.3.2+dfsg/R/utilities.r-497-#' @param ambiguous Is the layer ambiguous in its mapping by nature. If so, it r-cran-ggplot2-3.3.2+dfsg/R/utilities.r:498:#' will only be flipped if `params$orientation == "y"` r-cran-ggplot2-3.3.2+dfsg/R/utilities.r-499-#' @param main_is_continuous If there is a discrete and continuous axis, does ############################################## r-cran-ggplot2-3.3.2+dfsg/R/utilities.r-509-#' `flip = FALSE` the name of the element will correspond to the element, e.g. r-cran-ggplot2-3.3.2+dfsg/R/utilities.r:510:#' `flipped_names(FALSE)$x == "x"` and if `flip = TRUE` it will correspond to r-cran-ggplot2-3.3.2+dfsg/R/utilities.r:511:#' the flipped name, e.g. `flipped_names(FALSE)$x == "y"` r-cran-ggplot2-3.3.2+dfsg/R/utilities.r-512-#' ############################################## r-cran-ggplot2-3.3.2+dfsg/R/ggproto.r-20-#' Imagine you have a ggproto object `Adder`, which has a r-cran-ggplot2-3.3.2+dfsg/R/ggproto.r:21:#' method `addx = function(self, n) n + self$x`. Then, to call this r-cran-ggplot2-3.3.2+dfsg/R/ggproto.r:22:#' function, you would use `Adder$addx(10)` -- the `self` is passed r-cran-ggplot2-3.3.2+dfsg/R/ggproto.r-23-#' in automatically by the wrapper function. `self` be located anywhere ############################################## r-cran-ggplot2-3.3.2+dfsg/R/ggproto.r-149-#' @export r-cran-ggplot2-3.3.2+dfsg/R/ggproto.r:150:`$.ggproto` <- function(x, name) { r-cran-ggplot2-3.3.2+dfsg/R/ggproto.r-151- res <- fetch_ggproto(x, name) ############################################## r-cran-ggplot2-3.3.2+dfsg/R/ggproto.r-159-#' @export r-cran-ggplot2-3.3.2+dfsg/R/ggproto.r:160:`$.ggproto_parent` <- function(x, name) { r-cran-ggplot2-3.3.2+dfsg/R/ggproto.r-161- res <- fetch_ggproto(.subset2(x, "parent"), name) ############################################## r-cran-ggplot2-3.3.2+dfsg/R/ggproto.r-185-#' @export r-cran-ggplot2-3.3.2+dfsg/R/ggproto.r:186:`[[.ggproto` <- `$.ggproto` r-cran-ggplot2-3.3.2+dfsg/R/ggproto.r-187- ############################################## r-cran-ggplot2-3.3.2+dfsg/R/ggproto.r-215-#' r-cran-ggplot2-3.3.2+dfsg/R/ggproto.r:216:#' If a ggproto object has a `$print` method, this will call that method. r-cran-ggplot2-3.3.2+dfsg/R/ggproto.r-217-#' Otherwise, it will print out the members of the object, and optionally, the ############################################## r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-298-#' r-cran-ggplot2-3.3.2+dfsg/R/scale-.r:299:#' - `transform()` Transforms a vector of values using `self$trans`. r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-300-#' This occurs before the `Stat` is calculated. r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-301-#' r-cran-ggplot2-3.3.2+dfsg/R/scale-.r:302:#' - `train()` Update the `self$range` of observed (transformed) data values with r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-303-#' a vector of (possibly) new values. r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-304-#' r-cran-ggplot2-3.3.2+dfsg/R/scale-.r:305:#' - `reset()` Reset the `self$range` of observed data values. For discrete r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-306-#' position scales, only the continuous range is reset. ############################################## r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-308-#' - `map()` Map transformed data values to some output value as r-cran-ggplot2-3.3.2+dfsg/R/scale-.r:309:#' determined by `self$rescale()` and `self$palette` (except for position scales, r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-310-#' which do not use the default implementation of this method). The output corresponds ############################################## r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-314-#' position scales. For continuous scales, `rescale()` uses the `rescaler` that r-cran-ggplot2-3.3.2+dfsg/R/scale-.r:315:#' was provided to the constructor. `rescale()` does not apply `self$oob()` to r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-316-#' its input, which means that discrete values outside `limits` will be `NA`, and ############################################## r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-321-#' accept a data frame, and apply the `transform`, `train`, and `map` methods r-cran-ggplot2-3.3.2+dfsg/R/scale-.r:322:#' (respectively) to the columns whose names are in `self$aesthetics`. r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-323-#' r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-324-#' - `get_limits()` Calculates the final scale limits in transformed data space r-cran-ggplot2-3.3.2+dfsg/R/scale-.r:325:#' based on the combination of `self$limits` and/or the range of observed values r-cran-ggplot2-3.3.2+dfsg/R/scale-.r:326:#' (`self$range`). r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-327-#' r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-328-#' - `get_breaks()` Calculates the final scale breaks in transformed data space r-cran-ggplot2-3.3.2+dfsg/R/scale-.r:329:#' based on on the combination of `self$breaks`, `self$trans$breaks()` (for r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-330-#' continuous scales), and `limits`. Breaks outside of `limits` are assigned ############################################## r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-333-#' - `get_labels()` Calculates labels for a given set of (transformed) `breaks` r-cran-ggplot2-3.3.2+dfsg/R/scale-.r:334:#' based on the combination of `self$labels` and `breaks`. r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-335-#' r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-336-#' - `get_breaks_minor()` For continuous scales, calculates the final scale minor breaks r-cran-ggplot2-3.3.2+dfsg/R/scale-.r:337:#' in transformed data space based on the rescaled `breaks`, the value of `self$minor_breaks`, r-cran-ggplot2-3.3.2+dfsg/R/scale-.r:338:#' and the value of `self$trans$minor_breaks()`. Discrete scales always return `NULL`. r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-339-#' ############################################## r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-353-#' these values to draw guides. This is called with r-cran-ggplot2-3.3.2+dfsg/R/scale-.r:354:#' a (usually expanded) continuous range, such as that returned by `self$dimension()` r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-355-#' (even for discrete scales). The list has components `major_source` r-cran-ggplot2-3.3.2+dfsg/R/scale-.r:356:#' (`self$get_breaks()` for continuous scales, or `seq_along(self$get_breaks())` r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-357-#' for discrete scales), `major` (the rescaled value of `major_source`, ignoring r-cran-ggplot2-3.3.2+dfsg/R/scale-.r:358:#' `self$rescaler`), `minor` (the rescaled value of `minor_source`, ignoring r-cran-ggplot2-3.3.2+dfsg/R/scale-.r:359:#' `self$rescaler`), `range` (the range that was passed in to `break_info()`), r-cran-ggplot2-3.3.2+dfsg/R/scale-.r-360-#' `labels` (the label values, one for each element in `breaks`). ############################################## r-cran-ggplot2-3.3.2+dfsg/R/aes.r-29-#' the original dataset (i.e., use `ggplot(df, aes(variable))` r-cran-ggplot2-3.3.2+dfsg/R/aes.r:30:#' instead of `ggplot(df, aes(df$variable))`). The names for x and y aesthetics r-cran-ggplot2-3.3.2+dfsg/R/aes.r-31-#' are typically omitted because they are so common; all other aesthetics must be named. ############################################## r-cran-ggplot2-3.3.2+dfsg/R/aes.r-228-#' I recommend using `aes_()`, because creating the equivalents of r-cran-ggplot2-3.3.2+dfsg/R/aes.r:229:#' `aes(colour = "my colour")` or \code{aes(x = `X$1`)} r-cran-ggplot2-3.3.2+dfsg/R/aes.r-230-#' with `aes_string()` is quite clunky. ############################################## r-cran-ggplot2-3.3.2+dfsg/R/aes.r-250-#' # You can't easily mimic these calls with aes_string r-cran-ggplot2-3.3.2+dfsg/R/aes.r:251:#' aes(`$100`, colour = "smooth") r-cran-ggplot2-3.3.2+dfsg/R/aes.r:252:#' aes_(~ `$100`, colour = "smooth") r-cran-ggplot2-3.3.2+dfsg/R/aes.r-253-#' # Ok, you can, but it requires a _lot_ of quotes r-cran-ggplot2-3.3.2+dfsg/R/aes.r:254:#' aes_string("`$100`", colour = '"smooth"') r-cran-ggplot2-3.3.2+dfsg/R/aes.r-255-#' ############################################## r-cran-ggplot2-3.3.2+dfsg/NEWS.md-416- r-cran-ggplot2-3.3.2+dfsg/NEWS.md:417:* The arguments of `Stat*$compute_layer()` and `Position*$compute_layer()` are r-cran-ggplot2-3.3.2+dfsg/NEWS.md:418: now renamed to always match the ones of `Stat$compute_layer()` and r-cran-ggplot2-3.3.2+dfsg/NEWS.md:419: `Position$compute_layer()` (@yutannihilation, #3202). r-cran-ggplot2-3.3.2+dfsg/NEWS.md-420- ############################################## r-cran-ggplot2-3.3.2+dfsg/NEWS.md-622- r-cran-ggplot2-3.3.2+dfsg/NEWS.md:623: Then, inside the function, replace `scale$aesthetics[1]`, r-cran-ggplot2-3.3.2+dfsg/NEWS.md:624: `aesthetic %||% scale$aesthetics[1]`. (The %||% operator is defined in the r-cran-ggplot2-3.3.2+dfsg/NEWS.md-625- rlang package). ############################################## r-cran-ggplot2-3.3.2+dfsg/inst/doc/extending-ggplot2.Rmd-388- r-cran-ggplot2-3.3.2+dfsg/inst/doc/extending-ggplot2.Rmd:389:You need to use `panel_params` and `coord` together to transform the data `coords <- coord$transform(data, panel_params)`. This creates a data frame where position variables are scaled to the range 0--1. You then take this data and call a grid grob function. (Transforming for non-Cartesian coordinate systems is quite complex - you're best off transforming your data to the form accepted by an existing ggplot2 geom and passing it.) r-cran-ggplot2-3.3.2+dfsg/inst/doc/extending-ggplot2.Rmd-390- ############################################## r-cran-ggplot2-3.3.2+dfsg/inst/doc/ggplot2-in-packages.Rmd-112- r-cran-ggplot2-3.3.2+dfsg/inst/doc/ggplot2-in-packages.Rmd:113:- If you know the mapping or facet specification is `col` in advance, use `aes(.data$col)` or `vars(.data$col)`. r-cran-ggplot2-3.3.2+dfsg/inst/doc/ggplot2-in-packages.Rmd-114-- If `col` is a variable that contains the column name as a character vector, use `aes(.data[[col]]` or `vars(.data[[col]])`. ############################################## r-cran-ggplot2-3.3.2+dfsg/debian/tests/run-unit-test-6-if [ "$AUTOPKGTEST_TMP" = "" ] ; then r-cran-ggplot2-3.3.2+dfsg/debian/tests/run-unit-test:7: AUTOPKGTEST_TMP=`mktemp -d /tmp/${debname}-test.XXXXXX` r-cran-ggplot2-3.3.2+dfsg/debian/tests/run-unit-test-8- trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM