[R-gregmisc-users] SF.net SVN: r-gregmisc:[1579] trunk/SASxport/tests
Brought to you by:
warnes
From: <wa...@us...> - 2012-06-28 01:37:26
|
Revision: 1579 http://r-gregmisc.svn.sourceforge.net/r-gregmisc/?rev=1579&view=rev Author: warnes Date: 2012-06-28 01:37:19 +0000 (Thu, 28 Jun 2012) Log Message: ----------- Update saved test output files. Modified Paths: -------------- trunk/SASxport/tests/Alfalfa_Test.Rout.save trunk/SASxport/tests/Theoph.Rout.save trunk/SASxport/tests/cars.Rout.save trunk/SASxport/tests/testDates.Rout.save trunk/SASxport/tests/testNegative.Rout.save trunk/SASxport/tests/testNumeric.Rout.save trunk/SASxport/tests/testUnnamedComponents.Rout.save trunk/SASxport/tests/test_as_is.Rout.save trunk/SASxport/tests/test_fields.Rout.save trunk/SASxport/tests/xport.Rout.save trunk/SASxport/tests/xxx.Rout.save Modified: trunk/SASxport/tests/Alfalfa_Test.Rout.save =================================================================== --- trunk/SASxport/tests/Alfalfa_Test.Rout.save 2012-06-28 01:34:11 UTC (rev 1578) +++ trunk/SASxport/tests/Alfalfa_Test.Rout.save 2012-06-28 01:37:19 UTC (rev 1579) @@ -1,7 +1,8 @@ -R version 2.11.1 (2010-05-31) -Copyright (C) 2010 The R Foundation for Statistical Computing +R version 2.15.0 (2012-03-30) +Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 +Platform: i386-apple-darwin9.8.0/i386 (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. @@ -20,11 +21,8 @@ > > library(SASxport) -Loaded SASxport version 1.2.3 (2008-02-29). +Loaded SASxport version 1.3.0 (2012-06-21). - Updates and technical support available from Random Technologies, LLC - <http://random-technologies-llc.com/products/SASxport> - Type `?SASxport' for usage information. > @@ -47,3 +45,6 @@ > ## Test that the files are identical > SASxport:::assert( all(a.1 == a.2) ) > +> proc.time() + user system elapsed + 0.303 0.025 0.316 Modified: trunk/SASxport/tests/Theoph.Rout.save =================================================================== --- trunk/SASxport/tests/Theoph.Rout.save 2012-06-28 01:34:11 UTC (rev 1578) +++ trunk/SASxport/tests/Theoph.Rout.save 2012-06-28 01:37:19 UTC (rev 1579) @@ -1,7 +1,8 @@ -R version 2.11.1 (2010-05-31) -Copyright (C) 2010 The R Foundation for Statistical Computing +R version 2.15.0 (2012-03-30) +Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 +Platform: i386-apple-darwin9.8.0/i386 (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. @@ -22,11 +23,8 @@ > > library(SASxport) -Loaded SASxport version 1.2.3 (2008-02-29). +Loaded SASxport version 1.3.0 (2012-06-21). - Updates and technical support available from Random Technologies, LLC - <http://random-technologies-llc.com/products/SASxport> - Type `?SASxport' for usage information. > @@ -43,3 +41,6 @@ > SASxport:::assert( all(Theoph[,-1] == Theoph.2[,-1]) ) > > +> proc.time() + user system elapsed + 0.539 0.026 0.555 Modified: trunk/SASxport/tests/cars.Rout.save =================================================================== --- trunk/SASxport/tests/cars.Rout.save 2012-06-28 01:34:11 UTC (rev 1578) +++ trunk/SASxport/tests/cars.Rout.save 2012-06-28 01:37:19 UTC (rev 1579) @@ -1,7 +1,8 @@ -R version 2.11.1 (2010-05-31) -Copyright (C) 2010 The R Foundation for Statistical Computing +R version 2.15.0 (2012-03-30) +Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 +Platform: i386-apple-darwin9.8.0/i386 (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. @@ -17,11 +18,8 @@ > library(SASxport) -Loaded SASxport version 1.2.3 (2008-02-29). +Loaded SASxport version 1.3.0 (2012-06-21). - Updates and technical support available from Random Technologies, LLC - <http://random-technologies-llc.com/products/SASxport> - Type `?SASxport' for usage information. > @@ -64,3 +62,6 @@ > ## Test that the files are identical > SASxport:::assert( all(a.1 == a.2) ) > +> proc.time() + user system elapsed + 0.296 0.025 0.310 Modified: trunk/SASxport/tests/testDates.Rout.save =================================================================== --- trunk/SASxport/tests/testDates.Rout.save 2012-06-28 01:34:11 UTC (rev 1578) +++ trunk/SASxport/tests/testDates.Rout.save 2012-06-28 01:37:19 UTC (rev 1579) @@ -1,7 +1,8 @@ -R version 2.11.1 (2010-05-31) -Copyright (C) 2010 The R Foundation for Statistical Computing +R version 2.15.0 (2012-03-30) +Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 +Platform: i386-apple-darwin9.8.0/i386 (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. @@ -17,11 +18,8 @@ > library(SASxport) -Loaded SASxport version 1.2.3 (2008-02-29). +Loaded SASxport version 1.3.0 (2012-06-21). - Updates and technical support available from Random Technologies, LLC - <http://random-technologies-llc.com/products/SASxport> - Type `?SASxport' for usage information. > @@ -47,8 +45,7 @@ > > write.xport( DATETIME=temp, file="datetime.xpt") Warning message: -In write.xport(DATETIME = temp, file = "datetime.xpt") : - Variable names modified to obey SAS rules +In makeSASNames(colnames(df)) : Truncated 1 long names to 8 characters. > temp2 <- read.xport(file="datetime.xpt", names.tolower=FALSE) > > print(temp2) @@ -63,3 +60,6 @@ > identical(temp, temp2) [1] FALSE > +> proc.time() + user system elapsed + 0.364 0.025 0.378 Modified: trunk/SASxport/tests/testNegative.Rout.save =================================================================== --- trunk/SASxport/tests/testNegative.Rout.save 2012-06-28 01:34:11 UTC (rev 1578) +++ trunk/SASxport/tests/testNegative.Rout.save 2012-06-28 01:37:19 UTC (rev 1579) @@ -1,7 +1,8 @@ -R version 2.11.1 (2010-05-31) -Copyright (C) 2010 The R Foundation for Statistical Computing +R version 2.15.0 (2012-03-30) +Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 +Platform: i386-apple-darwin9.8.0/i386 (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. @@ -17,11 +18,8 @@ > library(SASxport) -Loaded SASxport version 1.2.3 (2008-02-29). +Loaded SASxport version 1.3.0 (2012-06-21). - Updates and technical support available from Random Technologies, LLC - <http://random-technologies-llc.com/products/SASxport> - Type `?SASxport' for usage information. > @@ -43,9 +41,11 @@ > df3 <- data.frame(x.continuous=seq(-100,100,by=0.5), x.integer=as.integer(seq(-100,100,by=0.5)) ) > write.xport(df3, file='df3.xpt') Warning message: -In write.xport(df3, file = "df3.xpt") : - Variable names modified to obey SAS rules +In makeSASNames(colnames(df)) : Truncated 2 long names to 8 characters. > df4 <- read.xport(file='df3.xpt') > > SASxport:::assert(all(df3==df4)) > +> proc.time() + user system elapsed + 0.423 0.027 0.439 Modified: trunk/SASxport/tests/testNumeric.Rout.save =================================================================== --- trunk/SASxport/tests/testNumeric.Rout.save 2012-06-28 01:34:11 UTC (rev 1578) +++ trunk/SASxport/tests/testNumeric.Rout.save 2012-06-28 01:37:19 UTC (rev 1579) @@ -1,7 +1,8 @@ -R version 2.11.1 (2010-05-31) -Copyright (C) 2010 The R Foundation for Statistical Computing +R version 2.15.0 (2012-03-30) +Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 +Platform: i386-apple-darwin9.8.0/i386 (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. @@ -17,11 +18,8 @@ > library(SASxport) -Loaded SASxport version 1.2.3 (2008-02-29). +Loaded SASxport version 1.3.0 (2012-06-21). - Updates and technical support available from Random Technologies, LLC - <http://random-technologies-llc.com/products/SASxport> - Type `?SASxport' for usage information. > @@ -87,3 +85,6 @@ 6 ZZ > > +> proc.time() + user system elapsed + 0.494 0.025 0.507 Modified: trunk/SASxport/tests/testUnnamedComponents.Rout.save =================================================================== --- trunk/SASxport/tests/testUnnamedComponents.Rout.save 2012-06-28 01:34:11 UTC (rev 1578) +++ trunk/SASxport/tests/testUnnamedComponents.Rout.save 2012-06-28 01:37:19 UTC (rev 1579) @@ -1,6 +1,6 @@ -R version 2.12.0 (2010-10-15) -Copyright (C) 2010 The R Foundation for Statistical Computing +R version 2.15.0 (2012-03-30) +Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i386-apple-darwin9.8.0/i386 (32-bit) @@ -18,11 +18,8 @@ > library(SASxport) -Loaded SASxport version 1.2.4 (2010-11-11). +Loaded SASxport version 1.3.0 (2012-06-21). - Updates and technical support available from Random Technologies, LLC - <http://random-technologies-llc.com/products/SASxport> - Type `?SASxport' for usage information. > @@ -116,22 +113,19 @@ rd.xpr> rd.xpr> > write.xport(w$test,file="a.xpt") #1.a -Warning message: -In write.xport(w$test, file = "a.xpt") : - Data frame names modified to obey SAS rules > lookup.xport("a.xpt") #1.b SAS xport file -------------- Filename: `a.xpt' -Variables in data set `W.TEST': +Variables in data set `W$TEST': dataset name type format flength fdigits iformat iflength ifdigits - W.TEST RACE character RACE 0 0 0 0 - W.TEST AGE numeric 0 0 0 0 - W.TEST D1 numeric MMDDYY 10 0 0 0 - W.TEST DT1 numeric DATETIME 0 0 0 0 - W.TEST T1 character TIME 0 0 0 0 + W$TEST RACE character RACE 0 0 0 0 + W$TEST AGE numeric 0 0 0 0 + W$TEST D1 numeric MMDDYY 10 0 0 0 + W$TEST DT1 numeric DATETIME 0 0 0 0 + W$TEST T1 character TIME 0 0 0 0 label nobs 2 Age at Beginning of Study 2 @@ -345,22 +339,19 @@ > > write.xport(w$test,w$z,file="a.xpt") #5.a -Warning message: -In write.xport(w$test, w$z, file = "a.xpt") : - Data frame names modified to obey SAS rules > lookup.xport("a.xpt") #5.b SAS xport file -------------- Filename: `a.xpt' -Variables in data set `W.TEST': +Variables in data set `W$TEST': dataset name type format flength fdigits iformat iflength ifdigits - W.TEST RACE character RACE 0 0 0 0 - W.TEST AGE numeric 0 0 0 0 - W.TEST D1 numeric MMDDYY 10 0 0 0 - W.TEST DT1 numeric DATETIME 0 0 0 0 - W.TEST T1 character TIME 0 0 0 0 + W$TEST RACE character RACE 0 0 0 0 + W$TEST AGE numeric 0 0 0 0 + W$TEST D1 numeric MMDDYY 10 0 0 0 + W$TEST DT1 numeric DATETIME 0 0 0 0 + W$TEST T1 character TIME 0 0 0 0 label nobs 2 Age at Beginning of Study 2 @@ -368,14 +359,14 @@ 2 2 -Variables in data set `W.Z': +Variables in data set `W$Z': dataset name type format flength fdigits iformat iflength ifdigits label - W.Z X3 numeric 0 0 0 0 - W.Z X4 numeric 0 0 0 0 - W.Z X5 numeric 0 0 0 0 - W.Z X6 numeric 0 0 0 0 - W.Z X7 numeric 0 0 0 0 - W.Z X8 numeric 0 0 0 0 + W$Z X3 numeric 0 0 0 0 + W$Z X4 numeric 0 0 0 0 + W$Z X5 numeric 0 0 0 0 + W$Z X6 numeric 0 0 0 0 + W$Z X7 numeric 0 0 0 0 + W$Z X8 numeric 0 0 0 0 nobs 100 100 @@ -385,12 +376,12 @@ 100 > (tmp <- read.xport("a.xpt")) #5.c -$w.test +$`w$test` RACE AGE D1 DT1 T1 1 blue 30 2002-03-03 (03 Mar 2002 04:31:02) 11:13:45 2 31 2002-06-03 (03 Jun 2002 04:42:07) 11:14:13 -$w.z +$`w$z` X3 X4 X5 X6 X7 X8 1 0.554809570 0.91026592 0.199472918 0.77819594 0.76480773 0.907832049 2 0.628906250 0.59507513 0.149382079 0.19969965 0.45795571 0.571611564 @@ -501,13 +492,13 @@ -------------- Filename: `a.xpt' -Variables in data set `W.TEST': +Variables in data set `W$TEST': dataset name type format flength fdigits iformat iflength ifdigits - W.TEST RACE character RACE 0 0 0 0 - W.TEST AGE numeric 0 0 0 0 - W.TEST D1 numeric MMDDYY 10 0 0 0 - W.TEST DT1 numeric DATETIME 0 0 0 0 - W.TEST T1 character TIME 0 0 0 0 + W$TEST RACE character RACE 0 0 0 0 + W$TEST AGE numeric 0 0 0 0 + W$TEST D1 numeric MMDDYY 10 0 0 0 + W$TEST DT1 numeric DATETIME 0 0 0 0 + W$TEST T1 character TIME 0 0 0 0 label nobs 2 Age at Beginning of Study 2 @@ -532,7 +523,7 @@ 100 > (tmp <- read.xport("a.xpt")) #6.c -$w.test +$`w$test` RACE AGE D1 DT1 T1 1 blue 30 2002-03-03 (03 Mar 2002 04:31:02) 11:13:45 2 31 2002-06-03 (03 Jun 2002 04:42:07) 11:14:13 @@ -836,22 +827,19 @@ > > names(w) <- NULL > write.xport(w[[1]],w[[2]],file="a.xpt") #8.a -Warning message: -In write.xport(w[[1]], w[[2]], file = "a.xpt") : - Data frame names modified to obey SAS rules > lookup.xport("a.xpt") #8.b SAS xport file -------------- Filename: `a.xpt' -Variables in data set `W..1..': +Variables in data set `W[[1]]': dataset name type format flength fdigits iformat iflength ifdigits - W..1.. RACE character RACE 0 0 0 0 - W..1.. AGE numeric 0 0 0 0 - W..1.. D1 numeric MMDDYY 10 0 0 0 - W..1.. DT1 numeric DATETIME 0 0 0 0 - W..1.. T1 character TIME 0 0 0 0 + W[[1]] RACE character RACE 0 0 0 0 + W[[1]] AGE numeric 0 0 0 0 + W[[1]] D1 numeric MMDDYY 10 0 0 0 + W[[1]] DT1 numeric DATETIME 0 0 0 0 + W[[1]] T1 character TIME 0 0 0 0 label nobs 2 Age at Beginning of Study 2 @@ -859,14 +847,14 @@ 2 2 -Variables in data set `W..2..': +Variables in data set `W[[2]]': dataset name type format flength fdigits iformat iflength ifdigits label - W..2.. X3 numeric 0 0 0 0 - W..2.. X4 numeric 0 0 0 0 - W..2.. X5 numeric 0 0 0 0 - W..2.. X6 numeric 0 0 0 0 - W..2.. X7 numeric 0 0 0 0 - W..2.. X8 numeric 0 0 0 0 + W[[2]] X3 numeric 0 0 0 0 + W[[2]] X4 numeric 0 0 0 0 + W[[2]] X5 numeric 0 0 0 0 + W[[2]] X6 numeric 0 0 0 0 + W[[2]] X7 numeric 0 0 0 0 + W[[2]] X8 numeric 0 0 0 0 nobs 100 100 @@ -876,12 +864,12 @@ 100 > (tmp <- read.xport("a.xpt")) #8.c -$w..1.. +$`w[[1]]` RACE AGE D1 DT1 T1 1 blue 30 2002-03-03 (03 Mar 2002 04:31:02) 11:13:45 2 31 2002-06-03 (03 Jun 2002 04:42:07) 11:14:13 -$w..2.. +$`w[[2]]` X3 X4 X5 X6 X7 X8 1 0.554809570 0.91026592 0.199472918 0.77819594 0.76480773 0.907832049 2 0.628906250 0.59507513 0.149382079 0.19969965 0.45795571 0.571611564 @@ -2174,3 +2162,6 @@ 100 0.823852539 0.12452227 0.845681194 0.08775397 0.15969781 0.854058568 > +> proc.time() + user system elapsed + 2.092 0.073 8.083 Modified: trunk/SASxport/tests/test_as_is.Rout.save =================================================================== --- trunk/SASxport/tests/test_as_is.Rout.save 2012-06-28 01:34:11 UTC (rev 1578) +++ trunk/SASxport/tests/test_as_is.Rout.save 2012-06-28 01:37:19 UTC (rev 1579) @@ -1,7 +1,8 @@ -R version 2.11.1 (2010-05-31) -Copyright (C) 2010 The R Foundation for Statistical Computing +R version 2.15.0 (2012-03-30) +Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 +Platform: i386-apple-darwin9.8.0/i386 (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. @@ -17,11 +18,8 @@ > library(SASxport) -Loaded SASxport version 1.2.3 (2008-02-29). +Loaded SASxport version 1.3.0 (2012-06-21). - Updates and technical support available from Random Technologies, LLC - <http://random-technologies-llc.com/products/SASxport> - Type `?SASxport' for usage information. > @@ -67,3 +65,6 @@ > > > +> proc.time() + user system elapsed + 0.269 0.024 0.282 Modified: trunk/SASxport/tests/test_fields.Rout.save =================================================================== --- trunk/SASxport/tests/test_fields.Rout.save 2012-06-28 01:34:11 UTC (rev 1578) +++ trunk/SASxport/tests/test_fields.Rout.save 2012-06-28 01:37:19 UTC (rev 1579) @@ -1,7 +1,8 @@ -R version 2.11.1 (2010-05-31) -Copyright (C) 2010 The R Foundation for Statistical Computing +R version 2.15.0 (2012-03-30) +Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 +Platform: i386-apple-darwin9.8.0/i386 (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. @@ -17,11 +18,8 @@ > library(SASxport) -Loaded SASxport version 1.2.3 (2008-02-29). +Loaded SASxport version 1.3.0 (2012-06-21). - Updates and technical support available from Random Technologies, LLC - <http://random-technologies-llc.com/products/SASxport> - Type `?SASxport' for usage information. > @@ -32,3 +30,6 @@ > > ## Successful completion means all SASxport:::assertions have been met > +> proc.time() + user system elapsed + 0.240 0.023 0.252 Modified: trunk/SASxport/tests/xport.Rout.save =================================================================== --- trunk/SASxport/tests/xport.Rout.save 2012-06-28 01:34:11 UTC (rev 1578) +++ trunk/SASxport/tests/xport.Rout.save 2012-06-28 01:37:19 UTC (rev 1579) @@ -1,7 +1,8 @@ -R version 2.11.1 (2010-05-31) -Copyright (C) 2010 The R Foundation for Statistical Computing +R version 2.15.0 (2012-03-30) +Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 +Platform: i386-apple-darwin9.8.0/i386 (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. @@ -17,11 +18,8 @@ > library(SASxport) -Loaded SASxport version 1.2.3 (2008-02-29). +Loaded SASxport version 1.3.0 (2012-06-21). - Updates and technical support available from Random Technologies, LLC - <http://random-technologies-llc.com/products/SASxport> - Type `?SASxport' for usage information. > @@ -106,3 +104,6 @@ Max. :40453 > > q() +> proc.time() + user system elapsed + 0.286 0.025 0.300 Modified: trunk/SASxport/tests/xxx.Rout.save =================================================================== --- trunk/SASxport/tests/xxx.Rout.save 2012-06-28 01:34:11 UTC (rev 1578) +++ trunk/SASxport/tests/xxx.Rout.save 2012-06-28 01:37:19 UTC (rev 1579) @@ -1,7 +1,8 @@ -R version 2.11.1 (2010-05-31) -Copyright (C) 2010 The R Foundation for Statistical Computing +R version 2.15.0 (2012-03-30) +Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 +Platform: i386-apple-darwin9.8.0/i386 (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. @@ -17,11 +18,8 @@ > library(SASxport) -Loaded SASxport version 1.2.3 (2008-02-29). +Loaded SASxport version 1.3.0 (2012-06-21). - Updates and technical support available from Random Technologies, LLC - <http://random-technologies-llc.com/products/SASxport> - Type `?SASxport' for usage information. > @@ -79,3 +77,6 @@ > > > +> proc.time() + user system elapsed + 0.287 0.027 0.303 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |