check_licence_header: Check for presence of a licence header (Apache 2.0 or CC-BY)...

Description Usage Arguments Value

View source: R/licence_header.R

Description

Check for presence of a licence header (Apache 2.0 or CC-BY) in one or more files

Usage

1
check_licence_header(files, licence = c("apache2", "cc-by"))

Arguments

files

path to a file

licence

which licence header to check for? One of c("apache2", "cc-by")

Value

named logical vector indicating if each file has the specified licence header


bcgov/bcgovr documentation built on Oct. 11, 2021, 2:02 p.m.