Displaying 2 results from an estimated 2 matches for "xml2_type".
Did you mean:
xml2_types
2017 Dec 18
1
Rcpp - Linking to DLL from another package?
...ote:
> | I am trying to make a package B that extends another package A. Package A uses Rcpp, and I want to extend a class X used there.
Another, perhaps simpler example is the xslt package which is an
extension for the xml2 package. The xml2 package exposes its object
types (via ./inst/include/xml2_types.h) so that the xslt package get
to the underlying libxml2 objects.
2017 Dec 18
2
Rcpp - Linking to DLL from another package?
Hi,
I am trying to make a package B that extends another package A. Package A uses Rcpp, and I want to extend a class X used there.
So package A has
src/X.h and inst/include/X.h
class X
{ ... }
src/X.cpp
X::X( arguments )
{ ... }
My package B wants to do this:
DESCRIPTION
[...]
LinkingTo: Rcpp, RcppArmadillo, A
Imports: Rcpp, RcppArmadillo, A
src/Y.h
class Y: public X
{ ... }
src/Y.cpp