tests/testthat/helper.R

# Get test file path.
# Usage:
#   test_file("blanks.xls")
# Modified from https://github.com/tidyverse/readxl/blob/master/tests/testthat/helper.R
test_file = function( fname ) rprojroot::find_testthat_root_file( "test-files", fname )
test_file_temp = rprojroot::find_testthat_root_file( "test-files-temp" )

Try the easyr package in your browser

Any scripts or data that you put into this service are public.

easyr documentation built on March 31, 2023, 6:22 p.m.