# SCM Repository

[inlinedocs] Log of /pkg/inlinedocs/R/parsers.R
 [inlinedocs] / pkg / inlinedocs / R / parsers.R

# Log of /pkg/inlinedocs/R/parsers.R

Modified Wed Apr 29 11:42:12 2015 UTC (3 years, 10 months ago) by tomaschwutz
File length: 62150 byte(s)
Diff to previous 396 , to selected 246
fixed failure of S3.tag parser on methods starting with a dot

Modified Tue Feb 18 13:07:32 2014 UTC (5 years, 1 month ago) by markus
File length: 62040 byte(s)
Diff to previous 395 , to selected 246
This is the next intermediate commit.
Its main purpose is to make the package pass the cran checks so that further collaboration is not hindered.
Many of the functions I introduced and documented sparsely are not too probable to survive in their current
form.
The reason is the following:
Regarding design this version is in the middle of the path from the aspect oriented version I started with to the hierarchical version I have in mind and could maintain much easier.
E.g. I got rid of package.skeleton and inlinedocs now writes (most of ) the rd files.
This is not true for lists and similar stuff yet.
My final goal would be to get also rid of modify.Rd.file and move its functionality to the functions that now replace
package.skeleton.
If that is achieved we would be left with only two steps ( or "aspects").
1.) gather the information from the source into an environment
2.) pass the whole environment to the various Rd file writers that write the completed files instead of parsing the templates

The last step
3.) (filling the *.Rd files with  content)

would not be necessary any longer.

I also hope to simplify the first step considerably.
1.1)
When I started the most abstract thing we had to deal with was the list of objects.
This however does not contain generics, methods or classes.
To extract those you need the whole (populated) environment.
So step 1) will in future just populate an environment and leave the details to specialized functions.
E.g. the (present) object list would then only be created by the function that writes Rd files for functions.
The function that document Methods dont need it.
At the moment the interfaces are in the process of change so that objects, the  environment , Methodlists, lists of Generics  are passed around for everyone to pick what he needs. This intermediate mess is not there to stay.

1.2)
A second thing that caused a lot of work, was the parsing of the code files to produce the doc links.
I introduced a good deal of duplication here, that is however also not there to stay but a step towards reducing this kind of thing altogether but in tiny steps (seperately for classes methods and so on)
I would very much like to avoid parsing a setMethod (or setClass) statement altogether.
Presently this is necessary to find out the signature of the mehtod in question only to store the doc link relevant info  with the right key to rejoin it later with the other docs for that method.
The effort to do so is enormous. E.g. I have to reassemble the argument list of a setMethod( )call to be sure what is what in the following text. The sad thing is that the R parser does this (effortlessly) anyway when the environment is populated.
Therefore I propose to research the  srcref features in R, that would help us to find the src chunk of a method by asking the
method object in the environment where it came from and find the preceding comments this way.

This is what I am driving towards.
So the apparent inconsistency is a reflection of ongoing design change.

To faciliate this migration I have also included some more unit tests (27 runit tests now) and some small helper scripts to run them continiously and in parallel whenever the tiniest bit of code in inlinedocs/R is touched.
You find them in

...testfiles/mm.

The tests duplicate a lot of code (thereby  asking  for a setup mehtod.)
To use them as extended documentation I however prioritised readability and therefor made every test independent to understand.

