Re: [R-pkg-devel] Winbuilder down?

2024-02-01 Thread Balasubramanian Narasimhan
a look what went wrong. Best, Uwe On 01.02.2024 15:53, Balasubramanian Narasimhan wrote: Just FYI: Winbuilder seems to be unresponsive. My uploads over the last 2 days have not resulted in any output or messages. Thank you. -Naras __ R-package-devel@r

[R-pkg-devel] Winbuilder down?

2024-02-01 Thread Balasubramanian Narasimhan
Just FYI: Winbuilder seems to be unresponsive. My uploads over the last 2 days have not resulted in any output or messages. Thank you. -Naras __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [Rd] Matrix 1.6.2+ versus Matrix 1.6.2-

2023-11-22 Thread Balasubramanian Narasimhan
Thanks Mikael. [I too wondered if this topic was appropriate for the list and in the end thought it might be. We can probably take this offline after this exchange and summarize if appropriate.] The actual source of the package is here:

[Rd] Matrix 1.6.2+ versus Matrix 1.6.2-

2023-11-22 Thread Balasubramanian Narasimhan
Package Rmosek compiles fine using Matrix versions 1.6.2- but not with anything beyond Matrix 1.6.2.  (FYI, Rmosek provides R interfaces to the excellent MOSEK solver; academic licenses are free.) Here is the error message: rmsk_obj_matrices.cc:50:9: error: use of undeclared identifier

Re: [R-pkg-devel] [UNCLASSIFIED] Remotes in description when submitting a package until a dependency is fixed

2022-11-28 Thread Balasubramanian Narasimhan
(Disclaimer: User bias here.) I can vouch for drat repos; they have saved me in developing APIs for packages under development, e.g. rcbc which is only on Github and not on CRAN.  (As Dirk notes, this only applies to Enhances/Suggests dependence.) -Naras On 11/16/22 8:17 AM, Dirk

Re: [R-pkg-devel] How to update the email address of a package maintainer

2021-11-08 Thread Balasubramanian Narasimhan
Thank you, Simon! On 11/8/21 5:57 PM, Simon Urbanek wrote: From CRAN Policy: Explain any change in the maintainer’s email address and if possible send confirmation from the previous address (by a separate email to cran-submissi...@r-project.org) or explain why it is not possible

[R-pkg-devel] How to update the email address of a package maintainer

2021-11-08 Thread Balasubramanian Narasimhan
Is there any way at all to update the email address of the maintainer of a package? (The address of the maintainer of CVXR which is in need of an update for the new SCS solver has changed from  @stanford.edu to @alumni.stanford.edu, with no access to the former.) -Naras

Re: [Rd] FLIBS in MacOS M1 binary at odds with documentation for optional libraries/tools

2021-11-02 Thread Balasubramanian Narasimhan
people that reports are a lot more useful *before* the release - that's why we publish RCs. Thanks, Simon On Nov 2, 2021, at 3:03 PM, Balasubramanian Narasimhan wrote: The Mac OS M1 pre-built binary arrives with a /Library/Frameworks/R.framework/Resources/etc/Makevars containing FLIBS = -L

[Rd] FLIBS in MacOS M1 binary at odds with documentation for optional libraries/tools

2021-11-01 Thread Balasubramanian Narasimhan
The Mac OS M1 pre-built binary arrives with a /Library/Frameworks/R.framework/Resources/etc/Makevars containing FLIBS =  -L/Volumes/Builds/opt/R/arm64/gfortran/lib/gcc/aarch64-apple-darwin20.2.0/11.0.0 -L/Volumes/Builds/opt/R/arm64/gfortran/lib/gcc -L/Volumes/Builds/opt/R/arm64/gfortran/lib

Re: [Rd] subset argument in nls() and possibly other functions

