has_license_header: License header check

View source: R/utils.R

has_license_headerR Documentation

License header check

Description

has_license_header checks if license header is present in all the R source code files of the package using licesen_header().

Usage

has_license_header(pkg = ".", header = "inst/license-header")

Arguments

pkg

package name, used in devtools:::find_code(..).

header

a path to the header file to be used

Value

TRUE if all files have the header, FALSE otherwise.

Examples

## Not run: 
 has_license_header()

## End(Not run)

52North/sensorweb4R documentation built on Oct. 14, 2024, 7:24 p.m.