has_license_header: License header check

Description Usage Arguments Value Examples

View source: R/utils.R

Description

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

Usage

1
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

1
2
3
4
## Not run: 
 has_license_header()

## End(Not run)

52North/sensorweb4R documentation built on March 30, 2020, 11:39 p.m.