license_header: License header

Description Usage Arguments Value Examples

View source: R/utils.R

Description

license_header check if license header is present in all the R source code files of the package.

Usage

1
license_header(pkg = ".", header = "inst/license-header", add = FALSE)

Arguments

pkg

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

header

a path to the header file to be used

add

UNSTABLE boolean variable for automatically adding the header if it is missing - BETA, the function will not replace an existing but slightly different header!

Value

A human readable message of the result of the function, including the files that were changed (if any).

Examples

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

## End(Not run)

52North/sensorweby documentation built on May 5, 2019, 10:45 a.m.