did you read the article or just the first few pargraphs?
From the study you kindly linked:
Whether the use of cannabis triggers the onset of schizophrenia or depression in otherwise vulnerable people or whether it actually causes these conditions in non-predisposed people is not yet resolved.
Roughly the same about depression. It's pretty much what I suspected. Thanks!