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

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Tue May 16 20:09:41 CEST 2023


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>> 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>> 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