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] |

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

[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]

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

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

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

[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

Re: [Rd] "table(droplevels(aq)$Month)" in manual page of droplevels

2017-04-13 Thread Martin Maechler
> Rui Barradas > on Wed, 12 Apr 2017 17:07:45 +0100 writes: > Hello, Inline. > Em 12-04-2017 16:40, Henric Winell escreveu: >> (Let's keep the discussion on-list -- I've added back >> R-devel.) >> >> On 2017-04-12 16:39, Ulrich Windl

Re: [Bioc-devel] R CMD check error on shinytest package

2017-04-13 Thread Obenchain, Valerie
Hi Sam, Yes, this is a problem. Packages you depend on must be in a CRAN or Bioconductor repository. Valerie On 04/12/2017 10:33 PM, Samuel Wieczorek wrote: > Hi > > For the Prostar package, I began to use the funtionnalities of shinytest > wich is a package that provides utilities to

Re: [Bioc-devel] Commiting from git to svn

2017-04-13 Thread Lluís Revilla
Dear Stephanie, Maybe I didn't pick the right commit but it didn't solve my error, and the same message appeared. Thanks for the suggestion. Lluís On 6 April 2017 at 18:34, Stephanie M. Gogarten wrote: > Try following the steps under "Dealing with prior history /

[Rd] Q: Windows/readline: missing history search

2017-04-13 Thread Ulrich Windl
Hello! Ever since I used R on Windows (RGui) I am missing the ability to search the command history (Cntrl+R (reverse-search-history) in BASH, for example). Is there a particular reason for having this function disabled? Another feature would be word-wise delete (kill-word,

Re: [Bioc-devel] Iterating over BSgenomeViews returns DNAString instead of BSgenomeViews

2017-04-13 Thread Michael Lawrence
You could eventually point your student to MaskedXString and oligonucleotideFrequency(). You can mask the repeats and then just run the latter to count the N-mers. Comparing their original code to the code based on existing high-level utilities might be a useful exercise. Michael On Wed, Apr