[INTERNAL] Check connection and layer data
[INTERNAL] Checks if the connection defined in 'connection' makes sense in context of the defined layers.
check_sensible_connections(connection, layers)
connection
: [list] Connection to check. Created by make_connection
layers
: [list] List of layers to check. Individual layers are created by make_layer
and need to be wrapped in a list.Character string vector containing error messages.
Useful links