Closed gdurif closed 3 years ago
Both scripts fails with :
package 'rlang' successfully unpacked and MD5 sums checked
Erreur : (converti depuis l'avis) cannot remove prior installation of package 'rlang'
Exécution arrêtée
build_standalone.R
with electricShine
worked, c.f. https://github.com/diyabc/diyabcGUI/releases/tag/v1.0
In the future, we might want to switch to build_standalone_windows.R
(potential cleaner build)
Apparently the standalone is missing a few key DLL for the included binaries to work on a "vanilla" windows :
https://github.com/diyabc/abcranger/issues/64 https://github.com/diyabc/diyabc/issues/36
As a side note, we should have a "vanilla" windows VM (as a snapshot for example) to test this.
Good news, I can reproduce the problems in a windows vm.
It is completely fixed for abcranger latest release. However, for diyabc exe, the choice of openmp as multithreading backend forces us to deploy the windows binary with two dlls (included in the release page) vcomp140.dll and vcruntime140.dll : there is no workaround, sorry.
TODO
electricShine
to only wrap R and package dependencies inside the binary and not a pseudo-browser, i.e. the standalone would run diabcGUI::diyabc()
and open the app in the host web-browser.Change of plan and new strategy based on DesktopDeployR: see 4178965
TODO:
TODO fixed in current release (4fd8d59).
New standalone release strategy based on DesktopDeployR is now running smoothly.
See build/README.d
and build/DesktopDeployR/README.md
for more details and instructions.
build_standalone.R
(based on R packageelectricShine
)build_standalone_windows.R
(based on R packageRInno
)