D    pkg/inlinedocs/inst/scratch/inlinedocsTest
D    pkg/inlinedocs/inst/scratch/tw_testIndent.R
D    pkg/inlinedocs/inst/etc/default-function.R
D    pkg/inlinedocs/inst/etc/users.org
D    pkg/inlinedocs/inst/etc/anne-parse.R
D    pkg/inlinedocs/inst/etc/make.R
D    pkg/inlinedocs/inst/etc/tags
D    pkg/inlinedocs/inst/etc/inner.function
D    pkg/inlinedocs/inst/etc/parseRd.R
D    pkg/inlinedocs/inst/etc/anne.R
D    pkg/inlinedocs/inst/etc/minimalErrorPkg
D    pkg/inlinedocs/inst/etc/author.from.author.R
AM   pkg/inlinedocs/inst/testfiles/csall.sh
M    pkg/inlinedocs/inst/testfiles/mm/runit.NamespaceExample.R
A    pkg/inlinedocs/inst/testfiles/mm/srcref.example.R
D    pkg/inlinedocs/inst/testfiles/mm/package.skeleton.R
AM   pkg/inlinedocs/inst/testfiles/mm/cisall.sh
M    pkg/inlinedocs/inst/testfiles/mm/runit.Infrastructure.R
D    pkg/inlinedocs/inst/testfiles/mm/runit.OperatorDoc.R
AM   pkg/inlinedocs/inst/testfiles/mm/continousRunner.sh
A    pkg/inlinedocs/inst/testfiles/mm/help.R
M    pkg/inlinedocs/inst/testfiles/mm/Itest.R
A    pkg/inlinedocs/inst/testfiles/mm/findGenericsAndMethodsWithSrcrefs.R
A    pkg/inlinedocs/inst/testfiles/mm/runit.ClassDoc.R
A    pkg/inlinedocs/inst/testfiles/mm/runit.MethodExample.R
M    pkg/inlinedocs/inst/testfiles/mm/isolatedTestRunner.R
A    pkg/inlinedocs/inst/testfiles/mm/runit.FunctionExample.R
M    pkg/inlinedocs/inst/testfiles/mm/isall.R
AM   pkg/inlinedocs/inst/testfiles/mm/cITest.sh
M    pkg/inlinedocs/inst/testfiles/mm/runit.MethodDoc.R
A    pkg/inlinedocs/inst/testfiles/mm/runit.RepairUsage.R
A    pkg/inlinedocs/inst/testfiles/lastrun
M    pkg/inlinedocs/R/package.skeleton.dx.R
M    pkg/inlinedocs/R/test.R
M    pkg/inlinedocs/R/parsers.R
M    pkg/inlinedocs/R/utils.R
M    pkg/inlinedocs/R/testhelpers.R
M    pkg/inlinedocs/DESCRIPTION
A    pkg/inlinedocs/man/writeMethodRdFiles.Rd
A    pkg/inlinedocs/man/MethodsWithSrcRefForGen.Rd
M    pkg/inlinedocs/man/removeAliasesfrom.Rd.file.Rd
A    pkg/inlinedocs/man/methSrc.Rd
A    pkg/inlinedocs/man/mm.examples.from.testfile.Rd
M    pkg/inlinedocs/man/modify.Rd.file.Rd
A    pkg/inlinedocs/man/sigString.Rd
A    pkg/inlinedocs/man/writeFunctionRdFiles.Rd
A    pkg/inlinedocs/man/removeComma.Rd
A    pkg/inlinedocs/man/rewriteSetMethodArgs.Rd
M    pkg/inlinedocs/man/print.allfun.Rd
A    pkg/inlinedocs/man/extra.class.docs.Rd
A    pkg/inlinedocs/man/pp.Rd
M    pkg/inlinedocs/man/package.skeleton.dx.Rd
A    pkg/inlinedocs/man/definition.from.source.Rd
A    pkg/inlinedocs/man/writePackageRdFile.Rd
A    pkg/inlinedocs/man/extract.docs.Rd
M    pkg/inlinedocs/man/apply.parsers.Rd
A    pkg/inlinedocs/man/z[-methods.Rd
M    pkg/inlinedocs/man/combine.character.Rd
A    pkg/inlinedocs/man/hiddenClasses.Rd
M    pkg/inlinedocs/man/combine.Rd
A    pkg/inlinedocs/man/writeMethodTableRdFiles.Rd
M    pkg/inlinedocs/man/findGeneric.Rd
M    pkg/inlinedocs/man/inlinedocs-package.Rd
A    pkg/inlinedocs/man/getMethodName.Rd
M    pkg/inlinedocs/man/extract.docs.setClass.Rd
A    pkg/inlinedocs/man/exportedFunctions.Rd
M    pkg/inlinedocs/man/extra.code.docs.Rd
M    pkg/inlinedocs/man/make.package.and.check.Rd
A    pkg/inlinedocs/man/allClasses.Rd
M    pkg/inlinedocs/man/save.test.result.Rd
A    pkg/inlinedocs/man/writeClassRdFiles.Rd
A    pkg/inlinedocs/man/exported.Rd
M    pkg/inlinedocs/man/get_S3_primitive_generics.Rd
M    pkg/inlinedocs/man/test.file.Rd
M    pkg/inlinedocs/man/extract.file.parse.Rd
A    pkg/inlinedocs/man/z[_method__listOfMethods_logical.Rd
A    pkg/inlinedocs/man/methodDocName.Rd
A    pkg/inlinedocs/man/exportedClasses.Rd
M    pkg/inlinedocs/man/extract.docs.file.Rd
A    pkg/inlinedocs/man/GenHasAnyMethodWithSrc.Rd
M    pkg/inlinedocs/man/getKnownS3generics.Rd
M    pkg/inlinedocs/man/is_primitive_in_base.Rd
A    pkg/inlinedocs/man/MethodHasSrc.Rd
M    pkg/inlinedocs/man/fixPackageFileNames.Rd
A    pkg/inlinedocs/man/trimmedNonEmptyLines.Rd
A    pkg/inlinedocs/man/getMethodSrc.Rd
A    pkg/inlinedocs/man/methodTable.Rd
A    pkg/inlinedocs/man/MethodSignatureHasOnlyExportedClasses.Rd
M    pkg/inlinedocs/man/replace.one.Rd
A    pkg/inlinedocs/man/CompareTrimmedNonEmptyLines.Rd
M    pkg/inlinedocs/man/get_internal_S3_generics.Rd
M    pkg/inlinedocs/man/forfun.Rd
A    pkg/inlinedocs/man/mmPromptMethods.Rd
M    pkg/inlinedocs/man/getSource.Rd
A    pkg/inlinedocs/man/documentableMeths.Rd
A    pkg/inlinedocs/man/pe.Rd
A    pkg/inlinedocs/man/GenHasAnyExposedMethod.Rd
A    pkg/inlinedocs/man/exportedGenerics.Rd
M    pkg/inlinedocs/man/decomment.Rd
A    pkg/inlinedocs/man/createObjects.Rd
A    pkg/inlinedocs/man/GenHasSrc.Rd
A    pkg/inlinedocs/man/exportedDocumentableMeths.Rd
M    pkg/inlinedocs/man/prefixed.lines.Rd
M    pkg/inlinedocs/man/forall.Rd
A    pkg/inlinedocs/man/title.from.firstline.Rd
M    pkg/inlinedocs/man/kill.prefix.whitespace.Rd
M    pkg/inlinedocs/man/combine.NULL.Rd
M    pkg/inlinedocs/man/combine.list.Rd
A    pkg/inlinedocs/man/extra.method.docs.Rd
A    pkg/inlinedocs/man/inherit.docs.Rd
M    pkg/inlinedocs/man/extract.xxx.chunks.Rd
M    pkg/inlinedocs/man/do.not.generate.Rd
A    pkg/inlinedocs/man/extract.docs.setMethod.Rd
A    pkg/inlinedocs/man/methSig.Rd
A    pkg/inlinedocs/man/manMan
A    pkg/inlinedocs/man/manMan/descfile.names.Rd
A    pkg/inlinedocs/man/manMan/default.parsers.Rd
A    pkg/inlinedocs/man/manMan/lonely.Rd
A    pkg/inlinedocs/man/manMan/nondesc.parsers.Rd
A    pkg/inlinedocs/man/manMan/non.descfile.names.Rd
A    pkg/inlinedocs/man/manMan/forall.parsers.Rd
A    pkg/inlinedocs/man/manMan/forfun.parsers.Rd
A    pkg/inlinedocs/man/manMan/prefix.Rd
M    pkg/inlinedocs/NAMESPACE
M    pkg/inlinedocs/NEWS


Modified Tue Feb 11 21:51:01 2014 UTC (5 years, 1 month ago) by tdhock
File length: 48205 byte(s)
Diff to previous 394 , to selected 246
attr(o, "ex", exact=TRUE)

Modified Mon Dec 23 15:36:20 2013 UTC (5 years, 2 months ago) by markus
File length: 48193 byte(s)
Diff to previous 393 , to selected 246
0.) This is an intermediate commit, that will be followed by further tidying. I just got afraid to have to merge branches if I wait longer.

1.) The purposes of the committed changes are
a)
to enable unittesting for very small units (functions) with the help of a unit testing framework.
b)
to enable the detailed documentation of S4 methods in separate (signature specific) .Rd files and

