[R-pkg-devel] "Progress reports" for examples in packages.

Martin Maechler m@ech|er @end|ng |rom @t@t@m@th@ethz@ch
Tue Jul 2 09:19:19 CEST 2019


>>>>> Henrik Bengtsson 
>>>>>     on Mon, 1 Jul 2019 20:36:26 -0700 writes:

    > FWIW, when running R CMD check mypkg_1.0.tar.gz

    > the example output is captured to the file
    > 'mypkg.Rcheck/mypkg-Ex.Rout', so you could monitor that
    > one for what's going on.

    > /Henrik

Yes, indeed, that's what we have been doing "all the time";  e.g.,
on a unix-alike (or in a 'bash'-like (powershell?) on Windows);
you can   'tail -f ..../mypkg-Ex.Rout' in another shell/terminal

Martin

    > On Mon, Jul 1, 2019 at 7:00 PM Rolf Turner
    > <r.turner using auckland.ac.nz> wrote:
    >> 
    >> 
    >> I am currently working on a package such that when "R CMD
    >> check" is run the procedure seems to disappear into a
    >> black hole when it gets to the "* checking examples ..."
    >> stage.
    >> 
    >> Strangely, when I run the examples individually, although
    >> they take a rather long time, they do not take an
    >> "endless" amount of time, so I am puzzled.  I would like
    >> to be able to isolate where the hang-up is occurring so
    >> that I can rectify the problem.
    >> 
    >> I guess I could, successively, wrap all but one of the
    >> examples in \dontrun{} and see what happens in each case.
    >> But this is rather tedious.  Is there any to get some
    >> diagnostic output as to, e.g. which example is being
    >> checked at the given moment?  Doing R CMD check --help
    >> does not reveal any useful looking options.
    >> 
    >> Thanks for any tips.
    >> 
    >> cheers,
    >> 
    >> Rolf Turner
    >> 
    >> --
    >> Honorary Research Fellow Department of Statistics
    >> University of Auckland Phone: +64-9-373-7599 ext. 88276
    >> 
    >> ______________________________________________
    >> R-package-devel using r-project.org mailing list
    >> https://stat.ethz.ch/mailman/listinfo/r-package-devel

    > ______________________________________________
    > R-package-devel using r-project.org mailing list
    > https://stat.ethz.ch/mailman/listinfo/r-package-devel



More information about the R-package-devel mailing list