Failure to install new module when following module tutorial

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)

by BenK » Wed Jul 04, 2018 9:50 am

Hi!

I'm following the tutorial for learning to write own modules:

https://dev.jamovi.org/tuts0101-getting-started.html

My jmvtools::check is all good, but my jmvtools::install throws a compilation error that I don't follow (see below). Any help much appreciated!

Code: Select all
> jmvtools::check(home='C:\\Program Files\\jamovi 0.9.1.6')

jamovi compiler

jamovi found at C:\Program Files\jamovi 0.9.1.6\bin\jamovi.exe
> options(jamovi_home='C:\\Program Files\\jamovi 0.9.1.6')
> jmvtools::install()

jamovi compiler

jamovi found at C:\Program Files\jamovi 0.9.1.6\bin\jamovi.exe

Unable to compile 'anova.a.yaml':
        needs to be upgraded to a higher jas level

BenK
 
Posts: 4
Joined: Wed Jul 04, 2018 9:45 am

by jonathon » Wed Jul 04, 2018 10:12 am

hmm, i'm a bit puzzled by this - it suggests your jmvtools isn't completely up-to-date, but i assume if you're following the tutorial you've *only just* installed jmvtools.

if you change the 'jas' in the .a.yaml file to '1.2' (rather than '1.1'?) you should be in business.

cheers

jonathon
User avatar
jonathon
 
Posts: 1059
Joined: Fri Jan 27, 2017 10:04 am

by jonathon » Wed Jul 04, 2018 10:19 am

i.e. this is the template that should be used when going jmvtools::addAnalysis():

https://github.com/jamovi/jmvtools/blob ... tes/a.yaml

so i'm puzzled with how you've ended up with (presumably) a 1.1 in your file.

jonathon
User avatar
jonathon
 
Posts: 1059
Joined: Fri Jan 27, 2017 10:04 am

by BenK » Wed Jul 04, 2018 10:38 am

Thanks for the quick response. I'm puzzled too because I've never had anything to do with Jamovi until today, and I did indeed only just install jmvtools this morning. The jamovi module the tutorial tells you to download is here https://github.com/jamovi/jmvbaseR/archive/master.zip which does not contain the a.yaml file you mention, which is perhaps the problem? I was able to get this jmvbaseR module to install in jamovi once I had fixed all the *.a.yaml files to change the jas from 1.0 to 1.2. It seems like maybe you and the tutorial are thinking of different modules here? Anyway thanks, I'm on to the next tutorial step.
BenK
 
Posts: 4
Joined: Wed Jul 04, 2018 9:45 am

by jonathon » Wed Jul 04, 2018 10:47 pm

ah! yes you're right. i need to update jmvbaseR.

thanks for letting me know.

cheers

jonathon
User avatar
jonathon
 
Posts: 1059
Joined: Fri Jan 27, 2017 10:04 am


Return to Help

cron