Displaying 20 results from an estimated 10000 matches similar to: "Package Unit Testing"
2012 Aug 16
4
Variables and greek letters in a plot title
Hello
This is a problem I encountered repeatedly and I found no answer that made
me really happy. I hope it is not too trivial.
I would like to give the concentration of a substance in a plot title:
5 ug/ml substance
the '5' would be a variable and the ug should be micrograms (with greek
letter mu). It is the mu that causes the problems for me. I failed using
various combinations of
2007 Jul 11
1
Getting param names of primitives
Hi,
In the latest R this does not work anymore
args <- formals(log)
because log is primitive. Is there any other way to get the argument
list? I just need the name of the parameter to display some error
message about it. I have looked at args() but I can't find anything to
extract the argument names from it.
Thanks,
M. Manese
2009 Oct 05
3
unit testing for R packages?
Hi All,
I'm interested in putting some unit tests into an R package I'm
building. I have seen assorted things such as Runit library, svUnit
library, packages
with 'tests' directories, etc
I grep'd "unit test" through the writing R extensions manual but didn't find
anything. Are there any suggestions out there? Currently I have
several (a lot?) classes/methods
2007 May 09
4
Unit Testing Frameworks: summary and brief discussion
Greetings -
I'm finally finished review, here's what I heard:
============ from Tobias Verbeke:
anthony.rossini@novartis.com wrote:
> Greetings!
>
> After a quick look at current programming tools, especially with regards
> to unit-testing frameworks, I've started looking at both "butler" and
> "RUnit". I would be grateful to receieve real
2012 Mar 02
1
seeing feedback when R CMD check pkg runs unit tests.
good day here,
I'm maintaining a couple of R modules, both on r-forge.
tests for these modules are written making use of unit testing, and I
make use of the svUnit module, part of SciViews-R.
I also make use of examples in the .Rd files.
my question regards 'R CMD check pkg'.
if an _example_ is not run correctly, I get clear feedback on the
command line where I run 'R CMD
2006 Sep 21
6
EOF Error with Unit Tests
I am getting this weird EOFError when running tests using rake
When running unit tests one by one (test file by test file), this error
does not pop up. Does anyone know what is happening?
Thanks!
--
Posted via http://www.ruby-forum.com/.
2014 Jan 18
1
Using unit-tests as examples
Hi,
Which is the best way to use unit tests as examples for documentation?
I use testthat, but if there is a good way to do this, for example,
only with RUnit, it'd still be good to know.
Unit-tests are usually simple and concise, so they are good candidates
for example code, but I don't want to copy them into documentation and
maintain by hands. I tried to google how people handle this,
2003 Sep 27
1
pdb_mysql question...
Hello everybody,
First of all, congratulations on samba 3.0 :o)
Iam trying to install samba 3.0 with pdb_mysql support though im getting some trouble i cant understand.
After reading the output of ./configure --help, i used the following configure args:
./configure --with-expsam=xml,mysql --with-pam --with-pam_smbpass
make
make install
then i took a look at ./examples/pdb/mysql/smb.conf and:
2006 Mar 23
4
ANN: capistrano-runit-tasks 0.2.0
I''d like to announce the second release of capistrano-runit-tasks,
available from http://rubyforge.org/projects/cappy-runit/
It now supports:
* File based templates
* sv as the service control command in addition to runsvctrl
* A much simpler interface for creating additional services.
More work still needs to be done though!
== TODO
* Allow add_service to create more than one
1999 Oct 08
4
Automounting
Is there a way to make samba automatically mount a home directory?
That is, a user logging in (from Linux), enters its username and
password(Samba), and the system automatically mounts the user's home
directory from the samba server(without asking the password again).
Has anyone ever tried to do this? And succedeed :-) ?
--
nneves@di.fc.ul.pt Dept. Informatica, Fac.
2006 Mar 18
2
ANN: capistrano-runit-tasks 0.1.0
I''d like to announce the first release of capistrano-runit-tasks.
This came about as I wanted to use runit rather than spinner/spawner/
reaper on my memory limited VPS but should be useable for any setup.
From the README:
This library extends Capistrano to allow processes to be supervised
using the
runit package. It replaces some of the standard tasks with runit
versions and
2007 Apr 02
2
(Newbie)Basic Basic global vs. local variables
My R code has got too complex to have a non-modular approach. Ive done some
coding in other languages before, but I somehow cant figure out R's general
rules for global and local variables. I have put a simple code below, if
anyone can show me what i need to add to make this work, i would greatly
appreciate it!
#----------------------------------------
g_Means<-numeric()
2004 Aug 09
2
Approaches to using RUnit
Having used JUnit and PyUnit, I was pleased to see the release of the
RUnit package on CRAN.
I'm wondering if there are any RUnit users out there that would be
willing to share some tips on how they organize their code to work with
RUnit.
Specifically, I'm wondering about the best way to load/import/source the
functions to be tested. I would like to end up with a script, testall
or some
2007 Aug 10
10
what is the correct way to stop/start a mongrel instance using monit with mongrel cluster
Hi --
I have been reading documentation and googling around to find the
correct way to do this but I have found many ways that seem to not
work, or the documentation makes no reference to.
I am using mongrel cluster with 10 mongrels for each server. Recently
I installed monit but which lead me to find the correct way to
start/stop mongrel instances one pid at a time. I am assuming one pid
at a
2015 May 07
5
Backup PC or other solution
Il 07/05/2015 11:24, Marcin Trendota ha scritto:
> W dniu 06.05.2015 o 21:21, Alessandro Baggi pisze:
>
>> What do you mean about Backup PC?
>> Any experiences?
>> What solution do you use?
>
> BackupPC is good, howewer it's a pity you can't search for a file in
> GUI. But it works well, i'm backing up 32 hosts (servers, desktops).
>
> Can
2015 Jul 01
4
dovecot-lmtp
Hi, I'm trying to use dovecot-lmtp so that I can filter messages with
sieve, however it doesn't appear to be working.
I followed the instructions on wiki2.dovecot.org. I'm running Debian
Wheezy. I've got runit configured to execute postfix and dovecot, which
may be the source of the problem (runit executes /usr/sbin/dovecot -F).
I've got mail_debug turned on and there is
2003 Dec 02
1
rdiff
Is there any chance for rdiff ?
I need to frequently synchronize big text file (60MB+) undertaking small
changes and I am interested in differences between the subsequent versions
[DNS RBL data in dnsbl format, 1E6+ lines of text, new version every 20m, on
average 50 new entries (lines) in every synchronization]
I would like to get (small) diff file as result of rsync session and apply it
to
1999 Mar 15
1
R packages and test code
Where is the best place to put evaluation/test code in creating an R
package? I thought about a test subdirectory, but might it be better
to put in the R directory? I guess I'm more concerned about the
output used for evaluating the success of the test, rather than the
test code and data, itself.
best,
-tony
--
A.J. Rossini
UW Biostatistics & Center for AIDS Research
206-543-1044 /
2013 Jan 14
1
Issue with getParserData in R3.0.0
Hello,
I am migrating my package lambda.r to R3.0.0 and am experiencing some issues with the getParserData function (which replaces the parser package). Basically the function works in the R shell but fails when either called from RUnit or from R CMD check.
I've narrowed it down to the function getSrcfile, which is returning different values depending on the code path. From the command line
2004 Oct 05
1
R 2.0.0: problem: installing --with-package-versions
Hello R developers,
installing R 2.0.0 from source on a Linux Debian system (gcc 3.2.2)
- which worked just fine - I encountered the following problem when trying to
update/install packages with the option --with-package-versions:
example: RUnit 0.4.0 (also on CRAN)
R20 CMD INSTALL -l /mnt/local/R/R-2.0.x-libs-EpiR --with-package-versions
RUnit_0.4.0.tar.gz
or after untaring
R20 CMD INSTALL