osmdata package.
osmdata::opq() function.
osmadata::osmdata_sf() function and extract only the polygons.
osm_polygons, just like a variable in a data table.
tibble::as_tibble() and maybe a sf::st_as_sf() afterwards for a nicer browsing experience.