2013-05-12 warnes * [r1659] NAMESPACE, R/SAStype.R, R/read.xport.R, src/SASxport.c, tests/dfAttributes.R: Complete work to handle dataframe label and type 2013-05-11 warnes * [r1658] NAMESPACE, R/SAStype.R, R/write.xport.R, R/xport.member.header.R, man/label.Rd, src/SASxport.c, src/SASxport.h, src/init.c, src/writeSAS.c, src/writeSAS.h: Add support for dataset labels and types * [r1657] tests/dfAttributes.R, tests/xxx.R: Fix spelling error * [r1656] inst/NEWS: Update for version 1.3.2 * [r1655] DESCRIPTION: Update for release 1.3.2 * [r1654] R/write.xport.R, R/zzz.R: Fix spelling error. * [r1653] src/SASxport.c, src/SASxport.h, src/foreign.h: Carry bug fix forward to handle loading xport data when a dataset ends on exactly 80 byte block boundry. * [r1652] man/Alfalfa.Rd, man/lookup.xport.Rd: Replace file.path(path.package(...)) with system.file(...) * [r1651] tests/events.csv, tests/exposure.csv, tests/testBlockBoundary.R: Carry bug fix forward to handle loading xport data when a dataset ends on exactly 80 byte block boundry. * [r1650] R/zzz.R: Remove obsolete .First.lib() 2013-03-24 warnes * [r1649] DESCRIPTION, inst/NEWS: Update for release 1.3.1 * [r1648] man/Alfalfa.Rd, man/lookup.xport.Rd: Replace obsolete use of .path.package() with path.package() 2012-06-29 warnes * [r1593] inst/extdata, inst/extdata/Alfalfa.xpt, man/Alfalfa.Rd, man/lookup.xport.Rd: Create inst/extdata directory to hold example file Alfalfa.xpt. * [r1592] tests/Alfalfa_Test.Rout.save, tests/Theoph.Rout.save, tests/cars.Rout.save, tests/testDates.Rout.save, tests/testDuplicateNames.Rout.save, tests/testManyNames.Rout.save, tests/testNegative.Rout.save, tests/testNumeric.Rout.save, tests/testUnnamedComponents.Rout.save, tests/test_as_is.Rout.save, tests/test_fields.Rout.save, tests/xport.Rout.save, tests/xxx.Rout.save: Update SASxport version number * [r1591] data/Alfalfa.Rda, data/Alfalfa.rda: Fix capitalization of extension from .Rda to .rda * [r1590] data/Alfalfa.R, data/Alfalfa.Rda, data/Alfalfa.xpt: Convert Alfalfa data set to an R data file instead of R code + xpt file * [r1589] man/SASxport-package.Rd: Add makeSASNames() to the package manual page. * [r1588] DESCRIPTION, inst/NEWS: Update DESCRIPTION and NEWS for SASxport 1.3.0 * [r1587] NAMESPACE: Add makeSASNames() to exported functions. * [r1586] man/makeSASNames.Rd: Add documentation for the 'quiet' argument of makeSASNames(). 2012-06-28 warnes * [r1585] inst/ChangeLog: Changelong shouldn't be stored in svn * [r1584] man/makeSASNames.Rd: Fix see also reference for make.names(). * [r1583] man/label.Rd, man/write.xport.Rd: Remove references to Random Technologies. * [r1582] man/makeSASNames.Rd: Add man page for makeSASNames() function. * [r1581] R/makeSASNames.R: Fixed bug when only some names are duplicated. * [r1580] R/makeSASNames.R, R/write.xport.R, tests/testDuplicateNames.R, tests/testDuplicateNames.Rout.save, tests/testManyNames.R, tests/testManyNames.Rout.save: New makeSASNames() function creates valid SAS names from a list of R object or column names, properly handling case conversion (all converted to upper-case), length restructions (8 characters), and making duplicate names unique. This is not as obvious as it appears, since the process of shortening names can render cause name to become duplicates, and adding digits to the end of names to make them unique can make them too long, so a few iterations may be requireed to ensure valid and unique names. * [r1579] tests/Alfalfa_Test.Rout.save, tests/Theoph.Rout.save, tests/cars.Rout.save, tests/testDates.Rout.save, tests/testNegative.Rout.save, tests/testNumeric.Rout.save, tests/testUnnamedComponents.Rout.save, tests/test_as_is.Rout.save, tests/test_fields.Rout.save, tests/xport.Rout.save, tests/xxx.Rout.save: Update saved test output files. * [r1578] R/zzz.R, man/SASxport-package.Rd, src/ibm2ieee.c, src/ieee2ibm.c, src/init.c, src/test_fields.c, src/writeSAS.c, src/writeSAS.h: Remove references to Random Technologies LLC and update email address. 2012-06-21 warnes * [r1572] tests/TestUnnamedComponents.Rout.save, tests/testUnnamedComponents.Rout.save: Standardize file capitalization * [r1571] tests/TestUnnamedComponents.R, tests/testUnnamedComponents.R: Standardize file capitalization 2010-11-12 warnes * [r1458] tests/TestUnnamedComponents.Rout.save: Update reference test output for TestUnnamedComponents.R * [r1457] DESCRIPTION, inst/ChangeLog, inst/NEWS: Update for SASxport release 1.2.4 * [r1456] man/SASxport-package.Rd, man/read.xport.Rd, man/toSAS.Rd, man/write.xport.Rd: Update Greg's email address * [r1455] R/read.xport.R, R/xport.R: Fix bug: 'as.is=TRUE' argument to read.xport was being ignored. * [r1454] tests/Alfalfa_Test.Rout.save, tests/TestUnnamedComponents.Rout.save, tests/Theoph.Rout.save, tests/cars.Rout.save, tests/datetime.xpt, tests/puromycin.xpt, tests/testDates.Rout.save, tests/testNegative.Rout.save, tests/testNumeric.Rout.save, tests/test_as_is.R, tests/test_as_is.Rout.save, tests/test_fields.Rout.save, tests/xport.Rout.save, tests/xxx.Rout.save: Add test for proper function of as.is flag to read.xport 2008-02-29 warnes * [r1245] DESCRIPTION, inst/ChangeLog, inst/NEWS: Update for release 1.2.3 * [r1244] man/write.xport.Rd: Correct typo in write.xport man page 2007-11-09 warnes * [r1227] inst/ChangeLog, inst/NEWS: Update NEWS and ChangeLog for 1.2.2 * [r1226] src/ibm2ieee.c, src/ieee2ibm.c: Apply patches to fix problems on 64 bit platforms, as sumitted by Brian Ripley. 2007-11-07 warnes * [r1225] tests/Alfalfa_Test.Rout.save, tests/TestUnnamedComponents.Rout.save, tests/Theoph.Rout.save, tests/cars.Rout.save, tests/testDates.Rout.save, tests/testNegative.Rout.save, tests/testNumeric.Rout.save, tests/test_fields.Rout.save, tests/xport.Rout.save, tests/xxx.Rout.save: Update version number * [r1224] DESCRIPTION: Bump version number * [r1223] src/ibm2ieee.c, src/reverse.c, src/writeSAS.c, src/writeSAS.h: Apply patches to fix problems on 64 bit platforms, as sumitted by Brian Ripley, and to replace assert() calls with calls a macro that maps to error() unless standalone testing is being done, in which case assert() is used. 2007-11-05 warnes * [r1220] DESCRIPTION, inst/NEWS, src/writeSAS.c: Remove extraneous ';' characters after function closing brace 2007-11-01 warnes * [r1211] DESCRIPTION: Remove dependency on foreign, since the necessary functionality is now provided internally. * [r1210] TODO, inst/ChangeLog: Update TODO file * [r1209] man/SASxport-package.Rd, man/label.Rd, man/read.xport.Rd, man/toSAS.Rd, man/write.xport.Rd: Update to match changes to functions * [r1208] DESCRIPTION: Update to match package changes * [r1207] tests/Alfalfa_Test.Rout.save, tests/TestUnnamedComponents.R, tests/TestUnnamedComponents.Rout.save, tests/Theoph.Rout.save, tests/cars.Rout.save, tests/testDates.Rout.save, tests/testNegative.Rout.save, tests/testNumeric.R, tests/testNumeric.Rout.save, tests/test_fields.Rout.save, tests/xport.Rout.save, tests/xxx.R, tests/xxx.Rout.save: Update stored test output to match package changes * [r1206] inst/NEWS: Update for new release * [r1205] NAMESPACE: Remove dependency on foreign * [r1204] src/ieee2ibm.c, src/init.c, src/swap_bytes.h: Copy code from foreign for lookup.xport() and read.xport(), extend lookup.xport() to show information about SAS format and iformat * [r1203] R/SASformat.R, R/SASiformat.R, R/formats.R, R/fstr.R, R/iformat.R, R/lookup.xport.R, R/make.formats.R, R/read.xport.R, R/toSAS.R, R/write.xport.R: - Use of the attribute named 'format' caused problems with chron objects. Consequently, the format information is now stored in the 'SASformat' attribute. For consistency, the input format information is now stored in the 'SASiformat' attribute. - The functions for extracting and setting the format and iformat information have been renamed to 'SASformat' and 'SASiformat', etc. - In order to properly handle SAS format information, we now use a locally modified version of foreign::lookup.xport and foreign::read.xport. - Various typo corrections - Creation of a new function fstr() to generate sas format name strings using name, length, and digits information. - Addion of a toSAS method for chron() objects * [r1202] R/xport.R, src/SASxport.c, src/SASxport.h: Copy code from foreign for lookup.xport() and read.xport(), extend lookup.xport() to show information about SAS format and iformat * [r1201] R/importConvertDateTime.R: Improve handling of SAS data and time formats, simplify code 2007-10-29 warnes * [r1200] DESCRIPTION, R/xport.numeric.R, inst/ChangeLog, src/ibm2ieee.c, src/ieee2ibm.c, tests/testNegative.R: Fixes to correct handling storage of negative numbers * [r1199] R/zzz.R: Belatedly commit change to startup message to give path to SASxport product page rather than contact page * [r1198] src/reverse.c: Comment out debugging message in reverse() * [r1197] tests/Alfalfa_Test.Rout.save, tests/TestUnnamedComponents.Rout.save, tests/Theoph.Rout.save, tests/cars.Rout.save, tests/testDates.Rout.save, tests/test_fields.Rout.save, tests/xport.Rout.save, tests/xxx.Rout.save: Commit changes to stored output to match changed package load message 2007-10-22 warnes * [r1196] DESCRIPTION: Clarify GPL version 2007-10-02 warnes * [r1195] inst/ChangeLog, tests/Alfalfa_Test.Rout.save, tests/TestUnnamedComponents.Rout.save, tests/Theoph.Rout.save, tests/cars.Rout.save, tests/testDates.Rout.save, tests/test_fields.Rout.save, tests/xport.Rout.save, tests/xxx.Rout.save: Add information on how to get help to the startup message * [r1194] R/zzz.R: Add information on how to get help to the startup message * [r1193] NAMESPACE: Add dependenct on utils::packageDescription 2007-10-01 warnes * [r1192] tests/Alfalfa_Test.Rout.save, tests/TestUnnamedComponents.Rout.save, tests/Theoph.Rout.save, tests/cars.Rout.save, tests/testDates.Rout.save, tests/test_fields.Rout.save, tests/xport.Rout.save, tests/xxx.Rout.save: Update saved R output to include startup message 2007-09-25 warnes * [r1191] DESCRIPTION, inst/ChangeLog: Update version number and date * [r1190] man/SASxport-package.Rd, man/write.xport.Rd: Indicate that Metrum partially funded development * [r1189] R/zzz.R: Display version and support information on package load 2007-09-18 warnes * [r1188] DESCRIPTION: Spent more time than Metrum paid for 2007-09-15 warnes * [r1187] man/SASxport-package.Rd, man/lookup.xport.Rd, man/read.xport.Rd, man/toSAS.Rd, tests/TestUnnamedComponents.Rout.save: Improve formatting for pdf output * [r1186] inst/ChangeLog: Update changelog * [r1185] tests/TestUnnamedComponents.R: Changes so test TestUnnamedCompontents.R runs under R 2.4.1 on Win32 * [r1184] DESCRIPTION, R/make.formats.R, R/toSAS.R, R/write.xport.R, R/xport.character.R, man/Alfalfa.Rd, man/lookup.xport.Rd, man/toSAS.Rd, man/write.xport.Rd, tests/Alfalfa_Test.R, tests/Alfalfa_Test.Rout.save, tests/TestUnnamedComponents.Rout.save, tests/Theoph.Rout.save, tests/cars.R, tests/cars.Rout.save, tests/test.xpt, tests/testDates.Rout.save, tests/test_fields.Rout.save, tests/xport.Rout.save, tests/xxx.R, tests/xxx.Rout.save: Add support for auto-generating SAS formats for factor objects. Refactor argument name handling to improve code clarity. 2007-09-14 warnes * [r1183] R/process.formats.R, R/read.xport.R, data, data/Alfalfa.R, data/Alfalfa.xpt, inst/ChangeLog, man/Alfalfa.Rd, man/lookup.xport.Rd, man/read.xport.Rd, tests/TestUnnamedComponents.Rout.save: Add option to read.xport() that permits inclusion of PROC CONTENTS format information in the returned list 2007-09-13 warnes * [r1180] R/read.xport.R: Ensure 'names.tolower' applies to dataset names * [r1179] tests/TestUnnamedComponents.Rout.save: Update test output to match recent changes. * [r1178] R/write.xport.R: Add checking and handling for unnamed data frames or variables * [r1177] tests/Alfalfa_Test.Rout.save, tests/TestUnnamedComponents.R, tests/TestUnnamedComponents.Rout.save, tests/Theoph.Rout.save, tests/cars.Rout.save, tests/testDates.Rout.save, tests/test_fields.Rout.save, tests/xport.Rout.save, tests/xxx.Rout.save: Update tests now that 'units' and 'units<-' functions no longer are included 2007-09-12 warnes * [r1176] NAMESPACE: Remove units() and units<-() functions since they arene't ever used. * [r1175] R/units.R, man/label.Rd, man/units.Rd: Remove units() and units<-() functions since they arene't ever used. * [r1174] man/units.Rd: Remove units from manual page 2007-09-11 warnes * [r1173] man/read.xport.Rd: Add assertion to test that read.xport(.., as.list=TRUE) works properly * [r1172] R/write.xport.R: Forgot to save buffer before svn commit. * [r1171] R/read.xport.R, man/read.xport.Rd: Correct error in handling 'verbose' argument, error when more than one dataset has the same name, and add 'as.list' argument to ensure return value is a list, even if there is only one dataset in the file * [r1170] R/write.xport.R, man/write.xport.Rd: Improve handling of list argument. Also check that names are proper and unique. 2007-09-07 warnes * [r1167] tests/Theoph.R, tests/Theoph.Rout.save: Add round-trip test for Theoph data set * [r1166] tests/Alfalfa_Test.Rout.save, tests/cars.Rout.save, tests/testDates.Rout.save, tests/xxx.Rout.save: Change argument name in write.xport from 'filename' to 'file' to match read.xport * [r1165] man/write.xport.Rd: Change argument name in write.xport from 'filename' to 'file' to match read.xport * [r1164] R/write.xport.R, man/read.xport.Rd, man/write.xport.Rd, tests/Alfalfa_Test.R, tests/cars.R, tests/testDates.R, tests/xxx.R: Change argument name in write.xport from 'filename' to 'file' to match read.xport * [r1163] DESCRIPTION: Fix typo 2007-08-29 warnes * [r1161] DESCRIPTION: Update Version to 1.0, depend on current version of foreign 2007-08-22 warnes * [r1160] ChangeLog, NEWS, inst/ChangeLog, inst/NEWS: Update ChangeLog and NEWS files * [r1159] R/read.xport.R, man/read.xport.Rd, tests/xport.Rout.save: Modify read.xport to preserve case of SAS names by default, as well as updating the example code. * [r1158] src/reverse.c: sprintf() was being used where printf() was intended. 2007-08-21 warnes * [r1157] DESCRIPTION: Slight improvement to credits for BRL-CAD * [r1156] TODO, man/lookup.xport.Rd, man/read.xport.Rd: Commit previous updates * [r1155] src/htond.c, src/ibm2ieee.c, src/ieee2ibm.c, src/init.c, src/reverse.c, src/test_fields.c: Commit previous updates 2007-08-15 warnes * [r1146] DESCRIPTION, man/SASxport-package.Rd, src/cnxptiee.c, src/cnxptiee.h, src/htond.c, src/init.c, src/reverse.c, src/test_fields.c, src/writeSAS.c, src/writeSAS.h: Remove dependency on SAS code * [r1145] src/reverse.c: Fix reverse.c because we need to swap everything to match Big-Endian, rather than Little-Endian. Also, dont' call the macro. * [r1144] src/reverse.c: Restore reverse.c * [r1143] DESCRIPTION: Minor reformatting * [r1142] DESCRIPTION, inst/doc/SAS_TS140.txt, inst/doc/index.html, inst/doc/r2xpt.doc, man/SASxport-package.Rd, man/lookup.xport.Rd, man/read.xport.Rd, man/toSAS.Rd, man/units.Rd, man/write.xport.Rd: Make corrections for typos noted by Metrum folks 2007-08-12 warnes * [r1138] DESCRIPTION, man/lookup.xport.Rd, src/cnxptiee.h, src/test_fields.c, src/writeSAS.h: More updates * [r1137] src/B8.h, src/IEEEtoIBM.c, src/MASKS.h, src/main.c, src/reverse.c: Remove new stuff... use SAS's code instead * [r1136] src/B8.h, src/IEEEtoIBM.c, src/MASKS.h, src/cnxptiee.h, src/main.c, src/reverse.c, src/test_fields.c, src/writeSAS.h: 1st attempt at rewriting cnxptiee.[ch] 2007-08-11 warnes * [r1135] R/read.xport.R: Explicitly check file header * [r1134] DESCRIPTION, man/SASxport-package.Rd: Improve package description 2007-08-09 warnes * [r1133] DESCRIPTION, NAMESPACE, TODO, man/lookup.xport.Rd, man/read.xport.Rd, man/units.Rd: More changes, esp to lookup.xport() and friends * [r1132] tests/Alfalfa_Test.Rout.save, tests/cars.Rout.save, tests/xport.Rout.save: More changes, esp to lookup.xport() and friends * [r1131] R/AFirst.lib.s, R/all.is.numeric.R, R/in.opererator.R, R/lookup.xport.R, R/read.xport.R, R/write.xport.R: More changes, esp to lookup.xport() and friends * [r1130] src/swap_bytes.h: Remove unused swap_bytes.h * [r1129] man/SASxport-package.Rd: Add package description page * [r1128] R/importConvertDateTime.R, R/makeNames.R, R/read.xport.R, R/testDateTime.R: Add comment header indicating the source of code from Hmisc * [r1127] tests/testDates.Rout.save, tests/test_fields.Rout.save, tests/xport.Rout.save, tests/xxx.Rout.save: Update saved output of test scripts 2007-08-08 warnes * [r1126] DESCRIPTION, NAMESPACE: Updates * [r1125] tests/Alfalfa_Test.R, tests/Alfalfa_Test.Rout.save, tests/cars.R, tests/cars.Rout.save, tests/datetime.xpt, tests/testDates.R, tests/test_fields.R, tests/test_fields.Rout.save, tests/xport.R, tests/xxx.R, tests/xxx.Rout.save: Updates * [r1124] src/SASxport.c, src/SASxport.h, src/foreign.h, src/init.c: Updates * [r1123] R/AFirst.lib.s, R/formats.R, R/iformat.R, R/importConvertDateTime.R, R/label.R, R/lookup.xport.R, R/makeNames.R, R/read.xport.R, R/testDateTime.R, R/units.R, R/xport.R: Updates * [r1122] man/assert.Rd, man/read.xport.Rd, man/units.Rd: Updates. 2007-08-03 warnes * [r1119] DESCRIPTION, NAMESPACE, R/scat.R, R/xport.R, R/zzz.R, man/lookup.xport.Rd, man/read.xport.Rd, src/SASxport.c, src/SASxport.h, src/cnxptiee.c, src/cnxptiee.h, src/foreign.h, src/init.c, src/swap_bytes.h, src/test_fields.c, src/writeSAS.c, src/writeSAS.h, tests/Alfalfa_Test.Rout.save, tests/cars.Rout.save, tests/datetime.xpt, tests/test.xpt, tests/testDates.Rout.save, tests/test_fields.Rout.save, tests/xport.R, tests/xport.Rout.save, tests/xxx.Rout.save: Add code from package foreign and gtools to make SASxport stand alone * [r1118] R/.Rhistory: Remove stray .Rhistory file * [r1117] DESCRIPTION: Acknowledge MetrumI support * [r1116] NAMESPACE: Add "assert" function * [r1115] R/assert.R, man/assert.Rd: Add "assert" function to avoid dependenct on gtools. * [r1114] man/toSAS.Rd, src/cnxptiee.c, src/writeSAS.c: Correct some typos. * [r1113] DESCRIPTION: Drop version number to 0.99 until testing integration and is complete * [r1112] tests/test_fields.R: Add R test file to run c-level tests * [r1111] src/SASxport.so: Remove .so from svn * [r1110] NAMESPACE, R/fromSASDate.R, R/parseFormat.R, R/toSAS.R, R/write.xport.R, R/xport.character.R, R/xport.file.header.R, R/xport.member.header.R, R/xport.namestr.R, man/toSAS.Rd, src/SASxport.so, src/writeSAS.c: More modifications. Should now work for most R data types * [r1109] tests/cars.R, tests/datetime.xpt, tests/testDates.R, tests/xxx.R: Add more tests 2007-07-29 warnes * [r1107] tests/Alfalfa2.xpt, tests/cars.sas, tests/cars.xpt, tests/xxx.sas, tests/xxx.xpt: Add SAS code to create xport data files for testing 2007-07-28 warnes * [r1106] ., DESCRIPTION, NAMESPACE, R, R/.Rhistory, R/blanks.R, R/rawToDisplay.R, R/write.xport.R, R/xport.NA.R, R/xport.character.R, R/xport.dateFMT.R, R/xport.file.header.R, R/xport.fill.R, R/xport.member.header.R, R/xport.namestr.R, R/xport.namestr.header.R, R/xport.numeric.R, R/xport.obs.header.R, R/zzz.R, inst, inst/doc, inst/doc/SAS_TS140.txt, inst/doc/index.html, inst/doc/r2xpt.doc, man, man/write.xport.Rd, src, src/SASxport.so, src/cnxptiee.c, src/cnxptiee.h, src/test_fields.c, src/writeSAS.c, src/writeSAS.h, tests, tests/Alfalfa.xpt, tests/Alfalfa2.xpt, tests/Alfalfa_Test.R: Add SVNxport package