Skip to content

Commit c2df038

Browse files
committed
added #nocov markers + copyright header
also run M-x untabify
1 parent 7e4a24b commit c2df038

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
2016-12-26 Dirk Eddelbuettel <[email protected]>
22

33
* R/Module.R: Added #nocov markers
4+
* R/exposeClass.R: Idem, added copyright header
45

56
2016-12-25 Dirk Eddelbuettel <[email protected]>
67

R/exposeClass.R

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
1-
.stdHeader <- c(
1+
# Copyright (C) 2013 - 2016 John Chambers, Dirk Eddelbuettel and Romain Francois
2+
#
3+
# This file is part of Rcpp.
4+
#
5+
# Rcpp is free software: you can redistribute it and/or modify it
6+
# under the terms of the GNU General Public License as published by
7+
# the Free Software Foundation, either version 2 of the License, or
8+
# (at your option) any later version.
9+
#
10+
# Rcpp is distributed in the hope that it will be useful, but
11+
# WITHOUT ANY WARRANTY; without even the implied warranty of
12+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
# GNU General Public License for more details.
14+
#
15+
# You should have received a copy of the GNU General Public License
16+
# along with Rcpp. If not, see <http://www.gnu.org/licenses/>.
17+
18+
.stdHeader <- c( # #nocov start
219
"#include <Rcpp.h>",
320
"using namespace Rcpp ;"
421
)
@@ -191,7 +208,7 @@ exposeClass <- function(class, constructors, fields, methods,
191208
writeLines(sprintf("%s <- setRcppClass(\"%s\"%s%s)",
192209
class, class, CppString,ModString), Rcon)
193210
}
194-
}
211+
} # #nocov end
195212

196213

197214

0 commit comments

Comments
 (0)