filename_to_storeid

0th

Percentile

Create a Store ID from a Test File Name

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

Aliases
  • filename_to_storeid
Examples
# NOT RUN {
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"))
# }
Documentation reproduced from package unitizer, version 1.4.8, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.