[RESOLVED] Jamovi Compiler Version (install)

Everything related to the development of modules in jamovi
Post Reply
User avatar
brianmsm
Posts: 3
Joined: Fri Mar 30, 2018 12:24 am

[RESOLVED] Jamovi Compiler Version (install)

Post by brianmsm »

Hello
I'm not sure if it's a generalized problem or if it just happened to me.
Following the instructions in the following link for the development of the module:

Code: Select all

 install.packages ('jmvtools', repos = c ('https://repo.jamovi.org', 'https://cran.r-project.org' ))
The jmvtools_0.8.12.tar.gz version is installed by default.
At the time of use, it gives the following message
a newer version of the jamovi compiler (or jmvtools) is required.
When I review the repository link, I see that there is a jmvtools_0.8.15.tar.gz version, which when installed manually in R, works correctly.
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Jamovi Compiler Version (install)

Post by jonathon »

hi,

yes, good debugging. i'm puzzled by what R is doing here too. the `PACKAGES` file clearly lists a more recent version, but it sometimes downloads an earlier version.

perhaps i need to tweak the http caching policy.

i'll look into it

with thanks

jonathon
arcaldwell49
Posts: 9
Joined: Wed Oct 11, 2017 7:03 pm

Re: Jamovi Compiler Version (install)

Post by arcaldwell49 »

Hi, I am having the same issue. The following message appears.
> jmvtools::install()

jamovi compiler


a newer version of the jamovi-compiler (or jmvtools) is required

Warning message:
running command '"C:/Users/ac039/Documents/R/win-library/3.4/node/node.exe" "C:/Users/ac039/Documents/R/win-library/3.4/jmvtools/node_modules/jamovi-compiler/index.js" --install "." --home "C:\Program Files\jamovi 0.8.6.0\bin"' had status 1
brianmsm how did you directly install jmvtools_0.8.15.tar.gz manually?
User avatar
brianmsm
Posts: 3
Joined: Fri Mar 30, 2018 12:24 am

Re: Jamovi Compiler Version (install)

Post by brianmsm »

I'm not sure if this influences the problem ... The jmvcore version found in the repository is 0.8.1 (it is the one indicated in the PACKAGES file), when the version I have installed (CRAN) is 0.8 .5. The same happens with the package "jmv" with version 0.7.2.4, when the current one is 0.8.6.
Is it possible that mismatches in the PACKAGE file of package versions indicated with those installed in the system generate this confusion?
User avatar
brianmsm
Posts: 3
Joined: Fri Mar 30, 2018 12:24 am

Re: Jamovi Compiler Version (install)

Post by brianmsm »

I did it using the Rstudio package installation interface. However, if you want to use only the commands, it is very similar to installing an online package. Download the package here: https://repo.jamovi.org/src/contrib/jmv ... .15.tar.gz

Code: Select all

install.packages("~/Descargas/jmvtools_0.8.15.tar.gz", repos = NULL, type = "source")
arcaldwell49 wrote:Hi, I am having the same issue. The following message appears.
> jmvtools::install()

jamovi compiler


a newer version of the jamovi-compiler (or jmvtools) is required

Warning message:
running command '"C:/Users/ac039/Documents/R/win-library/3.4/node/node.exe" "C:/Users/ac039/Documents/R/win-library/3.4/jmvtools/node_modules/jamovi-compiler/index.js" --install "." --home "C:\Program Files\jamovi 0.8.6.0\bin"' had status 1
brianmsm how did you directly install jmvtools_0.8.15.tar.gz manually?
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: [RESOLVED] Jamovi Compiler Version (install)

Post by jonathon »

OK, i think i've fixed this now.

sorry for the inconvenience

jonathon
Post Reply