Re: [R-pkg-devel] Package suggested but not available for checking: 'rPeaks'; Additional_repositories

2019-04-15 Thread Tan Zhou
Thank you very much for your suggestions and explanation, Ralf. They are very helpful. I got permission from the author and use *drat::addRepo("jrminter").* *When I try to test if this package can be installed with install.package* *install.packages("rPeaks", repos = "https://jrminter.github.io/d

Re: [R-pkg-devel] Package suggested but not available for checking: 'rPeaks'; Additional_repositories

2019-04-15 Thread Uwe Ligges
On 15.04.2019 18:50, Tan Zhou wrote: Hi, I am trying to put the r package on the CRAN. But one of the package dependencies is not from CRAN. I can use the following can install in local. if (!require("rPeaks")) { devtools::install_github("jrminter/rPeaks") } You must not do that as

Re: [R-pkg-devel] Package suggested but not available for checking: 'rPeaks'; Additional_repositories

2019-04-15 Thread Ralf Stubner
On 15.04.19 18:50, Tan Zhou wrote: > I followed the suggestions based on > https://stackoverflow.com/questions/29419776/r-package-dependencies-not-installed-from-additional-repositories > . > But it didn't work out for me. OR maybe I didn't set up it right. > > My GitHub repository is https://gith

[R-pkg-devel] Package suggested but not available for checking: 'rPeaks'; Additional_repositories

2019-04-15 Thread Tan Zhou
Hi, I am trying to put the r package on the CRAN. But one of the package dependencies is not from CRAN. I can use the following can install in local. if (!require("rPeaks")) { devtools::install_github("jrminter/rPeaks") } I followed the suggestions based on https://stackoverflow.com/questio

Re: [R-pkg-devel] SHLIB_OPENMP_*FLAGS in Makefiles

2019-04-15 Thread Dirk Eddelbuettel
On 15 April 2019 at 11:21, Jarrett Phillips wrote: | In checking my R package via devtools::check and devtools::check_built, I | received the following NOTE which I am unsure how to fix. My package | contains compiled code (via Rcpp). Within my .cpp file I have the following | line: | | #define

Re: [R-pkg-devel] SHLIB_OPENMP_*FLAGS in Makefiles

2019-04-15 Thread Maxime Turgeon
The NOTE refers to Makevars and Makevars.win. The most logical place to start your investigation would be those two files. Do you have any reason to believe that they are *not* the culprits? Max From: R-package-devel on behalf of Jarrett Phillips Sent: April 1

[R-pkg-devel] SHLIB_OPENMP_*FLAGS in Makefiles

2019-04-15 Thread Jarrett Phillips
In checking my R package via devtools::check and devtools::check_built, I received the following NOTE which I am unsure how to fix. My package contains compiled code (via Rcpp). Within my .cpp file I have the following line: #define ARMA_DONT_PRINT_OPENMP_WARNING Is this the issue? checking use