R/findFilesInPackage.R

Defines functions findFilesInPackage

Documented in findFilesInPackage

findFilesInPackage <- function(filenames_s, packageName_s_1) {
  sapply(filenames_s, function(e) {
    file.path(list.files(system.file(package = packageName_s_1),
                         e, recursive = TRUE, full.names = TRUE))
  })
}

Try the wyz.code.offensiveProgramming package in your browser

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

wyz.code.offensiveProgramming documentation built on Sept. 25, 2023, 9:05 a.m.