Open RicPorteousNSWIS opened 5 years ago
Yes. I've encountered the same error when running RInno::install_inno()
.
System: Windows 10 x64, R v3.5.2
@fdaugs - did you managed to overcome this in the end? I'm a little bit stuck here.
I managed to get it working by using installr to install Inno first. After that you can skip running RInno::install_inno()
.
# Install Inno Setup
install.packages('installr')
require(installr)
install.inno(quick_start_pack = TRUE) # I'm not sure wether the quick start pack is required, but I installed it anyway...
# ... Follow the installation process ...
# Install RInno from CRAN
install.packages("RInno")
require(RInno)
# Run the example app
example_app(app_dir = "app")
create_app(app_name = "myapp", app_dir = "app")
compile_iss()
I'm working on a package right now and had the same issue.
It turned out that utils::download.file()
needed the additional argument mode = "wb"
If someone has time to test and setup a PR, Your relevant lines: https://github.com/ficonsulting/RInno/blob/df87985b85218a61029fc4e44136da3f3a8f5484/R/install_inno.R#L44
But it would have to be changed in the installR package: https://github.com/talgalili/installr/blob/56c51a8350ed7cfba2b52868db1dee0fb0bc17bd/R/install.inno.R#L52
Relevant discussion: https://github.com/HenrikBengtsson/Wishlist-for-R/issues/30
@Dripdrop12 I still had to bypass and hack around this step as I'm on a deadline. I think it's on the RInno side as Installr now works (https://github.com/talgalili/installr/issues/125), but Rinno is pulling from github. I was also getting a temp download file Temp\Rtmp4INzrb\github.com
... I don't see the the .exe on the Inno github and think that the download script below should be adjusted:
I am sorry if my question is irrelevant to this post. For using created Shiny app on desktop, is it possible to use the app offline?
It is caused by the change of installer filename. The download script should be adjusted as follows.
stringr::str_extract("/jrsoftware.*innosetup-qsp-[1-9]\\.[0-9]+\\.[0-9]+.exe")
That worked for me. Because of 64bit windows, I had to do: install.packages("installr") require(installr) install.inno()
Whatever version of Inno it installs, in my RInno create_app function, I needed to set privilege = "admin" as "high" would throw an error.
Hello, I'm a newbee in learning R, am trying to install RInno on my machine so I can test shiny with a local server setting. Followed petbadger and fdaugs (my PC is Windows 10 64-bit), packages have been installed OK, but when I enter after "compile_iss(), I get error message "The system cannot find the file specified". Anyone experiencing same? Any advice is welcome! Attaching error message and what are in "app" folder.
I had the same issue and I downgraded R to match the version of RInno. In my case I had R 4.0 running and I downgraded it to R 3.6. It seems to be working better.
I'm trying to run install_inno() - during the set up phase I get an error message
...\AppData\Local\Temp\Rtmp4INzrb\github.com is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.
Has any one else experience this?