combine_dir_and_base: Derive full paths

Description Usage Arguments Examples

View source: R/renamed-files.R

Description

Derive full paths given directory paths, base_names, extensions and reassignment index.

Usage

1
combine_dir_and_base(dirs, base_names, extensions, reassignment_index)

Arguments

dirs

Character vector with directories.

base_names

List of pairs containing the old base name as the first element and the new base name as the second.

extensions

The extensions that indicate the suffix of the name.

reassignment_index

Integer vector indicating the position of the re-assignment in the original unnested detailed log.

Examples

1
2
3
4
5
gitsum:::combine_dir_and_base(
  "R",
  list(c("a", "b"), c("API", "api2"), c("scr", "inst/include")),
  list("", "", "dplyr_types.h"), c(1, 42, 61)
)

lorenzwalthert/gitsum documentation built on Jan. 17, 2021, 9:34 p.m.