[R-pkg-devel] Package Submission: issues with R_registerRoutines', 'R_useDynamicSymbols'

2017-04-13 Thread Vineetha Warriyar Kodalore Vijayan
Hi, When I submitted my R package to CRAN, it didn't go through the automatic incoming check, resulting the following NOTE. I tested on my macOS with R CMD CHECK and R CMD --as-cran, both went through with one NOTE ( Maintainer: NOTE). * checking compiled code ... NOTE File 'EpiILM/libs/i386

Re: [R-pkg-devel] Package Submission: issues with R_registerRoutines', 'R_useDynamicSymbols'

2017-04-13 Thread Ege Rubak
Hi, This is something that has gotten quite a bit of attention recently due to the coming R 3.4 giving a NOTE when routines aren't declared. You should be able to find info on this list or elsewhere. Basically you need to make a file called e.g. init.c in your src/ with the appropriate code. T

Re: [R-pkg-devel] Package Submission: issues with R_registerRoutines', 'R_useDynamicSymbols'

2017-04-13 Thread Vineetha Warriyar Kodalore Vijayan
Hi Ege, Thank you! In the init.c file, do I have to change 'void' to corresponding declaration? E.g: extern void F77_NAME(datacon)(void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *); Also, how do I know the package passes the CRAN incoming feasibility a

Re: [R-pkg-devel] Package Submission: issues with R_registerRoutines', 'R_useDynamicSymbols'

2017-04-13 Thread Ege Rubak
Hi, A few extra comments are below. On 04/14/2017 12:46 AM, Zhian Kamvar wrote: Hi, On Apr 13, 2017, at 11:41 , Vineetha Warriyar Kodalore Vijayan mailto:vineethawarriyar@ucalgary.ca>> wrote: Hi Ege, Thank you! In the init.c file, do I have to change 'void' to corresponding declarati

Re: [R-pkg-devel] Package Submission: issues with R_registerRoutines', 'R_useDynamicSymbols'

2017-04-13 Thread Vineetha Warriyar Kodalore Vijayan
Thanks everyone! -Vineetha From: Ege Rubak Sent: Thursday, April 13, 2017 11:04:20 AM To: Zhian Kamvar; Vineetha Warriyar Kodalore Vijayan Cc: r-package-devel@r-project.org Subject: Re: [R-pkg-devel] Package Submission: issues with R_registerRoutines', 'R_useDy

Re: [R-pkg-devel] Package Submission: issues with R_registerRoutines', 'R_useDynamicSymbols'

2017-04-13 Thread Tim Keitt
On Thu, Apr 13, 2017 at 10:14 AM, Vineetha Warriyar Kodalore Vijayan < vineethawarriyar@ucalgary.ca> wrote: > Can someone help to resolve this issue? I wrote a short R script that will read your RcppExports.cpp and emit the corresponding init.c file. I call it from my configure script, but i

[R-pkg-devel] Warning of DDRTree

2017-04-13 Thread Xiaojie Qiu
We are planning to update the DDRTree package but found the following warnings: d:/RCompile/CRANpkg/lib/3.4/BH/include/boost/unordered/detail/buckets.hpp:586:29: warning: ISO C++ 1998 does not support 'long long' [-Wlong-long] d:/RCompile/CRANpkg/lib/3.4/BH/include/boost/unordered/detail/buc

Re: [R-pkg-devel] Warning of DDRTree

2017-04-13 Thread Kevin Ushey
You can try placing this in your src/Makevars[.win] file: CXXFLAGS = -DBOOST_NO_LONG_LONG The dplyr package does this (and more) to avoid 'long long' leaking in from Boost headers. See e.g. https://github.com/tidyverse/dplyr/blob/ff719f53f88f2f03a298fa0ea489b902527ee2f1/src/Makevars#L2 The

Re: [R-pkg-devel] Warning of DDRTree

2017-04-13 Thread Dirk Eddelbuettel
On 14 April 2017 at 01:49, Xiaojie Qiu wrote: | We are planning to update the DDRTree package but found the following | warnings: | | d:/RCompile/CRANpkg/lib/3.4/BH/include/boost/unordered/detail/buckets.hpp:586:29: | warning: ISO C++ 1998 does not support 'long long' [-Wlong-long] | d:/RCo