benmarwick / rrtools

rrtools: Tools for Writing Reproducible Research in R
Other
670 stars 85 forks source link

simpler way to link to repo.zip in readme.Rmd #66

Closed benmarwick closed 5 years ago

benmarwick commented 6 years ago

In https://github.com/benmarwick/rrtools/blob/master/inst/templates/omni-README we can replace You can download the compendium as a zip from from this URL: <{{{url}}}/archive/master.zip>

with

You can download the compendium as a zip from from this URL: <../../archive/master.zip>

to get the URL properly formatted on GitHub (from https://github.com/sm-artlight/github-cheatsheet).

This may be good when we don't have a url for some reason.