ce
Sharon
*From: *Iris Simmons
*Date: *Thursday, July 3, 2025 at 5:11 PM
*To: *Sharon Bewick
*Cc: *Michael Chirico , R Package Development <
r-package-devel@r-project.org>
*Subject: *Re: [R-pkg-devel] Two errors
This Message Is From An External Sender: Use caution when opening lin
July 3, 2025 at 5:11 PM
> *To: *Sharon Bewick
> *Cc: *Michael Chirico , R Package Development <
> r-package-devel@r-project.org>
> *Subject: *Re: [R-pkg-devel] Two errors
>
> This Message Is From An External Sender: Use caution when opening links or
> attachments if you
: Sharon Bewick
Cc: Michael Chirico , R Package Development
Subject: Re: [R-pkg-devel] Two errors
This Message Is From An External Sender: Use caution when opening links or
attachments if you do not recognize the sender.
I believe the suggestion was that you should alternatively write:
.Call
Description file? Somewhere in the code?
>
> So sorry for not understanding!
>
> Thanks!
> Sharon
>
> From: Michael Chirico
> Date: Thursday, July 3, 2025 at 4:13 PM
> To: Sharon Bewick
> Cc: R Package Development
> Subject: Re: [R-pkg-devel] Two errors
>
> Th
here should
> the "seq_root2tip" with PACKAGE="ape" go? In the NAMESPACE file? In the
> Description file? Somewhere in the code?
>
> So sorry for not understanding!
>
> Thanks!
> Sharon
>
> From: Michael Chirico
> Date: Thursday, July 3, 2025 at
. Most package maintainers are happy to
accept suggested improvements.
Duncan Murdoch
*From: *Duncan Murdoch
*Date: *Thursday, July 3, 2025 at 4:13 PM
*To: *Sharon Bewick , r-package-devel@r-project.org
*Subject: *Re: [R-pkg-devel] Two errors
This Message Is From An External Sender: Use
obal variable ‘seq_root2tip’
Undefined global functions or variables:
seq_root2tip
Any thoughts?
Sharon
From: Josiah Parry
Date: Thursday, July 3, 2025 at 4:46 PM
To: Sharon Bewick
Cc: Michael Chirico , R Package Development
Subject: Re: [R-pkg-devel] Two errors
This Message Is From An Externa
ron Bewick
> Cc: R Package Development
> Subject: Re: [R-pkg-devel] Two errors
>
> This Message Is From An External Sender: Use caution when opening links or
> attachments if you do not recognize the sender.
> 1. all functions in R are variables. You can "trick" c
ichael Chirico
Date: Thursday, July 3, 2025 at 4:13 PM
To: Sharon Bewick
Cc: R Package Development
Subject: Re: [R-pkg-devel] Two errors
This Message Is From An External Sender: Use caution when opening links or
attachments if you do not recognize the sender.
1. all functions in R are variables.
The problem is that the function that ape exports is way too slow. Using C
directly really sped up my program, which is a bit slow even at that…
From: Duncan Murdoch
Date: Thursday, July 3, 2025 at 4:13 PM
To: Sharon Bewick , r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] Two
1. all functions in R are variables. You can "trick" code tools by writing
seq_root2tip=NULL in the same scope but consider (a) C routines are
typically part of a package's private interface (b) it might be preferable
to use the string "seq_root2tip" with PACKAGE="ape"
2. phytree is not the same a
On 2025-07-03 5:57 p.m., Sharon Bewick wrote:
1. I�m trying to upload my R package. However, I use the ape function
seq_root2tip but for the sake of speed am calling it using .Call:
toroot<-.Call(seq_root2tip, nt$edge, length(nt$tip.label), nt$Nnode)
How do I get R to recognize the seq_root2ti
1. I�m trying to upload my R package. However, I use the ape function
seq_root2tip but for the sake of speed am calling it using .Call:
toroot<-.Call(seq_root2tip, nt$edge, length(nt$tip.label), nt$Nnode)
How do I get R to recognize the seq_root2tip function from ape in this C call?
It is throw
13 matches
Mail list logo