checkForSSandCSasAesthetics: Check if showSelected and clickSelects have been used as aesthetics
as in old syntax. If yes, raise error
Description
Check if showSelected and clickSelects have been used as aesthetics
as in old syntax. If yes, raise error
Usage
checkForSSandCSasAesthetics(aesthetics, plot_name)
Value
NULL
Throws error if used as aesthetics
Arguments
- aesthetics
list. aesthetics mapping of the layer
- plot_name
character vector of the plot the layer belongs to