2.) Details:
a) Unittesting:
Motivation:
To implement the changes mentioned above I needed a facility to test very small parts of inlinedocs infrastructure.
Just comparing results of all parts combined actions as in the already existent testcases
turned out to be to fragile for my limited understanding of how inlinedocs parts work.
Instead of hoping that package.skeleton.dx would still work after my change and having to write
a rather complete result fixture I needed something that would test single functions against a very small
fixture in order to learn what part they were intended to play or how they would have to be tweeaked.
Existing test tools:
Unfortunately it turned out that neither "Runit" nor "testthis" could be applied to test inlinedocs.
The reason is that the crucial requirement of test independence was not fulfilled:
I was horrified to notice that in both frameworks a test could be reproducibly triggered to fail
by code in \emph{another} test.
I could  make out a combination of three factors that lead to this unexpected result:
- the use of global options and the (necessary) use of environments in inlinedocs
- the inability of both testframeworks to isolate such acrobatic behavior to a single test although
the execution of tests in separated environments is even advertised (in both frameworks!)
- the inability of R (at least as far as I know) to provide testframeworks with means of effective isolation
To make \emph{independent} testing of units possible I went to the rather extreme measure of using a subprocess
for each test. The machinery is implemented in

.../testfiles/mm/isolatedTestRunner.R

