Re: [R-pkg-devel] R CMD Check: Tests running infinite

2017-02-05 Thread Henrik Bengtsson
In case someone else bumps into this later and finds this thread; can you confirm that this was a problem specific to using the testthat package for running the tests? /Henrik On Sun, Feb 5, 2017 at 11:28 AM, Patrick Schratz wrote: > @gaborcsardi solved it :) See here: > https://github.com/hadle

Re: [R-pkg-devel] Delaporte: Test Errors on Sun Sparc

2017-02-05 Thread Mark van der Loo
Avraham, I can't help you out directly but Jeroen Ooms has a VM image with Solaris & R available: https://github.com/jeroenooms/solarisvm best, Mark Op zo 5 feb. 2017 om 21:27 schreef Avraham Adler : > I recently changed the back-end compiled code for the Delaporte > package from C++ to Fortr

Re: [R-pkg-devel] While using R CMD check: LaTex error: File `inconsolata.sty' not found

2017-02-05 Thread Cathy Lee Gierke
Hey, it worked!! Thanks! I had tried sudo tlmgr install collection-fontsrecommended earlier, but it didn't install what I needed ― Martin Luther King Jr. On Sun, Feb 5, 2017 at 12:27 PM, Kasper Daniel Hansen < kasperda

[R-pkg-devel] Delaporte: Test Errors on Sun Sparc

2017-02-05 Thread Avraham Adler
I recently changed the back-end compiled code for the Delaporte package from C++ to Fortran/C, and after some birthing pains (and a lot of patience shown by CRAN), it's fully functional _except_ on sparc-sun-solaris2.10 [1]. There, 10 of the 44 tests return errors. I've done enough research to know

Re: [R-pkg-devel] R CMD Check: Tests running infinite

2017-02-05 Thread Patrick Schratz
@gaborcsardi solved it :) See here: https://github.com/hadley/testthat/issues/567#issuecomment-277536577 2017-02-05 16:07 GMT+01:00 Patrick Schratz : > Thanks for the hint, Hendrik! > However, this change did not make a difference :/ > > I tried to use all cluster closing functions I came across

Re: [R-pkg-devel] While using R CMD check: LaTex error: File `inconsolata.sty' not found

2017-02-05 Thread Kasper Daniel Hansen
If you installed MacTex basic, you should have the command line utility tlmgr available. On my system it is in /Library/TeX/texbin/tlmgr and you may need to add this to your path. Using this, it is simple to install additional packages, by tlmgr install inconsolata You probably need to add a

Re: [R-pkg-devel] R CMD Check: Tests running infinite

2017-02-05 Thread Patrick Schratz
Thanks for the hint, Hendrik! However, this change did not make a difference :/ I tried to use all cluster closing functions I came across but tests are still running infinite.. *cl <- makeCluster(par.args$par.units, outfile = out.progress)* *registerDoParallel(cl)* *foreach()* *parallel::stop

Re: [R-pkg-devel] R CMD Check: Tests running infinite

2017-02-05 Thread Henrik Bengtsson
Use registerDoParallel(cl) The number of parallel workers is already contained in the 'cl' object, so don't specify 'cores'! (If you do that, I suspect you create yet another cluster (a multicore one) which is used but never closed) registerDoParallel() should ideally give an error in your ca

[R-pkg-devel] While using R CMD check: LaTex error: File `inconsolata.sty' not found

2017-02-05 Thread Cathy Lee Gierke
I cannot find any recent solution to this problem, and older ones do not seem to work. I just installed the small version of MacTeX called BasicTeX, to allow my package to build PDFs. http://tug.org/mactex/morepackages.html Everything worked, except I get the error "LaTex error: File `inconsol

Re: [R-pkg-devel] R CMD Check: Tests running infinite

2017-02-05 Thread Patrick Schratz
Dear Uwe, thanks for the hint. My cluster is closed after the `foreach`call using `stopCluster()`. Before, I´ll do the following to init the cluster: *cl <- makeCluster(par.args$par.units, outfile = out.progress)* *registerDoParallel(cl, cores = par.args$par.units)* *foreach()* *stopCluster(cl