Thanks Romain for that elegant solution.
Best,
Gregor
On Wed, 22 Jan 2014 20:23:10 +0100
Romain François wrote:
> Hello,
>
> The problem is that you have logic in both your mother and child packages.
> IMO, you should only have logic in the mother package.
>
> I’ve done this in a number of
Hello,
The problem is that you have logic in both your mother and child packages. IMO,
you should only have logic in the mother package.
I’ve done this in a number of packages, it requires a bit of work initially,
but not that much.
What I’d do is have something like this in mother/inst/inc
Hi again,
On Wed, 22 Jan 2014 06:39:17 -0600
Dirk Eddelbuettel wrote:
| Working examples I know of:
|
|'xts' importing two functions from 'zoo'
|
|'RcppXts' importing approx. ten functions from 'xts'
|
| Maybe by comparing to these you can sort out the missing step at your end.
Th
Hi Gregor,
On 22 January 2014 at 11:53, Gregor Kastner wrote:
| in my package 'stochvol' I have unsuccessfully been trying to make a C
| routine called 'sampler' available to be called from other packages' C code.
|
| Following
|
http://cran.r-project.org/doc/manuals/R-exts.html#Linking-to-nati
Dear all,
in my package 'stochvol' I have unsuccessfully been trying to make a C
routine called 'sampler' available to be called from other packages' C code.
Following
http://cran.r-project.org/doc/manuals/R-exts.html#Linking-to-native-routines-in-other-packages
I have included
#include
R_init_
Le 06/12/2013 22:29, Hadley Wickham a écrit :
But now if I do Depends: Rcpp or Imports: Rcpp for the sole purpose of this
LinkingTo mechanism, I'm getting
* checking dependencies in R code ... NOTE
Namespace in Imports field not imported from: ‘Rcpp’
All declared Imports should be used.
See t
> But now if I do Depends: Rcpp or Imports: Rcpp for the sole purpose of this
> LinkingTo mechanism, I'm getting
>
> * checking dependencies in R code ... NOTE
> Namespace in Imports field not imported from: ‘Rcpp’
> All declared Imports should be used.
> See the information on DESCRIPTION files
Le 16/11/2013 11:02, Romain Francois a écrit :
Hello,
I'm currently working on making Rcpp use the feature described here more:
http://cran.r-project.org/doc/manuals/R-exts.html#Linking-to-native-routines-in-other-packages
To give more context, Rcpp has for a long time built what we called "th
Hello,
I'm currently working on making Rcpp use the feature described here more:
http://cran.r-project.org/doc/manuals/R-exts.html#Linking-to-native-routines-in-other-packages
To give more context, Rcpp has for a long time built what we called "the
Rcpp user library", i.e. a library we could li