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