Skip to content
Back to formatted view

Raw Message

Message-ID: <56F249C4.1080302@vodafone.it>
Date: 2016-03-23T07:46:12Z
From: Diego Peroni
Subject: need apply.paramset logging
In-Reply-To: <1458671582.29692.51.camel@brian-rcg>

Hi,

I'm trying to override "apply.paramset" function to define my nested 
custom "combine" function in it as you suggested to me.

I got this error:

Error in apply.paramset(qs.strategy, paramset.label = "MACDOPT", 
portfolio = qs.strategy,  :
   could not find function "must.have.args"

I've understood that "must.have.args" (and others in 
quantstrat/R/utils.R) is a local function that is not exported from 
quantstrat package.

Is there a way to pass my custom "combine" function to "apply.paramset"?

Or, more in general, how can I override "apply.paramset" without failing 
with private functions in it?
How can I export private functions to use them?

Thanks in advance

Diego