File tree Expand file tree Collapse file tree 2 files changed +0
-40
lines changed Expand file tree Collapse file tree 2 files changed +0
-40
lines changed Original file line number Diff line number Diff line change @@ -792,38 +792,16 @@ String vec_print_numeric(NumericVector v) {
792
792
return buf.str ();
793
793
}
794
794
795
- // [[Rcpp::export]]
796
- String vec_print_numeric_member (NumericVector v) {
797
- std::ostringstream buf;
798
- v.print (" " , buf);
799
- return buf.str ();
800
- }
801
-
802
795
// [[Rcpp::export]]
803
796
String vec_print_character (CharacterVector v) {
804
797
std::ostringstream buf;
805
798
buf << v;
806
799
return buf.str ();
807
800
}
808
801
809
- // [[Rcpp::export]]
810
- String vec_print_character_member (CharacterVector v) {
811
- std::ostringstream buf;
812
- v.print (" " , buf);
813
- return buf.str ();
814
- }
815
-
816
802
// [[Rcpp::export]]
817
803
String vec_print_integer (IntegerVector v) {
818
804
std::ostringstream buf;
819
805
buf << v;
820
806
return buf.str ();
821
807
}
822
-
823
- // [[Rcpp::export]]
824
- String vec_print_integer_member (IntegerVector v) {
825
- std::ostringstream buf;
826
- v.print (" " , buf);
827
- return buf.str ();
828
- }
829
-
Original file line number Diff line number Diff line change @@ -697,34 +697,16 @@ if (.runThisTest) {
697
697
checkEquals(s , " 1.1 2.2 3.3 4.4" )
698
698
}
699
699
700
- test.NumericVector.print.member <- function () {
701
- v <- c(1.1 , 2.2 , 3.3 , 4.4 )
702
- s <- vec_print_numeric_member(v )
703
- checkEquals(s , " 1.1 2.2 3.3 4.4" )
704
- }
705
-
706
700
test.IntegerVector.print <- function () {
707
701
v <- c(1 , 2 , 3 , 4 )
708
702
s <- vec_print_integer(v )
709
703
checkEquals(s , " 1 2 3 4" )
710
704
}
711
705
712
- test.IntegerVector.print.member <- function () {
713
- v <- c(1 , 2 , 3 , 4 )
714
- s <- vec_print_integer_member(v )
715
- checkEquals(s , " 1 2 3 4" )
716
- }
717
-
718
706
test.CharacterVector.print <- function () {
719
707
v <- c(" a" , " b" , " c" , " d" )
720
708
s <- vec_print_character(v )
721
709
checkEquals(s , ' "a" "b" "c" "d"' )
722
710
}
723
-
724
- test.CharacterVector.print.member <- function () {
725
- v <- c(" a" , " b" , " c" , " d" )
726
- s <- vec_print_character_member(v )
727
- checkEquals(s , ' "a" "b" "c" "d"' )
728
- }
729
711
}
730
712
You can’t perform that action at this time.
0 commit comments