find_root_safe: Find Root or NULL

Description Usage Examples

View source: R/utils.R View source: R/find_root_safe.R

Description

Find the root or return ‘NULL“ – used when you don’t know whether a root can be found.

Usage

1

Examples

1
2
3
4
5
## Not run: 
  find_root( has_dir("xdx") )      # ERROR!

## End(Not run)
  find_root_safe( has_dir("xdx") ) # NULL

decisionpatterns/cache documentation built on June 15, 2020, 9:35 p.m.