When a test is executed the following things happen:
- inside the ...testfiles/mm/tmp a directory is created that reflects the name of the testfunction
- source code for a RUnit testsuite (consisting of one test) and a runit.Testfile.R containing the testfunction is created
- the suite is run (by means of Rscript ) and the result written to a file
(if it crashes this will be recognized but of course not brake the calling process)
- the result is collected by the isoloatedTestRunner and reported in a very preliminary fashion by isolatedTestrunner.
(RUnit is also used on this level, but could be used more intensly to achieve the same level of reporting and ease of use)

To run all tests just call ./isall.R
For a single test run use  ./Itest
Both look nearly like typicla RUnit testsuite with the tiny differece of calling the isolatedTestRunner.R

Proposed use:
For future versions of inlinedocs I strongly recommend a mandatory  extensive testsuite but for the moment
I confined all my unittesting in the directory:

.../testfiles/mm

because I of course need your agreement, dispute,  opinion or advise for such a change of infrastructure.

At the moment I would just be happy if you run:

isall.R 	in

inlinedocs/inst/testfiles/mm/

before you commit, to see I some of the new tests are broken.

b) Method documentation:
For a generic with the name "GenericName" and the signature c("ClassNameA","ClassNameB") a file with the name GenericName-method-#ClassNameA#ClassNameB.Rd
is created and populated using the same infrastructe that is used for functions for the actual definition, but a rather different approach
to find the Generic (forGeneric is not similar enough to forFun to use forAll in both cases)
I am still struggeling with documentation of operator methods since for them no "srcref" attribute seems to be available but I am working on this.

