Package Details: rstudio-desktop-git 1.4.1103.r736-1

Git Clone URL: https://aur.archlinux.org/rstudio-desktop-git.git (read-only, click to copy)
Package Base: rstudio-desktop-git
Description: A powerful and productive integrated development environment (IDE) for R programming language
Upstream URL: https://www.rstudio.com/products/rstudio/
Keywords: ide r rstudio
Licenses: AGPL3
Conflicts: rstudio-desktop, rstudio-desktop-bin, rstudio-desktop-preview
Provides: rstudio-desktop
Submitter: None
Maintainer: artemklevtsov (hwkiller, kngwyu, bartus)
Last Packager: bartus
Votes: 61
Popularity: 0.000000
First Submitted: 2011-03-09 06:13 (UTC)
Last Updated: 2022-02-21 10:07 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 22 Next › Last »

ith140 commented on 2021-05-15 21:11 (UTC)

@hwkiller - the build worked with the alternate gwt file location. I also had to create the symlinks that @brianstamper did for the build to work. Thanks!

hwkiller commented on 2021-05-14 18:08 (UTC)

Indeed; seems like that link is down. For the time being, could you try substituting it with, say, the .zip found here: https://goo.gl/pZZPXS (from the gwt homepage).

ith140 commented on 2021-05-14 17:21 (UTC) (edited on 2021-05-14 17:24 (UTC) by ith140)

This fails when trying to retrieve the gwt buildtool. 403 Error (forbidden) reported by curl.

brianstamper commented on 2021-04-15 00:17 (UTC) (edited on 2021-04-15 00:21 (UTC) by brianstamper)

I found that to get this to work I had to go into src/rstudio/dependencies/ and create some symlinks. The first two are just copies of the ones I found in the 'common' subdirectory.

ln -s /usr/share/myspell/dicts dictionaries
ln -s /usr/share/mathjax2 mathjax-27
ln -s common/pandoc/ .

mjandrews commented on 2021-01-22 13:07 (UTC) (edited on 2021-01-23 15:12 (UTC) by mjandrews)

Edit (Jan 23, 2021, 15:13): I posted my message below prematurely. I did not read, or did not understand, the post by @bartus (2021-01-22 12:29). After I followed the advice there, namely applying the patch, the makepkg -s proceeded to the end with no error and I was then able to pacman -U the package successfully.

I am failing to build the package with makepkg -s. I might be missing something simple.

What I have done:

git clone https://aur.archlinux.org/rstudio-desktop-git.git
cd rstudio-desktop-git
makepkg -s

It works for around 10 mins and then

make[2]: *** No rule to make target '/opt/rstudio-tools/yaml-cpp/0.6.3/build/libyaml-cpp.a', needed by 'src/cpp/core/rstudio-core-tests'.  Stop.
make[2]: Leaving directory '/home/andrews/tmp/rstudio-desktop-git/src/build'
make[1]: *** [CMakeFiles/Makefile2:526: src/cpp/core/CMakeFiles/rstudio-core-tests.dir/all] Error 2
make[1]: Leaving directory '/home/andrews/tmp/rstudio-desktop-git/src/build'
make: *** [Makefile:171: all] Error 2
make: Leaving directory '/home/andrews/tmp/rstudio-desktop-git/src/build'
==> ERROR: A failure occurred in package().
    Aborting...


I have installed yaml-cpp with pacman, just in case that was related, but no.

bartus commented on 2021-01-22 12:29 (UTC) (edited on 2021-01-23 10:02 (UTC) by bartus)

I've made some adjustments, fix missing yaml-cpp and speed up cran packages build.

[Patch]

git log

* 89b3c5f - (3 minuty temu) Pop version - bartus (HEAD -> master)
* 22314a0 - (3 minuty temu) Add make call in build() - bartus
* 2e63493 - (3 minuty temu) Drop redundant `source` in cmake call - bartus
* 6d55cc7 - (4 minuty temu) Move install.packages to build() - bartus
* f435f17 - (4 minuty temu) Parallelize R.install.packages() - bartus
* cf26818 - (5 minut temu) Fix missing yaml-cpp - bartus

merge with git am -s < <(curl -s http://ix.io/2N0e) and cherry-pick what you like git rebase -i origin/master

btw. dependencies/common/install-packages put R pacakges like lxml in user directory $HOME/R, are they only required to build rstudio wasn't they be missed in resulting package?

Edit: I've updated patch to use new option to enable system yaml-cpp :)

bartus commented on 2021-01-21 10:01 (UTC)

missing yaml-cpp makedepends

excerpt from rstudio-desktop-git-1.4.1103.r218-1-x86_64-package.log

[ 27%] Generating moc_DesktopBrowserWindow.cpp
In file included from /build/rstudio-desktop-git/src/rstudio/src/cpp/r/include/r/RCntxt.hpp:19,
                 from /build/rstudio-desktop-git/src/rstudio/src/cpp/r/RCntxt.cpp:17:
/build/rstudio-desktop-git/src/rstudio/src/cpp/r/include/r/RSexp.hpp:25:10: fatal error: yaml-cpp/yaml.h: No such file or directory
   25 | #include <yaml-cpp/yaml.h>
      |          ^~~~~~~~~~~~~~~~~

artemklevtsov commented on 2020-12-16 04:45 (UTC)

@amsesk simply recompile rstudio after boost-libs update.

amsesk commented on 2020-12-09 19:10 (UTC) (edited on 2020-12-09 21:41 (UTC) by amsesk)

SECOND UPDATE: Alright, using the downgraded boost and boost-libs packages was messing-up other applications that use them (eg. libre office). So I've since upgraded the system (ie with pacman) to boost/boost-libs 1.74.0-1, but have unpacked the older packages (ie, boost/boost-libs 1.72.0-4) at /opt/rstudio and put the path to the libraries in a new file at /etc/ld.so.conf.d/rstudio.conf.

Contents of /etc/ld.so.conf.d/rstudio.conf

/opt/rstudio/usr/lib

After a restart RStudio and other boost-using applications seem to be working without error.


UPDATE: I was able to fix the qt errors by putting symbolic links to the three qtwebengine_resources_*.pak files I found located at /usr/share/qt/resources/ in ~/.QtWebEngineProcess. Rstudio seems to be launching okay now. I'm not skilled enough to know how to patch the package though. Please note that I am still using the downgraded boost and boost-libs packages (ie 1.72.0-4).


I'm getting launch errors with Arch update to boost-1.74.0-1 and boost-libs-1.74.0-1. I was originally running a version that I installed via makepkg, but am getting the same errors when following the instructions on GitLab that had me add the rstudio repo and install from there with pacman directly.

rstudio: error while loading shared libraries: libboost_regex.so.1.72.0: cannot open shared object file: No such file or directory

Downgrading to versions 1.72.0-4 for boost and boost-libs allows the GUI to open, but then there are QtWebEngine errors that make the GUI unusable:

Path override failed for key ui::DIR_LOCALES and path '/home/aimzez/.QtWebEngineProcess'
[1209/140145.453203:ERROR:resource_bundle.cc(932)] Failed to load /home/aimzez/.QtWebEngineProcess/qtwebengine_resources_100p.pak
Some features may not be available.
[1209/140145.453244:ERROR:resource_bundle.cc(932)] Failed to load /home/aimzez/.QtWebEngineProcess/qtwebengine_resources_200p.pak
Some features may not be available.
[1209/140145.453249:ERROR:resource_bundle.cc(932)] Failed to load /home/aimzez/.QtWebEngineProcess/qtwebengine_resources.pak
Some features may not be available.
[1209/140145.453933:WARNING:resource_bundle_qt.cpp(115)] locale_file_path.empty() for locale

Is there an easy fix for this? Thank you so much for maintaining this package and please let me know if I can provide more useful information for debugging.

artemklevtsov commented on 2020-11-10 04:33 (UTC)

@bartus thank you for the fixes. Now you can push as maintainer.