[Rd] config.status: error: cannot find input file: `po/Makefile.in'

2018-09-05 Thread Matt Dowle
Hi, Does anyone else see the following or is it just me? It usually works fine. I checked latest R-devel commits and couldn't see anything very recently changed or fixed w.r.t. po/ or Makefile. wget https://stat.ethz.ch/R/daily/R-devel.tar.gz tar xvf R-devel.tar.gz cd R-devel ./configure

Re: [Rd] True length - length(unclass(x)) - without having to call unclass()?

2018-09-05 Thread luke-tierney
On Wed, 5 Sep 2018, Kevin Ushey wrote: More generally, I think one of the issues is that R is not yet able to decrement a reference count (or mark a 'shared' data object as 'unshared' after it knows only one binding to it exists). This means passing variables to R closures will mark that object

Re: [Rd] [FORGED] Re: plotmath degree symbol

2018-09-05 Thread Paul Murrell
Awesome. Thanks for confirming. Paul On 05/09/18 19:46, Edzer Pebesma wrote: Thanks, Paul -- setting the ~/.fonts.conf file the way ?X11 describes it under the section you pointed to resolved the problem for me, on ubuntu. On 09/04/2018 11:55 PM, Paul Murrell wrote: Hi Thanks for that,

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-05 Thread Duncan Murdoch
On 05/09/2018 2:20 PM, Henrik Bengtsson wrote: I take a complementary approach; I condition on, my home-made, R_TEST_ALL variable. Effectively, I do: if (as.logical(Sys.getenv("R_TEST_ALL", "FALSE"))) { ... } and set R_TEST_ALL=TRUE when I want to run that part of the test. You can also

Re: [Rd] svg ignores cex.axis in R3.5.1 on macOS

2018-09-05 Thread MacQueen, Don via R-devel
Seems ok on my system. Axis label size changes when cex.axis does. ## tested in the middle of another long session, so many additional packages are attached, including some personal packages not available elsewhere > sessionInfo() R version 3.5.1 (2018-07-02) Platform: x86_64-apple-darwin15.6.0

Re: [Bioc-devel] Building of a package using Rcpp in R version 5.1

2018-09-05 Thread Martin Morgan
Sounds like an Rcpp question and should be asked on the Rcpp mailing list http://lists.r-forge.r-project.org/mailman/listinfo/rcpp-devel Sorry for the run-around! Martin On 09/05/2018 02:17 PM, André Luiz Molan wrote: Hi, I'm trying to create an R package using Rcpp. I am using the

[Bioc-devel] Rectifying my last e-mail (that had some wrong information): "Building of a package using Rcpp in R version 5.1"

2018-09-05 Thread André Luiz Molan
Hi, I'm trying to create an R package using Rcpp. I am using the "Build" option from RStudio and roxygen2 package. My package is build with no error messages and normally loaded. However, when I call a function from the new package, I have the following message: *Error in .Call(, x) : NULL

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-05 Thread Henrik Bengtsson
I take a complementary approach; I condition on, my home-made, R_TEST_ALL variable. Effectively, I do: if (as.logical(Sys.getenv("R_TEST_ALL", "FALSE"))) { ... } and set R_TEST_ALL=TRUE when I want to run that part of the test. You can also imagine refined versions of this, e.g.

[Bioc-devel] Building of a package using Rcpp in R version 5.1

2018-09-05 Thread André Luiz Molan
Hi, I'm trying to create an R package using Rcpp. I am using the "Build" option from RStudio and roxygen2 package. My package is build with no error messages and normally loaded. However, when I call a function from the new package, I have the following message: *Error in .Call(, val1) : NULL

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-05 Thread Spencer Graves
On 2018-09-05 12:52, Gábor Csárdi wrote: On Wed, Sep 5, 2018 at 6:34 PM Spencer Graves wrote: The fda package disables some tests on CRAN using: if(!fda::CRAN()){ test you don't want run on CRAN } Seemingly this just checks for a couple of (5 by default) environment variables that

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-05 Thread Gábor Csárdi
On Wed, Sep 5, 2018 at 6:34 PM Spencer Graves wrote: > > The fda package disables some tests on CRAN using: > > > if(!fda::CRAN()){ > test you don't want run on CRAN > } Seemingly this just checks for a couple of (5 by default) environment variables that match "^_R_":

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-05 Thread Spencer Graves
The fda package disables some tests on CRAN using: if(!fda::CRAN()){     test you don't want run on CRAN }   I've used this in other contexts with tests that are too long to run on CRAN but that I want to run otherwise during "R CMD check".   Spencer Graves On 2018-09-05 12:13,

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-05 Thread Peter Meissner
Hey, Maybe webmockr (or something alike) can help: https://cran.r-project.org/web/packages/webmockr/index.html Best, Peter Rainer M Krug schrieb am Mi., 5. Sep. 2018, 15:38: > OK - thanks. I will than disable the checks for CRAN. > > Thanks, > > Rainer > > > > On 5 Sep 2018, at 15:37, Uwe

Re: [Rd] True length - length(unclass(x)) - without having to call unclass()?

2018-09-05 Thread Kevin Ushey
More generally, I think one of the issues is that R is not yet able to decrement a reference count (or mark a 'shared' data object as 'unshared' after it knows only one binding to it exists). This means passing variables to R closures will mark that object as shared: x <- list()

Re: [Bioc-devel] Web hook push error

2018-09-05 Thread Shepherd, Lori
Your package has been accepted and officially added to the devel version of Bioconductor. You need to follow the instructions for setting up remotes and pushing to the git.bioconductor.org server. The webhook may be deactivated and is only used during the submission process.

Re: [Bioc-devel] DMCHMM package new dev release

2018-09-05 Thread Shepherd, Lori
We now see the changes on the git.bioconductor.org server. The changes should be reflected in tomorrows build report. Cheers, Lori Shepherd Bioconductor Core Team Roswell Park Cancer Institute Department of Biostatistics & Bioinformatics Elm & Carlton Streets Buffalo, New York 14263

Re: [Bioc-devel] DMCHMM package new dev release

2018-09-05 Thread Shepherd, Lori
If you didn't set up your remotes this link may be useful https://bioconductor.org/developers/how-to/git/sync-existing-repositories/ Lori Shepherd Bioconductor Core Team Roswell Park Cancer Institute Department of Biostatistics & Bioinformatics Elm & Carlton Streets Buffalo, New York

Re: [Bioc-devel] DMCHMM package new dev release

2018-09-05 Thread Farhad Shokoohi via Bioc-devel
Hello, I followed every command. Everything is up to date. MacBook-Pro:DMCHMM Farhad$ git remote add upstream g...@git.bioconductor.org:packages/DMCHMM.git fatal: remote upstream already exists. MacBook-Pro:DMCHMM Farhad$ git fetch --all Fetching origin Fetching upstream MacBook-Pro:DMCHMM

[Bioc-devel] Web hook push error

2018-09-05 Thread Håkon Tjeldnes
I noticed today that since release, the web hook has not pushed: Web hook bar is green, with the message: can't build unless issue is open and has the '2. review in progress' label, or is closed and has the 'TESTING' label. This is for the package ORFik Have we set up the web hook in the

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-05 Thread Rainer M Krug
OK - thanks. I will than disable the checks for CRAN. Thanks, Rainer > On 5 Sep 2018, at 15:37, Uwe Ligges wrote: > > You should not run on CRAN. Note that the checks are done almost daily oin > several platforms, hence the API key is used for about 10 check runs a day. > > Best, > Uwe

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-05 Thread Uwe Ligges
You should not run on CRAN. Note that the checks are done almost daily oin several platforms, hence the API key is used for about 10 check runs a day. Best, Uwe Ligges On 05.09.2018 09:28, Rainer Krug wrote: Hi I have a package at GitHub (https://github.com/rkrug/ROriginStamp) which I am

Re: [Bioc-devel] DMCHMM package new dev release

2018-09-05 Thread Farhad Shokoohi via Bioc-devel
Hello, I did everything mentioned in the link. I am also using Sourcetree app on Mac to commit changes but noting changes. Best, ——— Farhad Shokoohi, Ph.D. in Statistics shoko...@icloud.com > On Sep 4, 2018, at 11:59 AM, Obenchain, Valerie > wrote: > > The builds start ~5pm EST daily.

Re: [Bioc-devel] Change the citation of my Bioconductor R package "BUScorrect"

2018-09-05 Thread Shepherd, Lori
Also remember if you are referring to the Citation that appears on the landing pages - packages are built once a day and the landing page could take up to 2 days to reflect the CITATION change after you push changes to the git.bioconductor.org server with a valid version bump. Lori Shepherd

Re: [Bioc-devel] Change the citation of my Bioconductor R package "BUScorrect"

2018-09-05 Thread Xiangyu Luo
Thank you very much for the information, Lori! Best regards with many thanks! Xiangyu On Wed, Sep 5, 2018 at 7:45 PM Shepherd, Lori wrote: > Also remember if you are referring to the Citation that appears on the > landing pages - packages are built once a day and the landing page could >

Re: [Bioc-devel] Change the citation of my Bioconductor R package "BUScorrect"

2018-09-05 Thread Xiangyu Luo
Dear Martin, I greatly appreciate your super kind help! I will fix that very carefully. Thank you so much! Best regards with many thanks! Xiangyu On Wed, Sep 5, 2018 at 7:37 PM Martin Morgan wrote: > Please note, there is no CITATION file anywhere in your repository! > > Verify this for

Re: [Bioc-devel] Change the citation of my Bioconductor R package "BUScorrect"

2018-09-05 Thread Martin Morgan
Please note, there is no CITATION file anywhere in your repository! Verify this for yourself, if you like, by changing to a temporary location and making a new clone of your package git clone g...@git.bioconductor.org:pacakges/BUScorrect You have not added it to your local repository, or

Re: [Bioc-devel] Change the citation of my Bioconductor R package "BUScorrect"

2018-09-05 Thread Xiangyu Luo
Dear Martin, For version 0.9.9, I inserted a CITATION into the "inst", but it did not work. Therefore, in version 0.9.10, I took the CITATION file out of the "inst", but it still did not work. Thank you so much for your patience and guidance! Best regards, Xiangyu On Wed, Sep 5, 2018 at 6:20

Re: [Bioc-devel] Change the citation of my Bioconductor R package "BUScorrect"

2018-09-05 Thread Xiangyu Luo
Dear Levi, Thanks a lot for your suggestion! I actually have bumped the version number. I am reading the link you shared to see whether I made mistakes somewhere. Best regards, Xiangyu On Tue, Sep 4, 2018 at 9:18 PM Levi Waldron wrote: > And don't forget to bump your version number, and to

Re: [Bioc-devel] Change the citation of my Bioconductor R package "BUScorrect"

2018-09-05 Thread Martin Morgan
after I git clone g...@git.bioconductor.org:packages/BUScorrect This is the log that I see BUScorrect master$ git log --name-only -n 2 commit 5ccfa7ce4f665f3ffbc55b26a5cd81beaafd3293 Author: Xiangyu Luo Date: Fri Aug 31 19:10:32 2018 +0800 version bump DESCRIPTION commit

Re: [Bioc-devel] Change the citation of my Bioconductor R package "BUScorrect"

2018-09-05 Thread Xiangyu Luo
Dear Martin, Thank you very much for the information! I have pushed my changes, bumped the version, and waited for a successful nightly build, but the citation result did not change. I am wondering whether the CITATION file should be in "inst" folder? Best, Xiangyu On Tue, Sep 4, 2018 at

Re: [Rd] True length - length(unclass(x)) - without having to call unclass()?

2018-09-05 Thread Iñaki Ucar
The bottomline here is that one can always call a base method, inexpensively and without modifying the object, in, let's say, *formal* OOP languages. In R, this is not possible in general. It would be possible if there was always a foo.default, but primitives use internal dispatch. I was

Re: [Rd] True length - length(unclass(x)) - without having to call unclass()?

2018-09-05 Thread Tomas Kalibera
On 08/24/2018 07:55 PM, Henrik Bengtsson wrote: Is there a low-level function that returns the length of an object 'x' - the length that for instance .subset(x) and .subset2(x) see? An obvious candidate would be to use: .length <- function(x) length(unclass(x)) However, I'm concerned that

Re: [Rd] [FORGED] Re: plotmath degree symbol

2018-09-05 Thread Edzer Pebesma
Thanks, Paul -- setting the ~/.fonts.conf file the way ?X11 describes it under the section you pointed to resolved the problem for me, on ubuntu. On 09/04/2018 11:55 PM, Paul Murrell wrote: > Hi > > Thanks for that, but I still cannot confirm on ... > > sudo docker run -v $(pwd):/home/work/ -w

[R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-05 Thread Rainer Krug
Hi I have a package at GitHub (https://github.com/rkrug/ROriginStamp) which I am pre[paring for CRAN. It creates a trusted timestamp using the API fro OriginStamp (https://originstamp.org/home) which requires an API key. Now this API should not be made public, as to much traffic through one