expected <- eval(parse(text="structure(c(\"BASICCLASSES\", \"CLASSES\", \"DOCUMENTATION\", \"ENVIRONMENT-CLASS\", \"GENERICFUNCTIONS\", \"LANGUAGE-CLASS\", \"LINEARMETHODSLIST-CLASS\", \"METHODDEFINITION-CLASS\", \"METHODWITHNEXT-CLASS\", \"METHODS\", \"METHODSLIST-CLASS\", \"CALLNEXTMETHOD\", \"OBJECTSWITHPACKAGE-CLASS\", \"S3PART\", \"S4GROUPGENERIC\", \"SCLASSEXTENSION-CLASS\", \"STRUCTURECLASSES\", \"TRACECLASSES\", \"AS\", \"CALLGENERIC\", \"CANCOERCE\", \"CBIND2\", \"CLASSNAME\", \"CLASSREPRESENTATION-CLASS\", \"CLASSESTOAM\", \"DOTSMETHODS\", \"EVALSOURCE\", \"FINDCLASS\", \"FINDMETHODS\", \"FIXPRE1.8\", \"GENERICFUNCTION-CLASS\", \"GETCLASS\", \"GETMETHOD\", \"GETPACKAGENAME\", \"HASARG\", \"IMPLICITGENERIC\", \"INHERITEDSLOTNAMES\", \"INITIALIZE-METHODS\", \"IS\", \"ISSEALEDMETHOD\", \"LOCALREFERENCECLASSES\", \"METHOD.SKELETON\", \"NEW\", \"NONSTRUCTURE-CLASS\", \"PROMPTCLASS\", \"PROMPTMETHODS\", \"REFERENCECLASSES\", \"REPRESENTATION\", \"SELECTSUPERCLASSES\", \"SETCLASS\", \"SETCLASSUNION\", \"SETGENERIC\", \"SETLOADACTIONS\", \"SETMETHOD\", \"SETOLDCLASS\", \"MAKECLASSREPRESENTATION\", \"SHOW\", \"SHOWMETHODS\", \"SIGNATURE-CLASS\", \"SLOT\", \"ENVREFCLASS-CLASS\", \"TESTINHERITEDMETHODS\", \"VALIDOBJECT\", \".BASICFUNSLIST\"), .Names = c(\"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/BasicClasses.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/Classes.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/Documentation.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/EnvironmentClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/GenericFunctions.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/LanguageClasses.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/LinearMethodsList-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/MethodDefinition-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/MethodWithNext-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/Methods.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/MethodsList-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/NextMethod.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/ObjectsWithPackage-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/S3Part.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/S4groupGeneric.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/SClassExtension-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/StructureClasses.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/TraceClasses.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/as.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/callGeneric.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/canCoerce.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/cbind2.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/className.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/classRepresentation-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/classesToAM.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/dotsMethods.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/evalSource.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/findClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/findMethods.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/fixPrevious.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/genericFunction-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/getClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/getMethod.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/getPackageName.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/hasArg.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/implicitGeneric.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/inheritedSlotNames.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/initialize-methods.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/is.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/isSealedMethod.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/localRefClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/method.skeleton.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/new.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/nonStructure-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/promptClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/promptMethods.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/refClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/representation.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/selectSuperClasses.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/setClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/setClassUnion.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/setGeneric.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/setLoadActions.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/setMethod.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/setOldClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/setSClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/show.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/showMethods.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/signature-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/slot.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/stdRefClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/testInheritedMethods.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/validObject.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/zBasicFunsList.tex\"))"));          
test(id=0, code={          
argv <- eval(parse(text="list(structure(c(\"BasicClasses\", \"Classes\", \"Documentation\", \"environment-class\", \"GenericFunctions\", \"language-class\", \"LinearMethodsList-class\", \"MethodDefinition-class\", \"MethodWithNext-class\", \"Methods\", \"MethodsList-class\", \"callNextMethod\", \"ObjectsWithPackage-class\", \"S3Part\", \"S4groupGeneric\", \"SClassExtension-class\", \"StructureClasses\", \"TraceClasses\", \"as\", \"callGeneric\", \"canCoerce\", \"cbind2\", \"className\", \"classRepresentation-class\", \"classesToAM\", \"dotsMethods\", \"evalSource\", \"findClass\", \"findMethods\", \"fixPre1.8\", \"genericFunction-class\", \"getClass\", \"getMethod\", \"getPackageName\", \"hasArg\", \"implicitGeneric\", \"inheritedSlotNames\", \"initialize-methods\", \"is\", \"isSealedMethod\", \"LocalReferenceClasses\", \"method.skeleton\", \"new\", \"nonStructure-class\", \"promptClass\", \"promptMethods\", \"ReferenceClasses\", \"representation\", \"selectSuperClasses\", \"setClass\", \"setClassUnion\", \"setGeneric\", \"setLoadActions\", \"setMethod\", \"setOldClass\", \"makeClassRepresentation\", \"show\", \"showMethods\", \"signature-class\", \"slot\", \"envRefClass-class\", \"testInheritedMethods\", \"validObject\", \".BasicFunsList\"), .Names = c(\"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/BasicClasses.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/Classes.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/Documentation.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/EnvironmentClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/GenericFunctions.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/LanguageClasses.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/LinearMethodsList-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/MethodDefinition-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/MethodWithNext-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/Methods.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/MethodsList-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/NextMethod.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/ObjectsWithPackage-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/S3Part.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/S4groupGeneric.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/SClassExtension-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/StructureClasses.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/TraceClasses.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/as.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/callGeneric.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/canCoerce.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/cbind2.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/className.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/classRepresentation-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/classesToAM.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/dotsMethods.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/evalSource.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/findClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/findMethods.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/fixPrevious.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/genericFunction-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/getClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/getMethod.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/getPackageName.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/hasArg.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/implicitGeneric.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/inheritedSlotNames.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/initialize-methods.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/is.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/isSealedMethod.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/localRefClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/method.skeleton.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/new.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/nonStructure-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/promptClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/promptMethods.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/refClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/representation.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/selectSuperClasses.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/setClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/setClassUnion.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/setGeneric.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/setLoadActions.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/setMethod.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/setOldClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/setSClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/show.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/showMethods.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/signature-class.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/slot.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/stdRefClass.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/testInheritedMethods.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/validObject.tex\", \"/home/lzhao/tmp/RtmpZy1R7l/ltx5573594f0cc9/zBasicFunsList.tex\")))"));          
.Internal(toupper(argv[[1]]));          
}, o=expected);          

