find_paths: Finds the full path of files

Description Usage Arguments Value Author(s) Examples

View source: R/find_paths.R

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
5
  filenames <- goodpracticeeighteen::find_paths(
    c("f_with_examples.Rd", "f_without_examples.Rd")
  )
  testit::assert(file.exists(filenames[1]))
  testit::assert(file.exists(filenames[2]))

richelbilderbeek/goodpracticeeighteen documentation built on May 27, 2019, 7:59 a.m.