2021-07-14 Thread Balasubramanian Narasimhan
For the example provided below, the subsetting happens in evaluating the call to stats::model.formula in line 583 of nls.R (https://github.com/wch/r-source/blob/e91be22f6f37644e5a0ba74a3dfe504a3a29e9f7/src/library/stats/R/nls.R#L583) returning an appropriate (subsetted) data frame. -Naras On

Re: [R-pkg-devel] Suggesting gurobi

2021-06-04 Thread Balasubramanian Narasimhan
Suggests" would trigger an attempt to install gurobi, which is not on CRAN. We used "Enhances" for our CVXR  because (1) None of the functionality in the package requires gurobi; (2) Packages in "Enhances" are not required to check the package by CRAN. Your package mirrors ours in these

Re: [R-pkg-devel] Unable to get past CRAN submission checks for package cubature

2021-05-13 Thread Balasubramanian Narasimhan
s://gcc.gnu.org/bugzilla/show_bug.cgi?id=88273 Maybe you knew that already but it might be useful for others to be aware there is an actual bug that at least is in the general area that affects GCC 8.2-8.3. Best, B. On Monday, May 10, 2021, 4:01:36 PM EDT, Balasubramanian Narasimhan

[R-pkg-devel] Unable to get past CRAN submission checks for package cubature

2021-05-10 Thread Balasubramanian Narasimhan
. It appears that I am unable to get beyond the auto-check service. Any suggestions? -Naras Forwarded Message Subject:Re: [CRAN-pretest-archived] CRAN submission cubature 2.0.4.2 Date: Thu, 6 May 2021 12:51:37 -0700 From: Balasubramanian Narasimhan To: cran

Re: [Rd] Possible x11 window manager window aggregation under one icon?

2021-03-22 Thread Balasubramanian Narasimhan
Confession: haven't done this in decades. Isn't the usual way to use 'xwininfo' to figure out the information about any X window and set a specific resource in the .X11defaults or equivalent?  Also doing the same with windows that aggregate could yield a common resource, perhaps? -Naras On

Re: [R-pkg-devel] Subarchitectures

2021-02-11 Thread Balasubramanian Narasimhan
If GNU make is acceptable as a system requirement, you can get any R configuration/runtime variable in Makevars, e.g. R_ARCH=$(shell $(R_HOME)/bin/Rscript -e 'cat(.Platform$r_arch)') -Naras On 2/9/21 9:45 AM, Duncan Murdoch wrote: On 09/02/2021 11:01 a.m., Duncan Murdoch wrote: I think the

[R-pkg-devel] Winbuilder seems stuck

2021-01-06 Thread Balasubramanian Narasimhan
This is just FYI to CRAN as no results came back from an upload over a day and a half ago. A repeat upload gives: ERROR: Access to the path 'C:\Inetpub\ftproot\R-devel\...' is denied. -Naras [[alternative HTML version deleted]] __

Re: [Rd] From .Fortran to .Call?

2020-12-23 Thread Balasubramanian Narasimhan
Also, just came to know about dotcall64::.C64() (on CRAN) which allows for Fortran to be called using .Call(). -Naras On 12/23/20 8:34 AM, Balasubramanian Narasimhan wrote: I think it should be pretty easy to fix up SUtools to use the .Call instead of .Fortran following along the lines

Re: [Rd] From .Fortran to .Call?

2020-12-23 Thread Balasubramanian Narasimhan
https://urldefense.com/v3/__https://github.com/t-kalinowski/RFI__;!!DZ3fjg!s1-ihrZ9DPUtXpxdIpJPA1VedpZFt12Ahmn4CycOmile_uSahFZnJPn_5KPIbwXmXqY$ Tomasz Kalinowski On Tue, Dec 22, 2020 at 7:24 PM Balasubramanian Narasimhan wrote: To deal with such Fortran issues in several packages I deal with, I wrote the SU

Re: [Rd] From .Fortran to .Call?

2020-12-22 Thread Balasubramanian Narasimhan
To deal with such Fortran issues in several packages I deal with, I wrote the SUtools package (https://github.com/bnaras/SUtools) that you can try.  The current version generates the registration assuming implicit Fortran naming conventions though. (I've been meaning to upgrade it to use the

Re: [R-pkg-devel] checking windows timing?

2020-10-13 Thread Balasubramanian Narasimhan
FWIW, we dealt with the tests-taking-too-long problem for CVXR (which has a lot of tests) by mercilessly cutting out all tests on CRAN (testthat::skip_on_cran()) except for some fundamental ones on atoms, curvature, etc.  We then rely on Github actions (with NOT_CRAN = true) to run the full

Re: [R-pkg-devel] Help in getting past CRAN submission rejections

2020-09-16 Thread Balasubramanian Narasimhan
Just to close the loop on this: the drat suggestion for both packages and also moving things to enhances worked. I could do this also for Gurobi because it is LGPL'd. Thanks Toby and Dirk (for drat). -Naras On 9/9/20 5:16 PM, Balasubramanian Narasimhan wrote: Thanks Toby, so there is hope

Re: [R-pkg-devel] Help in getting past CRAN submission rejections

2020-09-09 Thread Balasubramanian Narasimhan
ike "gurobi package is not available in any public > open-source repositories but can be downloaded for academic use free > of charge from $GUROBI_URL" > BTW thanks for your efforts in getting CVXR on CRAN, that is really > important work! > Toby > > > O

[R-pkg-devel] Help in getting past CRAN submission rejections

2020-09-09 Thread Balasubramanian Narasimhan
We've been struggling to get past CRAN's rejections for a new upload of CVXR.  The new version makes essentially one change to the existing version on CRAN: the addition of a DOI to an article to appear in JSS.  We realize that CRAN may tighten policies in the meantime forcing some changes to

[R-pkg-devel] Uncaught use of internal functions from other packages in R CMD check

2020-06-15 Thread Balasubramanian Narasimhan
At least one package on CRAN uses get("foo", envir=asNamespace("imported_package")) and passes check. Is this known? -Naras __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] How to account for optional packages not necessarily on CRAN

2019-12-10 Thread Balasubramanian Narasimhan
: On 10 December 2019 at 17:22, Balasubramanian Narasimhan wrote: | We've run into the following problem in integrating commercial and open | source solvers in to our package CVXR. We have "Suggests" dependency on | some packages that may not be available to CRAN. | | There are two main

[R-pkg-devel] How to account for optional packages not necessarily on CRAN

2019-12-10 Thread Balasubramanian Narasimhan
We've run into the following problem in integrating commercial and open source solvers in to our package CVXR. We have "Suggests" dependency on some packages that may not be available to CRAN. There are two main scenarios. 1. A suggested meta-package is on CRAN, e.g. Rmosek, but the user must

Re: [Rd] gfortran 9 quantreg bug

2019-08-04 Thread Balasubramanian Narasimhan
On 8/4/19 7:26 AM, Berend Hasselman wrote: > Roger, > > I have run > > gfortran -c -fsyntax-only -fimplicit-none -Wall -pedantic rqbr.f > > in the src folder of quantreg. > > There are many warnings about defined but not used labels. > Also two errors such as "Symbol ‘in’ at (1) has no

Re: [Rd] f951.exe: sorry, unimplemented: 64-bit mode not compiled

2012-05-08 Thread Balasubramanian Narasimhan
The original post below refers to an issue that arose with glmnet. It has since been fixed but the underlying problem (I believe) is a bug in gcc/gfortran 2.6.3 toolchain. Here is a reproducible example, test.f90. program dblbug real :: x, y x=2 y=exp(dble(x)) end program dblbug