Equivalent of make_subplots() in R?

I want to make subplots each with its own title and then the whole plot has a title on the top. I found it can be easily made with the make_subplots function in Subplots | Python | Plotly.

In R, the title in the last layout function will override the title of subplots.

I found a solution is to add annotations to subplots: r - Showing all plot titles in plotly::subplot - Stack Overflow. This isn’t ideal.

Is there a make_subplots equivalent in R?