File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change
1
+ 2021-01-21 Dirk Eddelbuettel <edd@debian.org>
2
+
3
+ * inst/include/Rcpp/DataFrame.h: Remove unused variable
4
+
5
+ * R/Attributes.R (sourceCpp): Support argument echo to be passed to
6
+ source() to silence optional R evaluation
7
+
1
8
2021-01-19 Dirk Eddelbuettel <edd@debian.org>
2
9
3
10
* DESCRIPTION (Version, Date): Roll minor version
Original file line number Diff line number Diff line change 2
2
//
3
3
// DataFrame.h: Rcpp R/C++ interface class library -- data frames
4
4
//
5
- // Copyright (C) 2010 - 2015 Dirk Eddelbuettel and Romain Francois
5
+ // Copyright (C) 2010 - 2021 Dirk Eddelbuettel and Romain Francois
6
6
//
7
7
// This file is part of Rcpp.
8
8
//
@@ -106,7 +106,7 @@ namespace Rcpp{
106
106
Parent::push_front (object, name);
107
107
set_type_after_push ();
108
108
}
109
-
109
+
110
110
// Offer multiple variants to accomodate both old interface here and signatures in other classes
111
111
inline int nrows () const { return DataFrame_Impl::nrow (); }
112
112
inline int rows () const { return DataFrame_Impl::nrow (); }
@@ -133,7 +133,6 @@ namespace Rcpp{
133
133
void set_type_after_push (){
134
134
int max_rows = 0 ;
135
135
bool invalid_column_size = false ;
136
- SEXP data = Parent::get__ ();
137
136
List::iterator it;
138
137
// Get the maximum number of rows
139
138
for (it = Parent::begin (); it != Parent::end (); ++it) {
You can’t perform that action at this time.
0 commit comments