r - devtools causes problems in RcppArmadillo packages -
the last few days have been using lot rcpparmadillo. have been working on 3d arrays convolution project. after initial steep learning curve managed create useful c++ routines using armadillo. kudos dirk.
then rcpparmadillo started doing weird things; kept getting message:
found no calls to: 'r_registerroutines', 'r_usedynamicsymbols' practice register native routines , disable symbol search. this happens in windows 10. in linux may receive same message fixable rcpparmadillo::rcpparmadillo.package.skeleton() or following new instructions in writing r extensions - 5.4 registering native routines. in windows this not work, though. why?
to isolate problem started virtual machine (vm) fresh r (3.4.1). when start demo rcpparmadillo builds, build demo without hiccups, no notes, no warning messages. install devtools problems rcpparmadillo begin.
to reproduce this, can following: (1) start fresh r , install packages required run build your-package rcpparmadillo (a couple). (2) build demo package. no errors. (3) download source of of these packages tested: gckrig, gas, abcrf, absfiltergsea, amelia, mave, sparsefactoranalysis, rcppprogress, artfima, geospt. of them use rcpparmadillo. should build ok providing fed them dependencies. (4) now, install devtools. after start receiving message:
found no calls to: 'r_registerroutines', 'r_usedynamicsymbols' practice register native routines , disable symbol search no mater did, not rid off note. tried same packages in linux , no issue @ all. causes delay because 1 cannot submit package cran message.
(5) now, if uninstall devtools , dependencies , try again building rcpparmadillo package; no more message register native routines. beautiful.
i wonder why devtools causing conflict. how can fixed? love devtools have keep uninstalled if have work rcpparmadillo. tough choices.
edit
this reproducible. here steps reproduce behavior:
(1) start fresh r , install packages required build your-package rcpparmadillo (a couple). not install devtools.
(2) build demo package. no register native routines errors.
(3) download source of of these packages have tested: gckrig, gas, abcrf, absfiltergsea, amelia, mave, sparsefactoranalysis, rcppprogress, artfima, geospt. of them use rcpparmadillo. should build ok providing fed them dependencies.
(4) now, install devtools. try building again of packages above. after start receiving message: register native routines.
(5) now, if uninstall devtools , dependencies , try building again rcpparmadillo package; no more messages related register native routines.
edit
has been tested 3 windows 10 virtual machine instances installing r 3.4.1, rtools scratch. in tests, building packages rcpparmadillo finish message register native routines. if try build in linux -the same package- pass no notes.
Comments
Post a Comment