Next Steps and Proposal:
complete operator method description and cleanup (e.g. check if inlinedocs package itself still builds an passed cran checks;-))



Modified Tue Oct 1 07:15:26 2013 UTC (5 years, 5 months ago) by tomaschwutz
File length: 39311 byte(s)
Diff to previous 389 , to selected 246
fixed error in parsing examples with (yet) empty lines

Modified Tue Sep 3 04:33:09 2013 UTC (5 years, 6 months ago) by tdhock
File length: 39126 byte(s)
Diff to previous 383 , to selected 246
copy utils code to utils.R to avoid utils::: and pass R CMD check

Modified Fri Jul 12 12:52:13 2013 UTC (5 years, 8 months ago) by tomaschwutz
File length: 39142 byte(s)
Diff to previous 376 , to selected 246
expr.type ==  'R.methodsS3::setMethodS3' to support imports instead of depends of R.methodsS3

Modified Mon Jan 28 01:08:01 2013 UTC (6 years, 1 month ago) by tdhock
File length: 39099 byte(s)
Diff to previous 370 , to selected 246
version 1.9.2 bugfixes

Modified Fri Nov 9 19:48:27 2012 UTC (6 years, 4 months ago) by markus
File length: 39072 byte(s)
Diff to previous 356 , to selected 246
I made a number of changes:
1.) made inlinedocs a bit more forgiving with respect to  missing parts of the docsstrings which was necessarry for
the package we just work on. Inlinedocs had stopped with weird error messages while pasting the gathered  bits
together. (or rather not if some bits where missing...)

2.) R original package.skeleton adds a lot of (duplicated) aliases to method names to a classes Rd file.
These cause R CMD check to complain about the duplication.
I added a new function which is called after modify.Rd.file and comments out the superfluous aliases.

This function does some things that are also done in apply.parsers and modify.Rd.file
which could (and should) be probably factored out.
For instance the new function also evaluates the whole code in a separate environment (like apply parser)
and it also could use the more safeguarded way to compute the final name of an Rd.file (like  modify.Rd.file does)

However manipulating environments (explicitly ;-))still scares me a bit.
So I at least wanted to make an intermediate commit to invite discussion and make the changes more reproducible.

3.) I added an additional check before inlinedocs removes the alias to the package name in the package-Rd file.
It had previously removed it from our documentation although there had >> not << been a function of the same name.



Modified Mon Apr 9 15:39:09 2012 UTC (6 years, 11 months ago) by tdhock
File length: 38619 byte(s)
Diff to previous 352 , to selected 246
debugging CRAN crossref err

Modified Mon Apr 9 12:43:46 2012 UTC (6 years, 11 months ago) by tdhock
File length: 38217 byte(s)
Diff to previous 336 , to selected 246
wait 1 sec before redoing package.skeleton.dx()

Modified Thu Apr 5 12:44:33 2012 UTC (6 years, 11 months ago) by tdhock
File length: 38148 byte(s)
Diff to previous 335 , to selected 246
do.not.generate example, partial arg NOTEs fixed

Modified Thu Apr 5 12:08:07 2012 UTC (6 years, 11 months ago) by tdhock
File length: 36765 byte(s)
Diff to previous 332 , to selected 246
do.not.generate for static Rd files

Modified Mon Mar 12 12:12:10 2012 UTC (7 years ago) by tdhock
File length: 36305 byte(s)
Diff to previous 324 , to selected 246
delete debug fun

Modified Wed Feb 1 17:16:32 2012 UTC (7 years, 1 month ago) by markus
File length: 36392 byte(s)
Diff to previous 312 , to selected 246
only some changed comments

