add_license_header: Add the boilerplate Apache header to the top of a source code...

Description Usage Arguments

View source: R/internal.R

Description

Add the boilerplate Apache header to the top of a source code file

Usage

1
2
3
4
5
add_license_header(
  file,
  year = format(Sys.Date(), "%Y"),
  copyright_holder = "Province of British Columbia"
)

Arguments

file

Path to the file

year

The year the license should apply (Default current year)

copyright_holder

Copyright holder (Default "Province of British Columbia")


bcmaps documentation built on March 10, 2021, 1:06 a.m.