[R-pkg-devel] Problems with devtools::build() in R

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Tue May 16 21:42:30 CEST 2023


I'm using R 4.3.0, newer than you, so that might affect things.

Duncan

On 16/05/2023 2:48 p.m., Jarrett Phillips wrote:
> Strange... the GitHub repo is up to date and that's what I'm trying to 
> bundle up for a CRAN update. So, I'm thinking it's some kind of a system 
> issue (I recently purchased a new MacBook Pro)..
> 
> I'll investigate.
> 
> Thanks!
> 
> On Tue, May 16, 2023 at 2:09 PM Duncan Murdoch <murdoch.duncan using gmail.com 
> <mailto:murdoch.duncan using gmail.com>> wrote:
> 
>     I don't know what the issue would be.  I just tried
> 
>         remotes::install_github("jphill01/HACSim.R")
> 
>     and it worked fine, but I think that's not the same version that you
>     are
>     working with.
> 
>     Duncan Murdoch
> 
>     On 16/05/2023 2:01 p.m., Jarrett Phillips wrote:
>      >
>      >
>      > On Tue, May 16, 2023 at 2:00 PM Jarrett Phillips
>      > <phillipsjarrett1 using gmail.com <mailto:phillipsjarrett1 using gmail.com>
>     <mailto:phillipsjarrett1 using gmail.com
>     <mailto:phillipsjarrett1 using gmail.com>>> wrote:
>      >
>      >     Yes, in addition to doing what @DirkEddelbuettel suggests. I keep
>      >     getting the same error...
>      >
>      >     On Tue, May 16, 2023 at 1:47 PM Duncan Murdoch
>      >     <murdoch.duncan using gmail.com <mailto:murdoch.duncan using gmail.com>
>     <mailto:murdoch.duncan using gmail.com <mailto:murdoch.duncan using gmail.com>>>
>     wrote:
>      >
>      >         On 16/05/2023 1:14 p.m., Jarrett Phillips wrote:
>      >          > Installing from the URL you provide, as well as doing
>     R CMD
>      >         build HACSim
>      >          > as suggested by @JeffNewmiller fails.
>      >          >
>      >          > When trying the latter solution, I get the same error
>     as the one
>      >          > provided in my original post.
>      >          >
>      >          > Any thoughts?
>      >
>      >         Did you try Serguei's suggestion?
>      >
>      >         On 16/05/2023 12:32 p.m., Serguei Sokol wrote:
>      >           > Try to add in <your_package_dir>/src/Makevars:
>      >           >
>      >           > PKG_LIBS=$(FLIBS)
>      >
>



More information about the R-package-devel mailing list