Introduction to Rstudio

I have been doing a project with Rstudio about the pollution in Ciutadella, a neighborhood in Barcelona. And this is why I couldn't finish.First of all I have done till the spread with no complications at all. But then in the spread section I see that I couldn't pass to finish the project.Also, I tried to do it with dcast function but I could do it.

But then I tried the function pivot_wider() and it works.

But I couldn't do the graphics because I have the problem of the space because I don't have 667 GB to keep it in the pendrive.