File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1+ 2014-09-02 Dirk Eddelbuettel <edd@debian.org>
2+
3+ * inst/include/Rcpp/vector/Vector.h: Reversing change from Aug 30: the
4+ Vector ctor from char* and string are used for CharacterVector()
5+
162014-09-02 JJ Allaire <jj@rstudio.org>
27
38 * R/Attributes.R: Include LinkingTo in DESCRIPTION fields scanned
Original file line number Diff line number Diff line change 3636 \itemize {
3737 \item The \code {Rcpp - FAQ } vignette was updated with respect to OS X issues.
3838 }
39- \item Deprecation of unused Rcpp featires :
40- \itemize {
41- \item The \code {Vector } class has two constructors from \code {std :: string }
42- and \code {const char * } which are not fully functional and will be
43- withdrawn twelve months after this release.
44- }
4539 }
4640}
4741
Original file line number Diff line number Diff line change @@ -89,14 +89,15 @@ class Vector :
8989 fill ( u ) ;
9090 }
9191
92+ // constructor for CharacterVector()
9293 Vector ( const std::string& st ){
9394 RCPP_DEBUG_2 ( " Vector<%d>( const std::string& = %s )" , RTYPE, st.c_str () )
94- Rf_warning (" The Vector(std::string) constructor is deprecated and will be removed in a future release." );
9595 Storage::set__ ( internal::vector_from_string<RTYPE>(st) ) ;
9696 }
97+
98+ // constructor for CharacterVector()
9799 Vector ( const char * st ) {
98100 RCPP_DEBUG_2 ( " Vector<%d>( const char* = %s )" , RTYPE, st )
99- Rf_warning (" The Vector(const char*) constructor is deprecated and will be removed in a future release." );
100101 Storage::set__ (internal::vector_from_string<RTYPE>(st) ) ;
101102 }
102103
You can’t perform that action at this time.
0 commit comments