Is there any possibilities for auto-formatting code in RStudio?

I found this, but it is not connected with RStudio.

Also it is desirable that it be customizable formatting.

Edit
Report