View source: R/utils.R View source: R/find_root_safe.R
Find the root or return ‘NULL“ – used when you don’t know whether a root can be found.
1 |
1 2 3 4 5 | ## Not run:
find_root( has_dir("xdx") ) # ERROR!
## End(Not run)
find_root_safe( has_dir("xdx") ) # NULL
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.