Andre,

Not reproducible, and you didn't tell us

    - what OS and version
    - what compiler and version
    - what Rcpp version
    - what RcppArmadillo version

etc pp.  Try to redo the following at your end:

R> setwd("/tmp")
R> library(RcppArmadillo)
R> RcppArmadillo.package.skeleton("testpackage")
Creating directories ...
Creating DESCRIPTION ...
Creating NAMESPACE ...
Creating Read-and-delete-me ...
Saving functions and data ...
Making help files ...
Done.
Further steps are described in './testpackage/Read-and-delete-me'.

Adding RcppArmadillo settings
 >> added Depends: Rcpp, RcppArmadillo
 >> added LinkingTo: Rcpp, RcppArmadillo
 >> added useDynLib directive to NAMESPACE
 >> added Makevars file with Rcpp settings
 >> added Makevars.win file with RcppArmadillo settings
 >> added example header file using Rcpp/RcppArmadillo
 >> added example src file using armadillo classes
 >> added example R file calling the C++ example
R> system("R CMD INSTALL testpackage")
* installing to library ‘/usr/local/lib/R/site-library’
* installing *source* package ‘testpackage’ ...
** libs
ccache g++-4.7 -I/usr/share/R/include -DNDEBUG   
-I"/usr/local/lib/R/site-library/Rcpp/include" 
-I"/usr/local/lib/R/site-library/RcppArmadillo/include"   -fpic  -g0 -O3 -Wall 
-pipe -Wno-variadic-macros -pedantic -c rcpparma_hello_world.cpp -o 
rcpparma_hello_world.o
g++-4.7 -shared -o testpackage.so rcpparma_hello_world.o 
-L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp 
-Wl,-rpath,/usr/local/lib/R/site-library/Rcpp/lib -llapack -lblas -lgfortran 
-lm -lquadmath -L/usr/lib/R/lib -lR
installing to /usr/local/lib/R/site-library/testpackage/libs
** R
** preparing package for lazy loading
** help
Warning: /tmp/testpackage/man/testpackage-package.Rd:32: All text must be in a 
section
*** installing help indices
** building package indices
** testing if installed package can be loaded

* DONE (testpackage)
R> 

followed later by

R> system("R CMD REMOVE testpackage")
Removing from library ‘/usr/local/lib/R/site-library’
R> 


Dirk

-- 
Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to