temperature maps in R

There are several packages that support maps and spatial analysis in R.

The sf package can do all the things you've listed, and offers package-vignettes to help you use the tool.


And of course, setting up your issue with a reproducible example is a great way to seek help here.
(FAQ: What's a reproducible example (`reprex`) and how do I create one?)