[SOLVED] problems with jmvtools::install() and jmvtools::cre
Posted: Thu Apr 13, 2017 11:32 am
Dear Friends,
I am having problems with jmvtools, both installing the test module and creating the 'SuperAwesome' module. I guess the problem is the same.
I am using a PC with windows 10
R 3.3.2
Rstudio 1.0.136
Jamovi -0.7.2.7
I followed the step by step instructions in the getting started page.
I put the path for jamovi in options(...), that appeared to be ok but later it does not find the compiler (?)
I am reporting below what happened
-----------------------------------------------------------------------------------------------
R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> install.packages('jmvtools', repos=c('https://repo.jamovi.org', 'https://cran.r-project.org'))
Installing package into ‘C:/Users/679408/Documents/R/win-library/3.3’
(as ‘lib’ is unspecified)
installing the source package ‘jmvtools’
trying URL 'https://repo.jamovi.org/src/contrib/jmv ... .17.tar.gz'
Content type 'application/x-tar' length 4052081 bytes (3.9 MB)
downloaded 3.9 MB
* installing *source* package 'jmvtools' ...
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
*** arch - x64
* DONE (jmvtools)
The downloaded source packages are in
‘C:\Users\679408\AppData\Local\Temp\RtmpGimbgR\downloaded_packages’
> getwd()
[1] "C:/Users/679408/Documents"
> jmvtools::check(home='C:\\Users\\679408\\Desktop\\jamovi-0.7.2.7\\bin')
jamovi compiler
jamovi found at C:\Users\679408\Desktop\jamovi-0.7.2.7\bin\jamovi.exe
> options(jamovi_home='C:\\Users\\679408\\Desktop\\jamovi-0.7.2.7\\bin')
> jmvtools::check()
jamovi compiler
jamovi found at C:\Users\679408\Desktop\jamovi-0.7.2.7\bin\jamovi.exe
> jmvtools::create('SuperAwesome')
jamovi compiler
jamovi could not be found!
Warning message:
running command '"C:/Users/679408/Documents/R/win-library/3.3/node/node.exe" "C:/Users/679408/Documents/R/win-library/3.3/jmvtools/node_modules/jamovi-compiler/index.js" --prepare "C:/Users/679408/Documents/SuperAwesome"' had status 1
> jmvtools::create('SuperAwesome')
Error: Directory already exists and is not empty
The directory was indeed there, but with wrong structure ...
SuperAwesome/
├── DESCRIPTION
├── NAMESPACE
├── jamovi/
└── R/
Any help would be appreciated
Best regards
Giuseppe
I am having problems with jmvtools, both installing the test module and creating the 'SuperAwesome' module. I guess the problem is the same.
I am using a PC with windows 10
R 3.3.2
Rstudio 1.0.136
Jamovi -0.7.2.7
I followed the step by step instructions in the getting started page.
I put the path for jamovi in options(...), that appeared to be ok but later it does not find the compiler (?)
I am reporting below what happened
-----------------------------------------------------------------------------------------------
R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> install.packages('jmvtools', repos=c('https://repo.jamovi.org', 'https://cran.r-project.org'))
Installing package into ‘C:/Users/679408/Documents/R/win-library/3.3’
(as ‘lib’ is unspecified)
installing the source package ‘jmvtools’
trying URL 'https://repo.jamovi.org/src/contrib/jmv ... .17.tar.gz'
Content type 'application/x-tar' length 4052081 bytes (3.9 MB)
downloaded 3.9 MB
* installing *source* package 'jmvtools' ...
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
*** arch - x64
* DONE (jmvtools)
The downloaded source packages are in
‘C:\Users\679408\AppData\Local\Temp\RtmpGimbgR\downloaded_packages’
> getwd()
[1] "C:/Users/679408/Documents"
> jmvtools::check(home='C:\\Users\\679408\\Desktop\\jamovi-0.7.2.7\\bin')
jamovi compiler
jamovi found at C:\Users\679408\Desktop\jamovi-0.7.2.7\bin\jamovi.exe
> options(jamovi_home='C:\\Users\\679408\\Desktop\\jamovi-0.7.2.7\\bin')
> jmvtools::check()
jamovi compiler
jamovi found at C:\Users\679408\Desktop\jamovi-0.7.2.7\bin\jamovi.exe
> jmvtools::create('SuperAwesome')
jamovi compiler
jamovi could not be found!
Warning message:
running command '"C:/Users/679408/Documents/R/win-library/3.3/node/node.exe" "C:/Users/679408/Documents/R/win-library/3.3/jmvtools/node_modules/jamovi-compiler/index.js" --prepare "C:/Users/679408/Documents/SuperAwesome"' had status 1
> jmvtools::create('SuperAwesome')
Error: Directory already exists and is not empty
The directory was indeed there, but with wrong structure ...
SuperAwesome/
├── DESCRIPTION
├── NAMESPACE
├── jamovi/
└── R/
Any help would be appreciated
Best regards
Giuseppe