Skip to content

Commit b41294b

Browse files
felixcheungFelix Cheung
authored andcommitted
[SPARK-19333][SPARKR] Add Apache License headers to R files
## What changes were proposed in this pull request? add header ## How was this patch tested? Manual run to check vignettes html is created properly Author: Felix Cheung <[email protected]> Closes #16709 from felixcheung/rfilelicense. (cherry picked from commit 385d738) Signed-off-by: Felix Cheung <[email protected]>
1 parent 93d5887 commit b41294b

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

R/pkg/NAMESPACE

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to You under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
118
# Imports from base R
219
# Do not include stats:: "rpois", "runif" - causes error at runtime
320
importFrom("methods", "setGeneric", "setMethod", "setOldClass")

R/pkg/vignettes/sparkr-vignettes.Rmd

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,23 @@ output:
99
highlight: textmate
1010
---
1111

12+
<!--
13+
Licensed to the Apache Software Foundation (ASF) under one or more
14+
contributor license agreements. See the NOTICE file distributed with
15+
this work for additional information regarding copyright ownership.
16+
The ASF licenses this file to You under the Apache License, Version 2.0
17+
(the "License"); you may not use this file except in compliance with
18+
the License. You may obtain a copy of the License at
19+
20+
http://www.apache.org/licenses/LICENSE-2.0
21+
22+
Unless required by applicable law or agreed to in writing, software
23+
distributed under the License is distributed on an "AS IS" BASIS,
24+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25+
See the License for the specific language governing permissions and
26+
limitations under the License.
27+
-->
28+
1229
## Overview
1330

1431
SparkR is an R package that provides a light-weight frontend to use Apache Spark from R. With Spark `r packageVersion("SparkR")`, SparkR provides a distributed data frame implementation that supports data processing operations like selection, filtering, aggregation etc. and distributed machine learning using [MLlib](http://spark.apache.org/mllib/).

0 commit comments

Comments
 (0)