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

View source: R/licence_header.R

check_licence_headerR Documentation

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

Description

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

Usage

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 Sept. 26, 2024, 10:15 a.m.