[Rd] grDevices::grey could provide clearer error message when length(alpha) != length(level)

Hugh Parsonage hugh@p@r@on@ge @ending from gm@il@com
Thu May 10 15:17:32 CEST 2018


e.g.

grDevices::grey(level = 0.1, alpha = c(0, 1))
#> Error in grey(level = 0.1, alpha = c(0, 1)) :
#>  attempt to set index 1/1 in SET_STRING_ELT

Perhaps
#> Error in grey(level = 0.1, alpha = c(0, 1)) :
#>  lengths of 'level' and 'alpha' differ



More information about the R-devel mailing list