meta() %>%
meta_social(
title = "R for Data Science",
description = "This book with teach you how to do data science with R",
url = "https://r4ds.had.co.nz",
image = "https://r4ds.had.co.nz/cover.png",
image_alt = "The cover of the R4DS book",
og_type = "book",
og_author = c("Garrett Grolemund", "Hadley Wickham"),
twitter_card_type = "summary",
twitter_creator = "@hadley"
)
Run the code above in your browser using DataLab