[R-gregmisc-commits] r2067 - pkg/gtools/tests

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Aug 8 07:01:12 CEST 2015


Author: warnes
Date: 2015-08-08 07:01:12 +0200 (Sat, 08 Aug 2015)
New Revision: 2067

Added:
   pkg/gtools/tests/smartbind_emptynames.R
Log:
Add half-hearted test file

Added: pkg/gtools/tests/smartbind_emptynames.R
===================================================================
--- pkg/gtools/tests/smartbind_emptynames.R	                        (rev 0)
+++ pkg/gtools/tests/smartbind_emptynames.R	2015-08-08 05:01:12 UTC (rev 2067)
@@ -0,0 +1,10 @@
+library(devtools)
+load_all("~/src/r-gregmisc/gtools")  # for updated smartbind
+
+df1 <- data.frame(a=1, b=2,          d=TRUE )
+df2 <- data.frame(     b=7, c="YES", d=FALSE)
+df3 <- data.frame(     b=7, c="YES"         )
+
+smartbind( df1, df2, df3 )
+smartbind( df1=df1, df2, df3=df3 )
+



More information about the R-gregmisc-commits mailing list