jdyen / growmodr

growmodr: nonlinear growth curve models in R
Apache License 2.0
3 stars 0 forks source link

trouble installing #2

Closed pvesk closed 4 years ago

pvesk commented 4 years ago

Trying to install on MacBook pro 2015running mojave. latest version R and R-stuido. I'm getting these error messages: In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/arr/meta/is_vector.hpp:4: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/scal/meta/is_vector.hpp:23:26: error: no template named 'decay_t' in namespace 'std'; did you mean 'decay'? : bool_constant<std::decay_t::RowsAtCompileTime == 1> {};


                         decay
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:1371:29: note: 'decay' declared here
struct _LIBCPP_TEMPLATE_VIS decay
                            ^

Hoping you can help! P
jdyen commented 4 years ago

Yuk. Looks like a mismatch in Stan versions -- haven't played around with this one for a while but will have a look. You don't have a second computer with R 3.X installed, do you? (would be good to rule out an R 4.0 issue).

pvesk commented 4 years ago

Hmm, I don’t have a second computer. perhaps I look around the junked computers at home. p

From: Jian Yen notifications@github.com Reply to: jdyen/growmodr reply@reply.github.com Date: Monday, 20 July 2020 at 8:49 am To: jdyen/growmodr growmodr@noreply.github.com Cc: Peter Vesk pvesk@unimelb.edu.au, Author author@noreply.github.com Subject: Re: [jdyen/growmodr] trouble installing (#2)

Yuk. Looks like a mismatch in Stan versions -- haven't played around with this one for a while but will have a look. You don't have a second computer with R 3.X installed, do you? (would be good to rule out an R 4.0 issue).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jdyen/growmodr/issues/2#issuecomment-660721047, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC5YYMMH6EOLANJ3DQSNCDLR4NZ6FANCNFSM4PA5F43Q.

jdyen commented 4 years ago

Don't do that -- I will try it out once the translocation models are done.

pvesk commented 4 years ago

I’ve grabbed Ange’s computer. I’ll try , if it takes any effort, I’ll step back.

First install R, R studio, X code, Rstan…

From: Jian Yen notifications@github.com Reply to: jdyen/growmodr reply@reply.github.com Date: Monday, 20 July 2020 at 9:00 am To: jdyen/growmodr growmodr@noreply.github.com Cc: Peter Vesk pvesk@unimelb.edu.au, Author author@noreply.github.com Subject: Re: [jdyen/growmodr] trouble installing (#2)

Don't do that -- I will try it out once the translocation models are done.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jdyen/growmodr/issues/2#issuecomment-660722359, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC5YYMMQ5WD233KMVTQIDHTR4N3GXANCNFSM4PA5F43Q.

pvesk commented 4 years ago

SO I managed to install R3.6 , R-studio, X -code and rstan, and devtools. But the fail is installing growmodr.

From: Jian Yen notifications@github.com Reply to: jdyen/growmodr reply@reply.github.com Date: Monday, 20 July 2020 at 9:00 am To: jdyen/growmodr growmodr@noreply.github.com Cc: Peter Vesk pvesk@unimelb.edu.au, Author author@noreply.github.com Subject: Re: [jdyen/growmodr] trouble installing (#2)

Don't do that -- I will try it out once the translocation models are done.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jdyen/growmodr/issues/2#issuecomment-660722359, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC5YYMMQ5WD233KMVTQIDHTR4N3GXANCNFSM4PA5F43Q.

pvesk commented 4 years ago

The error is practically identical on R3.6 or R4: Here is the whole readout:

devtools::install_github("jdyen/growmodr", args = "--preclean") Downloading GitHub repo jdyen/growmodr@master ✓ checking for file ‘/private/var/folders/89/1cq40npx67b0fn760490cyl9145kwh/T/RtmpFRmYIu/remotes94677a6057e6/jdyen-growmodr-b5440e3/DESCRIPTION’ ... ─ preparing ‘growmodr’: ✓ checking DESCRIPTION meta-information ... ─ cleaning src ─ running ‘cleanup’ ─ checking for LF line-endings in source and make files and shell scripts (2.9s) ─ checking for empty or unneeded directories ─ building ‘growmodr_0.1.0.tar.gz’ Warning: invalid uid value replaced by that for user 'nobody' Warning: invalid gid value replaced by that for user 'nobody'

We detected these problematic arguments:

Did you misspecify an argument?

jdyen commented 4 years ago

OK -- will try and chase this up. It might be as simple as a Stan version mismatch or might be something deeper.