filename_to_storeid {unitizer} | R Documentation |
Create a Store ID from a Test File Name
filename_to_storeid(x)
x |
character(1L) file name ending in .r or .R |
store id name, or NULL if x
doesn't meet expectations
filename_to_storeid(file.path("tests", "unitizer", "foo.R")) filename_to_storeid(file.path("tests", "unitizer", "boo.r")) # does not end in [rR] filename_to_storeid(file.path("tests", "unitizer", "boo"))