## Not run:
# # Get the SHA hash of a file. It will print the text below and return
# # the hash as a string. This is a very long URL; break it up so it can be
# # seen more easily in the examples.
# test_url <- paste0("https://gist.github.com/wch/dae7c106ee99fe1fdfe7",
# "/raw/db0c9bfe0de85d15c60b0b9bf22403c0f5e1fb15/test.r")
# sha_url(test_url)
# # Command for sourcing the URL:
# # downloader::source_url("https://gist.github.com/wch/dae7c106ee99fe1fdfe7
# # /raw/db0c9bfe0de85d15c60b0b9bf22403c0f5e1fb15/test.r",
# # sha="9b8ff5213e32a871d6cb95cce0bed35c53307f61")
# # [1] "9b8ff5213e32a871d6cb95cce0bed35c53307f61"
# ## End(Not run)
Run the code above in your browser using DataLab