filename_to_storeid {unitizer} | R Documentation |
Create a Store ID from a Test File Name
Description
Create a Store ID from a Test File Name
Usage
filename_to_storeid(x)
Arguments
x |
character(1L) file name ending in .r or .R |
Value
store id name, or NULL if x
doesn't meet expectations
Examples
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"))
[Package unitizer version 1.4.21 Index]