Is there a way to restore some files deleted from a cloud ?

Hello, in school, some problems occurs and my classmate ends up with all her personnal files from a cloud storage deleted.

How it's happened ?
In the plots and files window, in "Files" section, all the files were selected then deleted.

I know that on Windows in local space, my file should end up in the trash folder.
But what about a cloud space ? Does the way RStudio generally delete file lead to definitely delete files in cloud storage?

Is there a way to recover them ?

Thanks a lot and have a nice day !

Edit : RStudio were used with a mac and the cloud is the default cloud that is linked with the mac (and others apple product ?)