diff --git a/R/abstract_geom.R b/R/abstract_geom.R index e0afad87..c52f6dae 100755 --- a/R/abstract_geom.R +++ b/R/abstract_geom.R @@ -196,7 +196,7 @@ make_geom = function(geom, params_to_defaults, args_to_defaults ), - expr({ + expr({ # nocov start .Deprecated_arguments(!!geom$deprecated_params, ...) l = layer( @@ -221,7 +221,7 @@ make_geom = function(geom, quote(l) } ) - }), + }), # nocov end env = parent.frame() ) attr(body(new_f), "srcref") = NULL diff --git a/R/abstract_stat.R b/R/abstract_stat.R index bbe7de92..3f70a81e 100755 --- a/R/abstract_stat.R +++ b/R/abstract_stat.R @@ -148,7 +148,7 @@ make_stat = function(stat, geom, params_to_defaults, args_to_defaults ), - expr({ + expr({ # nocov start .Deprecated_arguments(!!stat$deprecated_params, ...) (!!layer_function)( @@ -165,7 +165,7 @@ make_stat = function(stat, geom, ... ) ) - }), + }), # nocov end env = parent.frame() ) attr(body(new_f), "srcref") = NULL diff --git a/R/subguide.R b/R/subguide.R index 6b241943..3cc4fb84 100755 --- a/R/subguide.R +++ b/R/subguide.R @@ -229,7 +229,7 @@ get_subguide_position = function(position, orientation) { stop0("Unknown position: ", deparse0(position)) ), - stop0("Unknown orientation: ", deparse0(orientation)) + stop0("Unknown orientation: ", deparse0(orientation)) # nocov ) } } @@ -273,6 +273,6 @@ get_subguide_axis_position = function(side, position, orientation) { stop0("Unknown side: ", deparse0(side)) ), - stop0("Unknown orientation: ", deparse0(orientation)) + stop0("Unknown orientation: ", deparse0(orientation)) # nocov ) }