Description Usage Arguments Value example
test whether a url can be accessed
1 |
url |
string. |
logical scalar.
test_url('www.cookbook-r.com') test_url('www.cookbook-r.com/Graphs2') # not exist test_url('www.cookbook-r.com/Data_input_and_output/Loading_data_from_a_file/datafile.csv') test_url('yihui.name') test_url('www.cosx.org') test_url('www.baidu.com') test_url('www.github.com') test_url('www.google.com') # of course fails and takes several seconds
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.