try_source: Tries sourcing a file. Returns TRUE if sourcing did not...

Description Usage Arguments Value Examples

View source: R/try_source.R

Description

Tries sourcing a file. Returns TRUE if sourcing did not error, FALSE if not.

Usage

1
try_source(file, show_warnings = TRUE)

Arguments

file

An R script to source.

Value

TRUE or FALSE

Examples

1
2
3
4
## Not run: 
try_source("my_script.R")

## End(Not run)

b-rodrigues/brotools documentation built on April 21, 2020, 2:27 p.m.