similar to: specs inside subfolder of lib folder not displaying proper error messages

Displaying 20 results from an estimated 6000 matches similar to: "specs inside subfolder of lib folder not displaying proper error messages"

2009 Apr 22
1
Tests for my gem cannot find classes in gems lib directory ..
I am writing a gem and using RSpec to drive my development. However, whenever I describe a class within the gems lib I get an uninitialized constant error. I am placing my folder structure, spec.rake and first spec below. I feel I must be missing something obvious. Additionally, I did output the value of f in lib inclusion code and it is traversing the lib folder correctly and I can
2007 Nov 12
2
Query an Access database based on a date attribute
Dear useRs, I would like to query an Access database through R based on a date attribute but, unfortunately, I fail to do so. For example, the table test_table of the test.mdb looks like: ID cd market competitor dd price 1 1 2007-11-20 atl-bos delta 2007-11-20 210 2 2 2007-11-20 atl-bos delta 2007-11-21 190 3 3 2007-11-20 atl-bos delta 2007-11-22
2007 Nov 13
1
R: Query an Access database based on a date attribute
It seems that Access needs that you surround the dates with a # symbol. You probably need something like. res <- sqlQuery(channel, "select * from test_table where market = 'atl-bos' and competitor = 'delta' and dd = #2007-11-20#") Hope this helps, Stefano -----Messaggio originale----- Da: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]Per
2012 Mar 15
1
Accessing variable's name as an attribute?
Sorry - I suspect this is a very basic query. I have a data frame structured "flat" (i.e. separate observations for a given subject ID on separate lines). Using the nlme library I create a groupedData object suitable for further analysis thus: dataset <- groupedData(VARIABLE ~ TIME|ID, data=sfa) The dataset has a large number of VARIABLES of interest so I want to make use of loops
2008 Sep 23
1
Samba 4 installation problem
Hello, I'm trying install Samba 4 by this link http://wiki.samba.org/index.php/Samba4/HOWTO . The step 2 compile and step 3 install completed, but step 4 provisionhas following error: [root@samba4 setup]# ./provision --realm=sfa.local --domain=sfa --adminpass=5555 --server-role='domain controller'Traceback (most recent call last): File "./provision", line 32, in ?
2007 Jan 10
7
foo_spec.rb -> foo.rspec (proposed RSpec file name convention)
Is it too late to suggest some filename conventions for example rspec files--especially when bundling with gems? I see spec_foo.rb and foo_spec.rb around. Also found some foo_ex.rb around. Would having a foo.rspec be worth talking about? Or is the convention more or less to have ''spec'' in the file name? I have to confess the only real motivation I have at the moment is syntax
2013 Apr 25
1
Stochastic Frontier: Finding the optimal scale/scale efficiency by "frontier" package
Hi, I am trying to find out the scale efficiency and optimal scale of banks by stochastic frontier analysis given the panel data of bank. I am free to choose any model of stochastic frontier analysis. The only approach I know to work with R is to estimate a translog production function by sfa or other related function in frontier package, and then use the Ray 1998 formula to find the scale
2010 Jul 16
2
SKYPE - Authenticate incoming call
>> >> >> Hi All, >> >> After getting licences for Skype for asterisk a while ago I finally got >> around to setting up a server with two channels and setting up a bcp on >> the skype end. >> >> The idea behind this is the following: >> >> Users can dial into the PBX, get authenticated and only after> >>
2006 Dec 19
1
something.should_be_open blows up?
context "A new Foo" specify "should be open" do Foo.new.should_be_open end end ArgumentError in ''A new Foo should be open'' wrong number of arguments (0 for 1) ./foo_spec.rb:9: class Foo def open?; true; end end What''s the deal with that? I looked in the RDoc and nothing seems to define open?. I can get around it for now by doing the
2009 Sep 23
1
SFA - No channel cause 66
Hi, after having tested SFA in august, I didn't use it for some times and now I receive the subject error when calling through Skype channel. Has anyone an idea on what can be the problem? Thanks -- Daniel
2008 Nov 08
0
New package "frontier" for Stochastic Frontier Analysis (SFA)
Hi! A few weeks ago, I have uploaded a new R package "frontier" for Stochastic Frontier Analysis (SFA) [1] to CRAN [2]. It includes the FORTRAN code of Tim Coelli's [3] software "Frontier 4.1" [4]. Hence, the R package "frontier" should have the same capabilities as "Frontier 4.1", i.e. Maximum Likelihood Estimation of Stochastic Frontier Production
2008 Nov 08
0
New package "frontier" for Stochastic Frontier Analysis (SFA)
Hi! A few weeks ago, I have uploaded a new R package "frontier" for Stochastic Frontier Analysis (SFA) [1] to CRAN [2]. It includes the FORTRAN code of Tim Coelli's [3] software "Frontier 4.1" [4]. Hence, the R package "frontier" should have the same capabilities as "Frontier 4.1", i.e. Maximum Likelihood Estimation of Stochastic Frontier Production
2008 Dec 09
0
SFA tools moved from micEcon to frontier
Dear R users, I would like to inform you that everything of the "micEcon" package that is related to Stochastic Frontier Analysis (SFA) has been moved to the "frontier" package, because this is a more appropriate place for the functions "front41WriteInput", "front41ReadOutput", and "front41Est", and the corresponding (S3) methods. The data
2008 Dec 09
0
SFA tools moved from micEcon to frontier
Dear R users, I would like to inform you that everything of the "micEcon" package that is related to Stochastic Frontier Analysis (SFA) has been moved to the "frontier" package, because this is a more appropriate place for the functions "front41WriteInput", "front41ReadOutput", and "front41Est", and the corresponding (S3) methods. The data
2010 Jun 15
1
Skype for SIP
By the way, I am currently testing this product from Skype. I would like to be able to receive calls ona Skype name on our pbx. 1) It works beautifully and you don't have to do anything in particular. 2) It's disproportionally expensive which is why I want Skype for Asterisk to work. SfS costs $5 per month per channel just to test the beta! I find that insane, but I wanted to test it.
2010 Mar 05
1
State of 64 bits applications in Asterisk
Hi, what is the state at this time for 64bits applications and compatibility with 1.6.2 Mainly speaking about FFA, SFA, G729. Thanks for any information -- Daniel
2011 Sep 06
1
Help on the multivariate interpolation with R
Hello, I work on the Stochastic Frontier Analysis (SFA) and I am looking for a function in a R package which done the multivariate interpolation. My problem is: For all i=1, ..., n, I have values of (xi1, xi2, ..., xi7)in IR^7 and f(xi1, xi2, ..., xi7)in R and I have also values of (x'i1, x'i2, ..., x'i7) in IR^7 and I need f(x'i1, x'i2, ..., x'i7) in R by interpolation.
2007 Aug 21
2
using restful_authentication current_user inside controller specs
I''m using restful_authentication in my app and I have the before filters in my application rhtml: before_filter :login_required around_filter :set_timezone around_filter :catch_errors Currently I have them commented out while rspec''in but I''ll need to add them in my specs. def create @ticket = Ticket.new(params[:ticket]) @ticket.user = current_user if
2009 Oct 02
1
ggplot2: proper use of facet_grid inside a function
Hello Again R Folk: I have found items about this in the archives, but I?m still not getting it right. I want to use ggplot2 with facet_grid inside a function with user specified variables, for instance: p <- ggplot(data, aes_string(x = fac1, y = res)) + facet_grid(. ~ fac2) Where data, fac1, fac2 and res are arguments to the function. I have tried p <- ggplot(data,
2011 May 16
0
MI help
Hi, I am trying to do multiple imputation on a panel of data and then, use the imputed values in stochastic frontier analysis. I am using this code just as a start to see if will run: mi(countrydata, n.iter = 30, R.hat = 1.1, max.minutes = 20, rand.imp.method = "bootstrap", run.past.convergence = FALSE, seed = NA) Unfortunately, I get this error which seems to have to do