## ----setup, include=FALSE----------------------------------------------------- target_url <- "https://ggeniaux.github.io/mgwrsar_vignettes/Intro_french_data.html" ## ----redirect, echo=FALSE, results='asis'------------------------------------- cat(sprintf( '
Online version: %s
', target_url, target_url )) # Meta refresh (works without JS); short delay to keep the page readable cat(sprintf('', target_url)) # JS redirect as a fallback cat(sprintf("", target_url))