get_dist_files: Get list of files to include in distribution package.

Description Usage Arguments Value

View source: R/initproject.r

Description

Note: Due to limitations of the "zip" package, all files in subfolders will be included and can not be filtered/ignored.

Usage

1
2
3
4
5
6
7
get_dist_files(
  path = getwd(),
  ignore_start = c(),
  ignore_end = c(),
  ignore_full = c(),
  dotreplace = T
)

Arguments

path

Path

ignore_start

Ignore paths that start with this

ignore_end

Ignore paths that are exactly this (e.g. c("plot") would exclude plot folder)

dotreplace

dots in ignore list are replaced with \\. to make them regex save.

Value

list of files to include in distribution package


nx10/r-floutil documentation built on Oct. 23, 2020, 2:37 a.m.