Modified Fri Jan 13 09:22:02 2012 UTC (7 years, 2 months ago) by tdhock
File length: 36465 byte(s)
Diff to previous 308 , to selected 246
usage line breaks

Modified Fri Oct 21 12:08:39 2011 UTC (7 years, 5 months ago) by tdhock
File length: 36423 byte(s)
Diff to previous 307 , to selected 246
modify getSource, delete inlinedocExample to pass 2.14 checks

Modified Fri Oct 21 11:37:19 2011 UTC (7 years, 5 months ago) by tdhock
File length: 36270 byte(s)
Diff to previous 305 , to selected 246
test errors reported more clearly

Modified Tue Aug 16 11:48:38 2011 UTC (7 years, 7 months ago) by kmpont
File length: 36258 byte(s)
Diff to previous 304 , to selected 246
Added default title for setClass when no # title on setClass line

Modified Tue Jul 19 17:03:18 2011 UTC (7 years, 8 months ago) by tdhock
File length: 36040 byte(s)
Diff to previous 303 , to selected 246
doc usage line breaks, works under R-2.13.1

Modified Tue Jul 19 15:35:23 2011 UTC (7 years, 8 months ago) by tdhock
File length: 35998 byte(s)
Diff to previous 302 , to selected 246
gregors ideas: whitespace in examples, value, and usage

Modified Tue Jul 12 12:06:42 2011 UTC (7 years, 8 months ago) by tdhock
File length: 35954 byte(s)
Diff to previous 300 , to selected 246
getSource(FUN) instead of attr(FUN,"source")

Modified Fri Jun 17 07:37:46 2011 UTC (7 years, 9 months ago) by tdhock
File length: 35688 byte(s)
Diff to previous 270 , to selected 246
bugfix when nothing defined in pkg

Modified Mon May 23 15:53:47 2011 UTC (7 years, 9 months ago) by tdhock
File length: 35650 byte(s)
Diff to previous 257 , to selected 246
delete examples.after.return support

Modified Sun May 1 17:03:01 2011 UTC (7 years, 10 months ago) by tdhock
File length: 37648 byte(s)
Diff to previous 248 , to selected 246
multipar desc

Modified Thu Apr 7 13:54:54 2011 UTC (7 years, 11 months ago) by tdhock
File length: 37647 byte(s)
Diff to previous 246
warning bugfix

Modified Thu Apr 7 13:21:39 2011 UTC (7 years, 11 months ago) by tdhock
File length: 37343 byte(s)
Diff to previous 213
fixme warning

Modified Wed Mar 9 16:49:46 2011 UTC (8 years ago) by kmpont
File length: 37326 byte(s)
Diff to previous 212 , to selected 246
Options fix just introduced now correctly restores original settings

