## Not run:
#
# source_url("https://gist.github.com/hadley/6872663/raw/hi.r")
#
# # With a hash, to make sure the remote file hasn't changed
# source_url("https://gist.github.com/hadley/6872663/raw/hi.r",
# sha1 = "54f1db27e60bb7e0486d785604909b49e8fef9f9")
#
# # With a truncated hash
# source_url("https://gist.github.com/hadley/6872663/raw/hi.r",
# sha1 = "54f1db27e60")
# ## End(Not run)
Run the code above in your browser using DataLab