I am trying to update an R package but there was some problem illustrated below.
The current version of the package appears to be fine on CRAN:
https://cran.r-project.org/web/checks/check_results_bujar.html
When R checked the package on a Linux system with R 3.5.2, I had no problem,
but the f
the same R version 3.5.2 as I have. The problem only occurred
when I used --as-cran option.
Zhu
-Original Message-
From: Dirk Eddelbuettel [mailto:dirk.eddelbuet...@gmail.com] On Behalf Of Dirk
Eddelbuettel
Sent: Saturday, January 12, 2019 5:19 PM
To: Wang, Zhu
Cc: r-package-devel@r
On Behalf Of Dirk
Eddelbuettel
Sent: Monday, January 14, 2019 11:38 AM
To: Wang, Zhu
Cc: Dirk Eddelbuettel; Klaus Schliep; r-package-devel@r-project.org
Subject: RE: [R-pkg-devel] R CMD check --as-cran problem
On 14 January 2019 at 16:52, Wang, Zhu wrote:
| Thanks Dirk and Klaus. The package Mat
rror: there is no package called 'Matrix'.
Thanks,
Zhu
-Original Message-
From: Dirk Eddelbuettel [mailto:dirk.eddelbuet...@gmail.com] On Behalf Of Dirk
Eddelbuettel
Sent: Monday, January 14, 2019 12:45 PM
To: Duncan Murdoch
Cc: Dirk Eddelbuettel; Wang, Zhu; r-package-devel@r-pr
...@statistik.tu-dortmund.de]
Sent: Monday, January 14, 2019 1:52 PM
To: Wang, Zhu; Dirk Eddelbuettel; Duncan Murdoch
Cc: r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] R CMD check --as-cran problem
What happens if you submit to winbuilder?
If that gives the same error, make the source version of
: Dirk Eddelbuettel on behalf of Dirk
Eddelbuettel
Sent: Monday, January 14, 2019 4:19 PM
To: Wang, Zhu
Cc: Uwe Ligges; Dirk Eddelbuettel; Duncan Murdoch; r-package-devel@r-project.org
Subject: RE: [R-pkg-devel] R CMD check --as-cran problem
On 14 January 2019 at 21:05, Wang, Zhu wrote
[mailto:lig...@statistik.tu-dortmund.de]
Sent: Tuesday, January 15, 2019 2:59 AM
To: Wang, Zhu; Dirk Eddelbuettel
Cc: Duncan Murdoch; r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] R CMD check --as-cran problem
If this happens with the CRAN version of the package, you likely have a
corrupted
Hello,
In my R package I would like a Fortran subroutine to compute the same value as
pnorm does in R. I didn't find out an existing Fortran pnorm subroutine.
Perhaps a Fortran subroutine can somehow call R function pnorm, but I would
like advice on how to do this correctly.
Many thanks!
Zhu
Thanks for the useful tips!
-Original Message-
From: Duncan Murdoch
Sent: Friday, March 8, 2019 1:32 PM
To: Wang, Zhu ; R-package-devel@r-project.org
Subject: Re: [R-pkg-devel] compute pnorm in Fortran subroutine in R package
On 08/03/2019 12:55 p.m., Wang, Zhu wrote:
> Hello,
>
Hello,
I have a package where parallel computing is slower than sequential computing
with cross-validation. For instance, please see the following reproducible
example with 10 cores and the relevant lines in the corresponding R function.
The R package is also attached. I thought parallel comput
-Original Message-
From: Ivan Krylov
Sent: Tuesday, April 30, 2019 10:17 AM
To: Wang, Zhu
Cc: R-package-devel@r-project.org
Subject: Re: [R-pkg-devel] parallel computing slower than sequential computing
On Mon, 29 Apr 2019 23:44:42 +
"Wang, Zhu" wrote:
> sessionInfo(
Hello,
In an R package I would like to compute intercept for an intercept-only GLM in
a Fortran subroutine. For instance, in logistic regression, how to obtain an
intercept in this simple model? I know glm_fit calls some Fortran subroutine,
but I am not trying to invent something here. Any othe
heck/cts': File exists
ERROR: moving to final location failed
* removing '/media/sf_Documents/Zwang/Rpkg/cts.Rcheck/cts'
-Original Message-
From: Ivan Krylov
Sent: Friday, May 10, 2019 1:12 AM
To: Wang, Zhu
Cc: R-package-devel@r-project.org
Subject: Re: [R-pkg-devel] R
Thanks Iñaki for the tip that helps!
Best,
Zhu
-Original Message-
From: Iñaki Ucar
Sent: Friday, May 10, 2019 9:50 AM
To: Wang, Zhu
Cc: Ivan Krylov ; R-package-devel@r-project.org
Subject: Re: [R-pkg-devel] R CMD check ERROR (strange to me)
On Fri, 10 May 2019 at 15:42, Wang, Zhu
Thanks Ivan for the tip. Are there any examples or links for me to follow
through more closely?
Thanks,
Zhu
-Original Message-
From: Ivan Krylov
Sent: Monday, May 6, 2019 4:14 AM
To: Wang, Zhu
Cc: R-package-devel@r-project.org
Subject: Re: [R-pkg-devel] How to obtain intercept of
offsets, not just an intercept, but I'm assuming it doesn't.)
>
> OP: Can you clarify why you want to invoke R's entire GLM machinery as
> opposed to just using the closed form solutions?
>
> Michael
>
>> On Sat, May 11, 2019 at 7:23 AM Ivan Krylov wrot
48 AM, Michael Weylandt
mailto:michael.weyla...@gmail.com>> wrote:
On Sat, May 11, 2019 at 8:28 AM Wang, Zhu
mailto:wan...@uthscsa.edu>> wrote:
I am open to whatever suggestions but I am not aware a simple closed-form
solution for my original question.
It would help if you could clar
Thanks Michael. I agree that it is possible to simplify the codes.
Best,
Zhu
-Original Message-
From: Michael Weylandt
Sent: Monday, May 20, 2019 3:41 PM
To: Wang, Zhu
Cc: Ivan Krylov ; R-package-devel@r-project.org
Subject: Re: [R-pkg-devel] How to obtain intercept of intercept
Dear all,
For some reason, I couldn't install Rcpp
https://cran.r-project.org/web/packages/Rcpp/index.html, and R CMD check
generated the error message below. I also attached Makeconf file referred below.
Thanks for your attention.
Zhu Wang
installing *source* package 'Rcpp' ...
** package '
Indeed it is from .R/Makevars. Thanks!
From: Ben Bolker
Sent: Monday, June 17, 2019 4:03 PM
To: Wang, Zhu
Cc: R-package-devel@r-project.org
Subject: Re: [R-pkg-devel] R CMD check Rcpp_1.0.1.tar.gz error
This looks like it's caused by the quotation marks around the compiler flags
Dear All,
I received warnings regarding a package:
https://cran.r-project.org/web/checks/check_results_bujar.html
The warning still occurred after I changed export(bujar, gcv.enet) to
export(bujar) in NAMESPACE. The function bujar was defined in the package, so I
probably missed something in S
Thanks Max for the very helpful reply.
Best,
Zhu
From: Max Turgeon
Sent: Monday, June 1, 2020 11:53 AM
To: Wang, Zhu ; R-package-devel@r-project.org
Subject: Re: Warning: S4 exports specified in 'NAMESPACE' but not defined in
package
Good morning,
I had a quick look at the sour
rtMethods("show")
but the package neither defines an S4 class "bujar" nor methods for the
S4 generic "show". You should remove these two lines from your NAMESPACE.
Best regards,
Sebastian Meyer
Am 01.06.20 um 18:34 schrieb Wang, Zhu:
> Dear All,
>
Hello,
In an R function within a package, I would like to call a Fortran subroutine to
compute lower gamma function. Any advice will be appreciated.
Thanks!
Zhu Wang
[[alternative HTML version deleted]]
__
R-package-devel@r-project.org maili
] incomplete gamma function Fortran subroutine
Is there a reason not to use pgamma(), possibly adjusted by a
(de-)normalizing constant? (See detailed notes in ?pgamma)
On 7/21/20 1:44 PM, Wang, Zhu wrote:
> Hello,
>
> In an R function within a package, I would like to call a Fortran s
Thanks Steven.
Zhu
From: Steven Scott
Sent: Tuesday, July 21, 2020 1:30 PM
To: Wang, Zhu
Cc: Ben Bolker ; r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] incomplete gamma function Fortran subroutine
You can often find this kind of code on netlib.org<http://netlib.org>. Just
i
, 2020 1:43 PM
To: Wang, Zhu ; Ben Bolker ;
r-package-devel@r-project.org
Subject: RE: [R-pkg-devel] incomplete gamma function Fortran subroutine
As others have said, built-in function pgamma is a (normalized) version of the
incomplete gamma function! John
-Original Message-
From: R-package
Indeed, that is the piece I missed completely! Glad that I didn't try to invent
wheels.
Thanks,
Zhu
-Original Message-
From: Ben Bolker
Sent: Tuesday, July 21, 2020 3:58 PM
To: luke-tier...@uiowa.edu; Wang, Zhu
Cc: John P. Nolan ; r-package-devel@r-project.org
Subject: Re: [Ext
Apologize if I hijack this thread, but the use of ::: is something I was
puzzled.
I tried Duncan's solution in my R package mypkg, something like:
pkg::callInternal("foo", args)
R CMD check mypkg
* checking dependencies in R code ... WARNING
'::' or ':::' import not declared from: ‘pkg'
I pro
of those if the call is coming from a
> user script.
-Original Message-
From: Duncan Murdoch
Sent: Monday, September 14, 2020 7:17 AM
To: Wang, Zhu ; David Kepplinger
; R Package Devel
Subject: Re: [R-pkg-devel] Use of `:::` in a package for code run in a parallel
cluster
On 13/09
: Wang, Zhu ; David Kepplinger
; R Package Devel
Subject: Re: [R-pkg-devel] Use of `:::` in a package for code run in a parallel
cluster
On 14/09/2020 10:30 a.m., Wang, Zhu wrote:
> In mypkg, I want to call a function foo from pkg, and foo is not exported. I
> thought I should use pkg::
Hello,
I got an e-mail response with warnings on an R package submitted to CRAN. So I
made some changes to the package, after testing successfully with R CMD check
-as-cran, then used r-hub for testing. On one of the systems, there were
error/warnings on vignettes:
! LaTeX Error: File `framed
Hello,
There is an error for R package mpath:
https://cran.r-project.org/web/checks/check_results_mpath.html
However, the information related to the error is not very helpful for me to fix
the error:
https://www.r-project.org/nosvn/R.check/r-devel-windows-ix86+x86_64/mpath-00check.html
On th
Thanks Duncan - I am planning to submit an update, so I have to deal with the
error message.
Best,
Zhu
-Original Message-
From: Duncan Murdoch
Sent: Monday, February 15, 2021 2:45 PM
To: Wang, Zhu ; r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] How to fix a check error for
34 matches
Mail list logo