Modified Wed Mar 9 16:37:25 2011 UTC (8 years ago) by kmpont
File length: 37337 byte(s)
Diff to previous 209 , to selected 246
Fix parser to avoid breaking when processing inlinedocs source. (Problem
was redefinition of class DocLink into inlinedocs environment, where it

First attempt at adding sections and thoughts to JSS article

silly.example.R now includes some R.oo class and method declarations to
test that aspect; the previous "detect the first ." approach has been
erased in favour of the better method now extracted as a separate



Modified Fri Feb 25 08:15:10 2011 UTC (8 years ago) by tdhock
File length: 36151 byte(s)
Diff to previous 204 , to selected 246
doc updates

Modified Fri Feb 18 16:48:22 2011 UTC (8 years, 1 month ago) by tdhock
File length: 36037 byte(s)
Diff to previous 203 , to selected 246
alternate syntax parser testfile

Modified Fri Feb 18 15:59:29 2011 UTC (8 years, 1 month ago) by tdhock
File length: 36018 byte(s)
Diff to previous 200 , to selected 246
Unit tests accept .parsers variable

Modified Fri Feb 18 15:02:16 2011 UTC (8 years, 1 month ago) by tdhock
File length: 35980 byte(s)
Diff to previous 198 , to selected 246
move s3method and collapse to Parser Functions

Modified Fri Feb 18 14:17:08 2011 UTC (8 years, 1 month ago) by tdhock
File length: 35836 byte(s)
Diff to previous 197 , to selected 246
s3method -> .s3method

Modified Fri Feb 18 14:09:37 2011 UTC (8 years, 1 month ago) by tdhock
File length: 35833 byte(s)
Diff to previous 196 , to selected 246
doc rebuilt, passes checks

Modified Fri Feb 18 12:52:48 2011 UTC (8 years, 1 month ago) by tdhock
File length: 35791 byte(s)
Diff to previous 195 , to selected 246
try to recover s3 method

Modified Fri Feb 18 12:30:30 2011 UTC (8 years, 1 month ago) by tdhock
File length: 35700 byte(s)
Diff to previous 191 , to selected 246
title.from.firstline and author

Modified Thu Feb 17 14:09:43 2011 UTC (8 years, 1 month ago) by tdhock
File length: 35701 byte(s)
Diff to previous 186 , to selected 246
length(grep -> grepl, minor

Modified Fri Jan 14 18:43:36 2011 UTC (8 years, 2 months ago) by tdhock
File length: 35809 byte(s)
Diff to previous 185 , to selected 246
make package file before doing global find and replace on doc char vectors

Modified Thu Jan 13 16:08:14 2011 UTC (8 years, 2 months ago) by tdhock
File length: 35804 byte(s)
Diff to previous 175 , to selected 246
new doc keyword

Modified Thu Jan 6 15:24:45 2011 UTC (8 years, 2 months ago) by tdhock
File length: 35823 byte(s)
Diff to previous 163 , to selected 246
seealso after return ok

Modified Tue Nov 16 12:06:29 2010 UTC (8 years, 4 months ago) by tdhock
File length: 35508 byte(s)
Diff to previous 162 , to selected 246
kill.prefix.whitespace

Modified Wed Nov 10 09:18:20 2010 UTC (8 years, 4 months ago) by tdhock
File length: 35132 byte(s)
Diff to previous 159 , to selected 246
report on which function parsing fails

Modified Tue Nov 9 16:42:39 2010 UTC (8 years, 4 months ago) by tdhock
File length: 35031 byte(s)
Diff to previous 158 , to selected 246
bugfix: dont check for paren matching in comments

Modified Mon Nov 8 12:26:12 2010 UTC (8 years, 4 months ago) by tdhock
File length: 34992 byte(s)
Diff to previous 154 , to selected 246
bug comment

Modified Fri Oct 29 12:11:52 2010 UTC (8 years, 4 months ago) by tdhock
File length: 34992 byte(s)
Diff to previous 152 , to selected 246
parsefun and extract.docs.fun consolidated into extract.xxx.chunks in ongoing effort to make parser functions more readable and modular

Modified Thu Oct 28 15:57:51 2010 UTC (8 years, 4 months ago) by tdhock
File length: 34797 byte(s)
Diff to previous 144 , to selected 246
parsers error catch for s4 classes

Modified Wed Oct 20 09:33:04 2010 UTC (8 years, 5 months ago) by tdhock
File length: 34736 byte(s)
Diff to previous 142 , to selected 246
only update definition if there is source to put there

Modified Wed Oct 20 09:21:53 2010 UTC (8 years, 5 months ago) by tdhock
File length: 34676 byte(s)
Diff to previous 138 , to selected 246
paste lines together for definition.from.source

Modified Tue Oct 19 22:51:59 2010 UTC (8 years, 5 months ago) by tdhock
File length: 34655 byte(s)
Diff to previous 128 , to selected 246
update examples to pass new more stringent parser checks

Modified Wed Sep 22 09:24:39 2010 UTC (8 years, 5 months ago) by tdhock
File length: 33736 byte(s)
Diff to previous 118 , to selected 246
examples in attr forall, lonely gets an example

Modified Fri Jun 18 16:32:29 2010 UTC (8 years, 9 months ago) by tdhock
File length: 33698 byte(s)
Diff to previous 116 , to selected 246
fermat-inline test, extract.docs.fun now uses nondesc.parsers as the parser list

Modified Fri Jun 18 15:33:07 2010 UTC (8 years, 9 months ago) by tdhock
File length: 33507 byte(s)
Diff to previous 115 , to selected 246
autodetect left indent before examples

Modified Fri Jun 18 10:35:11 2010 UTC (8 years, 9 months ago) by tdhock
File length: 32884 byte(s)
Diff to previous 110 , to selected 246
silly example unit test checks

Modified Mon Jun 7 12:08:54 2010 UTC (8 years, 9 months ago) by tdhock
File length: 32709 byte(s)
Diff to previous 109 , to selected 246
unit test for extract.docs.file

Modified Mon Jun 7 08:42:15 2010 UTC (8 years, 9 months ago) by tdhock
File length: 31961 byte(s)
Diff to previous 108 , to selected 246
extract.docs.file new functionality parses files independently

Modified Wed May 26 12:00:17 2010 UTC (8 years, 9 months ago) by phgrosjean
File length: 31090 byte(s)
Diff to previous 106 , to selected 246
Several bugs corrections and improvements. See NEWS file
More tests temporary in /scratch for difficult cases

Modified Tue May 18 17:39:20 2010 UTC (8 years, 10 months ago) by tdhock
File length: 28259 byte(s)
Diff to previous 105 , to selected 246
todo

Modified Tue May 18 17:32:43 2010 UTC (8 years, 10 months ago) by tdhock
File length: 28122 byte(s)
Diff to previous 104 , to selected 246
extract.docs.code for applying Parser Functions to arbitrary code chunks and returning a doc list

Modified Tue May 18 16:35:08 2010 UTC (8 years, 10 months ago) by tdhock
File length: 27003 byte(s)
Diff to previous 103 , to selected 246
hack: more complicated rep key (there really should be a better way to do regexs in R)

Modified Tue May 18 16:33:29 2010 UTC (8 years, 10 months ago) by tdhock
File length: 26994 byte(s)
Diff to previous 102 , to selected 246
examples.after.return bugfix for multiline examples

Modified Fri May 14 18:48:40 2010 UTC (8 years, 10 months ago) by tdhock
File length: 26975 byte(s)
Diff to previous 99 , to selected 246
bugfix for return at end of function

Modified Mon May 3 18:31:40 2010 UTC (8 years, 10 months ago) by tdhock
File length: 26967 byte(s)
Diff to previous 97 , to selected 246
update some docs

Modified Mon May 3 16:07:46 2010 UTC (8 years, 10 months ago) by tdhock
File length: 26808 byte(s)
Diff to previous 96 , to selected 246
bugfix for returns in examples-after-comments module

Modified Mon May 3 15:57:03 2010 UTC (8 years, 10 months ago) by tdhock
File length: 26765 byte(s)
Diff to previous 95 , to selected 246
examples-after-return gives value as well

Modified Mon May 3 14:22:42 2010 UTC (8 years, 10 months ago) by tdhock
File length: 26265 byte(s)
Diff to previous 93 , to selected 246
collapse line

Modified Mon May 3 14:18:47 2010 UTC (8 years, 10 months ago) by tdhock
File length: 26266 byte(s)
Diff to previous 89 , to selected 246
forall operates on all docs instead of all objects (thus works for s4 classes as well)

Modified Mon May 3 13:01:06 2010 UTC (8 years, 10 months ago) by tdhock
File length: 26265 byte(s)
Diff to previous 87 , to selected 246
define parsers as a list, allow configuration of parser list from project .inlinedocs.R or options()

restructure package.skeleton.dx to support modular parser list