Learn R Programming

bcmaps (version 0.18.1)

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

Description

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

Usage

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")