avoid using current URL to form new URL in R Markdown preview