Martyn Jago <martyn.j...@btinternet.com> writes: > Hi Eric > > Eric Schulte <schulte.e...@gmail.com> writes: > >> Hi Rainer, >> >> Thanks for finding this bug, I introduced it in one of my recent >> changes. I've just pushed up a fix and a test case. >> >> Best -- Eric >> > > Unfortunately this test introduces an external dependency for R (which I > haven't currently got on my system so fails here). Not sure if that is > avoidable - I have no problem installing it if not. >
Yes, I think we're going to have to start putting some conditional checks into org-test-run-all-tests so that only those code block tests for which the required languages exist on the user's system are run. I don't know the best way to handle this. > > I also noticed it is `providing 'test-ob-fortran' as opposed to > `test-ob-R'. Thanks, was moving too quickly this morning. > The good news is it demonstrates my automated test server is working > which is how I am on it so quick! > Indeed, it is great to have this safety net. Thanks -- Eric > > Best, Martyn > >> Rainer M Krug <r.m.k...@gmail.com> writes: >> >>> Hi >>> >>> Org-mode version 7.7 (release_7.7.311.g0c099) >>> >>> If execute (Ctrl-c) the code below >>> >>> * load data >>> #+begin_src R :tangle no :export results :session R >>> paste("Yep!") >>> #+end_src >>> >>> I get an error: >>> >>> ########## >>> executing R code block... >>> org-babel-R-evaluate: Wrong number of arguments: #[(session body >>> result-type result-params column-names-p row-names-p) "Æ=} >>> ########## >>> only much longer and lots of strange characters. >>> >>> >>> >>> * load data >>> #+begin_src R :tangle no :export results >>> paste("Yep!") >>> #+end_src >>> >>> #+results: >>> : Yep! >>> >>> works as expected >>> >>> So I assume there is a problem in the :session header argument. >>> >>> Cheers, >>> >>> Rainer >>> >>> >>> -- >>> >>> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation >>> Biology, UCT), Dipl. Phys. (Germany) >>> >>> Centre of Excellence for Invasion Biology >>> Stellenbosch University >>> South Africa >>> >>> Tel : +33 - (0)9 53 10 27 44 >>> Cell: +33 - (0)6 85 62 59 98 >>> Fax : +33 - (0)9 58 10 27 44 >>> >>> Fax (D): +49 - (0)3 21 21 25 22 44 >>> >>> email: rai...@krugs.de >>> >>> Skype: RMkrug > > -- Eric Schulte http://cs.unm.edu/~eschulte/