find_paths: Finds the full path of files

Description Usage Arguments Value Author(s) Examples

Description

Finds the full path of files

Usage

1
find_paths(filenames)

Arguments

filenames

the names of files

Value

the full path of the filenames if an existing file could be found, stops otherwise

Author(s)

Richel Bilderbeek

Examples

1
2
3
4
  filenames <- wiritttes::find_paths(
    c("toy_example_1.RDa", "toy_example_2.RDa"))
  testit::assert(file.exists(filenames[1]))
  testit::assert(file.exists(filenames[2]))

richelbilderbeek/wiritttes documentation built on May 27, 2019, 8:14 a.m.