davidaknowles / suez

R package for mapping response-expression QTLs
Apache License 2.0
4 stars 2 forks source link

Suez Installation #1

Closed ivlachos closed 6 years ago

ivlachos commented 6 years ago

Hi David,

I have a working rstan installation on a RHEL 7 server.

devtools::install_github("davidaknowles/suez") returns:

Modules.cpp:3:30: fatal error: include/models.hpp: No such file or directory

include "include/models.hpp"

                          ^

compilation terminated. make: *** [Modules.o] Error 1 ERROR: compilation failed for package ?suez?

Any ideas?

ivlachos commented 6 years ago

Still haven't found a way to work around it

davidaknowles commented 6 years ago

So this was way harder to work out than it should have been! They seem to have changed how one is "meant to" have .stan code in a package. Previously it was done using cleanup (which was a bit of hack), now the idea seems to be using src/Makevars. I've changed the package structure to this newer design and it installs correctly from github for me. Please let me know if this works for you - sorry this took so long!

On Mon, Aug 27, 2018 at 8:36 AM ivlachos notifications@github.com wrote:

Still haven't found a way to work around it

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/davidaknowles/suez/issues/1#issuecomment-416268205, or mute the thread https://github.com/notifications/unsubscribe-auth/AET_BsiTa8XQjg-4MBs46bBB63bVPQzBks5uVBIKgaJpZM4V65tY .

-- Dr. David A. Knowles, Postdoctoral Scholar, Pritchard and Plevritis Labs, Stanford University. E-mail: knowles84@gmail.com Web: https://davidaknowles.github.io/

ivlachos commented 6 years ago

Thank you David! I'll give it a spin and let you know. Congrats on the PI position!

ivlachos commented 6 years ago

It installed and seems to be working!

Thanks