This book focuses on teaching you how to use R in an modern way. Why modern? Because you will learn about the tidyverse collection of packages, which enable you to write efficient, legible code. You will also learn about functional programming, some statistical methods, writing your own packages... By the end of the book, you will have all the knowledge and tools on hand to use R for your day-to-day data science tasks!
You can read the book online for free: https://b-rodrigues.github.io/modern_R/
I also have a blog with lots of tutorial on data science: https://www.brodrigues.co/