[R-gregmisc-users] SF.net SVN: r-gregmisc: [1192] trunk/SASxport/tests
Brought to you by:
warnes
From: <wa...@us...> - 2007-10-01 20:09:21
|
Revision: 1192 http://r-gregmisc.svn.sourceforge.net/r-gregmisc/?rev=1192&view=rev Author: warnes Date: 2007-10-01 13:09:03 -0700 (Mon, 01 Oct 2007) Log Message: ----------- Update saved R output to include startup message Modified Paths: -------------- trunk/SASxport/tests/Alfalfa_Test.Rout.save trunk/SASxport/tests/TestUnnamedComponents.Rout.save trunk/SASxport/tests/Theoph.Rout.save trunk/SASxport/tests/cars.Rout.save trunk/SASxport/tests/testDates.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 2007-09-25 19:58:05 UTC (rev 1191) +++ trunk/SASxport/tests/Alfalfa_Test.Rout.save 2007-10-01 20:09:03 UTC (rev 1192) @@ -1,5 +1,5 @@ -R version 2.5.1 (2007-06-27) +R version 2.6.0 beta (2007-09-24 r42966) Copyright (C) 2007 The R Foundation for Statistical Computing ISBN 3-900051-07-0 @@ -19,6 +19,12 @@ > ## existing SAS xport file "Alfalfa.xpt" > > library(SASxport) + +Loaded SASxport version 1.1.1 (2007-09-25). + + Updates and technical support available from Random Technologies, LLC + <http://random-technologies-llc.com/contact> + > > # existing data file > SPEC <- read.xport("Alfalfa.xpt") Modified: trunk/SASxport/tests/TestUnnamedComponents.Rout.save =================================================================== --- trunk/SASxport/tests/TestUnnamedComponents.Rout.save 2007-09-25 19:58:05 UTC (rev 1191) +++ trunk/SASxport/tests/TestUnnamedComponents.Rout.save 2007-10-01 20:09:03 UTC (rev 1192) @@ -1,5 +1,5 @@ -R version 2.5.1 (2007-06-27) +R version 2.6.0 beta (2007-09-24 r42966) Copyright (C) 2007 The R Foundation for Statistical Computing ISBN 3-900051-07-0 @@ -16,6 +16,12 @@ Type 'q()' to quit R. > library(SASxport) + +Loaded SASxport version 1.1.1 (2007-09-25). + + Updates and technical support available from Random Technologies, LLC + <http://random-technologies-llc.com/contact> + > > > ##tests @@ -85,7 +91,8 @@ rd.xpr> SASxport:::assert( is.data.frame(w)==FALSE && is.list(w)==TRUE ) > write.xport(w$test,file="a.xpt") Warning message: -Data frame names modified to obey SAS rules in: write.xport(w$test, file = "a.xpt") +In write.xport(w$test, file = "a.xpt") : + Data frame names modified to obey SAS rules > lookup.xport("a.xpt") SAS xport file @@ -161,7 +168,8 @@ > > write.xport(w$test,w$z,file="a.xpt") Warning message: -Data frame names modified to obey SAS rules in: write.xport(w$test, w$z, file = "a.xpt") +In write.xport(w$test, w$z, file = "a.xpt") : + Data frame names modified to obey SAS rules > lookup.xport("a.xpt") SAS xport file @@ -263,7 +271,8 @@ > names(w) <- NULL > write.xport(w[[1]],w[[2]],file="a.xpt") Warning message: -Data frame names modified to obey SAS rules in: write.xport(w[[1]], w[[2]], file = "a.xpt") +In write.xport(w[[1]], w[[2]], file = "a.xpt") : + Data frame names modified to obey SAS rules > lookup.xport("a.xpt") SAS xport file @@ -291,7 +300,8 @@ > names(w) <- NULL > write.xport(list=w,file="a.xpt") Warning message: -Replacing missing or invalid dataset names in: write.xport(list = w, file = "a.xpt") +In write.xport(list = w, file = "a.xpt") : + Replacing missing or invalid dataset names > lookup.xport("a.xpt") SAS xport file @@ -366,12 +376,13 @@ > > ### Check that we catch invalid parameters > failure <- try( write.xport(5,"a.xpt") ) -Error in write.xport(5, "a.xpt") : '5', 'a.xpt' are not data.frame objects. +Error in write.xport(5, "a.xpt") : + '5', 'a.xpt' are not data.frame objects. > SASxport:::assert( "try-error" %in% class(failure) ) > > failure <- try( write.xport(list(a=5,b=6),"a.xpt") ) Error in write.xport(list(a = 5, b = 6), "a.xpt") : - 'list(a = 5, b = 6)', 'a.xpt' are not data.frame objects. + 'list(a = 5, b = 6)', 'a.xpt' are not data.frame objects. > SASxport:::assert( "try-error" %in% class(failure) ) > > @@ -442,7 +453,8 @@ rd.xpr> SASxport:::assert( is.data.frame(w)==FALSE && is.list(w)==TRUE ) > write.xport(list=base::list(w$test,w$z),file="a.xpt") Warning message: -Replacing missing or invalid dataset names in: write.xport(list = base::list(w$test, w$z), file = "a.xpt") +In write.xport(list = base::list(w$test, w$z), file = "a.xpt") : + Replacing missing or invalid dataset names > lookup.xport("a.xpt") SAS xport file @@ -535,7 +547,8 @@ > names(w) <- NULL > write.xport(list=w,file="a.xpt") Warning message: -Replacing missing or invalid dataset names in: write.xport(list = w, file = "a.xpt") +In write.xport(list = w, file = "a.xpt") : + Replacing missing or invalid dataset names > lookup.xport("a.xpt") SAS xport file @@ -676,7 +689,8 @@ > colnames(w[[2]]) <- rep("", length=ncol(w[[2]])) > write.xport(list=w,file="a.xpt") Warning message: -Unnamed variables detected, using default names in: write.xport(list = w, file = "a.xpt") +In write.xport(list = w, file = "a.xpt") : + Unnamed variables detected, using default names > lookup.xport("a.xpt") SAS xport file Modified: trunk/SASxport/tests/Theoph.Rout.save =================================================================== --- trunk/SASxport/tests/Theoph.Rout.save 2007-09-25 19:58:05 UTC (rev 1191) +++ trunk/SASxport/tests/Theoph.Rout.save 2007-10-01 20:09:03 UTC (rev 1192) @@ -1,5 +1,5 @@ -R version 2.5.1 (2007-06-27) +R version 2.6.0 beta (2007-09-24 r42966) Copyright (C) 2007 The R Foundation for Statistical Computing ISBN 3-900051-07-0 @@ -21,6 +21,12 @@ > #### > > library(SASxport) + +Loaded SASxport version 1.1.1 (2007-09-25). + + Updates and technical support available from Random Technologies, LLC + <http://random-technologies-llc.com/contact> + > > write.xport(Theoph,file="theoph.xpt") > Theoph.2 <- read.xport("theoph.xpt") Modified: trunk/SASxport/tests/cars.Rout.save =================================================================== --- trunk/SASxport/tests/cars.Rout.save 2007-09-25 19:58:05 UTC (rev 1191) +++ trunk/SASxport/tests/cars.Rout.save 2007-10-01 20:09:03 UTC (rev 1192) @@ -1,5 +1,5 @@ -R version 2.5.1 (2007-06-27) +R version 2.6.0 beta (2007-09-24 r42966) Copyright (C) 2007 The R Foundation for Statistical Computing ISBN 3-900051-07-0 @@ -16,6 +16,12 @@ Type 'q()' to quit R. > library(SASxport) + +Loaded SASxport version 1.1.1 (2007-09-25). + + Updates and technical support available from Random Technologies, LLC + <http://random-technologies-llc.com/contact> + > > > cars <- read.table(file="cars.sas", skip=3, nrows=26, Modified: trunk/SASxport/tests/testDates.Rout.save =================================================================== --- trunk/SASxport/tests/testDates.Rout.save 2007-09-25 19:58:05 UTC (rev 1191) +++ trunk/SASxport/tests/testDates.Rout.save 2007-10-01 20:09:03 UTC (rev 1192) @@ -1,5 +1,5 @@ -R version 2.5.1 (2007-06-27) +R version 2.6.0 beta (2007-09-24 r42966) Copyright (C) 2007 The R Foundation for Statistical Computing ISBN 3-900051-07-0 @@ -16,6 +16,12 @@ Type 'q()' to quit R. > library(SASxport) + +Loaded SASxport version 1.1.1 (2007-09-25). + + Updates and technical support available from Random Technologies, LLC + <http://random-technologies-llc.com/contact> + > > ## Create a small data set containing dates, times, and date-times > @@ -39,7 +45,8 @@ > > write.xport( DATETIME=temp, file="datetime.xpt") Warning message: -Variable names modified to obey SAS rules in: write.xport(DATETIME = temp, file = "datetime.xpt") +In write.xport(DATETIME = temp, file = "datetime.xpt") : + Variable names modified to obey SAS rules > temp2 <- read.xport(file="datetime.xpt", names.tolower=FALSE) > > print(temp2) Modified: trunk/SASxport/tests/test_fields.Rout.save =================================================================== --- trunk/SASxport/tests/test_fields.Rout.save 2007-09-25 19:58:05 UTC (rev 1191) +++ trunk/SASxport/tests/test_fields.Rout.save 2007-10-01 20:09:03 UTC (rev 1192) @@ -1,5 +1,5 @@ -R version 2.5.1 (2007-06-27) +R version 2.6.0 beta (2007-09-24 r42966) Copyright (C) 2007 The R Foundation for Statistical Computing ISBN 3-900051-07-0 @@ -16,6 +16,12 @@ Type 'q()' to quit R. > library(SASxport) + +Loaded SASxport version 1.1.1 (2007-09-25). + + Updates and technical support available from Random Technologies, LLC + <http://random-technologies-llc.com/contact> + > > ## Call C-level test routines > Modified: trunk/SASxport/tests/xport.Rout.save =================================================================== --- trunk/SASxport/tests/xport.Rout.save 2007-09-25 19:58:05 UTC (rev 1191) +++ trunk/SASxport/tests/xport.Rout.save 2007-10-01 20:09:03 UTC (rev 1192) @@ -1,5 +1,5 @@ -R version 2.5.1 (2007-06-27) +R version 2.6.0 beta (2007-09-24 r42966) Copyright (C) 2007 The R Foundation for Statistical Computing ISBN 3-900051-07-0 @@ -16,6 +16,12 @@ Type 'q()' to quit R. > library(SASxport) + +Loaded SASxport version 1.1.1 (2007-09-25). + + Updates and technical support available from Random Technologies, LLC + <http://random-technologies-llc.com/contact> + > > lookup.xport("Alfalfa.xpt") Modified: trunk/SASxport/tests/xxx.Rout.save =================================================================== --- trunk/SASxport/tests/xxx.Rout.save 2007-09-25 19:58:05 UTC (rev 1191) +++ trunk/SASxport/tests/xxx.Rout.save 2007-10-01 20:09:03 UTC (rev 1192) @@ -1,5 +1,5 @@ -R version 2.5.1 (2007-06-27) +R version 2.6.0 beta (2007-09-24 r42966) Copyright (C) 2007 The R Foundation for Statistical Computing ISBN 3-900051-07-0 @@ -16,6 +16,12 @@ Type 'q()' to quit R. > library(SASxport) + +Loaded SASxport version 1.1.1 (2007-09-25). + + Updates and technical support available from Random Technologies, LLC + <http://random-technologies-llc.com/contact> + > > ## manually create a data set > abc <- data.frame( x=c(1, 2, NA, NA ), y=c('a', 'B', NA, '*' ) ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |