get_path_from_splitpath_with_explicit_parent_folder: File and FileList Operations

View source: R/FileQueries.R.R

get_path_from_splitpath_with_explicit_parent_folderR Documentation

File and FileList Operations

Description

File and FileList Operations

Usage

get_path_from_splitpath_with_explicit_parent_folder(
  project,
  splitpath,
  parent_folder,
  file_object_only = FALSE
)

Arguments

project

a sevenbridges 'Project' object. See readme for instructions on how to create this object

splitpath

a single vector where each element in a folder/file in a filepath

parent_folder

folder to act as 'root' folder from which splitpath is relative to (Sevenbridges File Object)

file_object_only

return only the file object - or a list where element 1 is file object and element 2 is a dataframe of all cached filepaths stepped through on the way to finding the file (boolean)

Value

File at the end of the filepath (sevenbridges Files class object) OR NA if file doesnt exist


selkamand/utilitybeltcavatica documentation built on April 26, 2023, 4:18 p.m.