Package Details: rstudio-desktop-git 1.4.1103.r229-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, ConorIA, kngwyu, bartus)
Last Packager: bartus
Votes: 57
Popularity: 0.005557
First Submitted: 2011-03-09 06:13
Last Updated: 2021-01-30 10:08

Required by (0)

Sources (6)

Pinned Comments

artemklevtsov commented on 2020-04-10 02:30

I created repo on GitLab to automate weekly builds. PRs are welcome.

Repo entry for the pacman.conf:

[rstudio]
SigLevel = PackageOptional
Server = https://aur1.gitlab.io/$repo/$arch

Packages:

icu60
microsoft-r-open
ncurses5-compat-libs
pandoc-bin
r-assertthat
r-backports
r-callr
r-cli
r-crayon
r-desc
r-devel
r-devel-svn
r-digest
r-ellipsis
r-evaluate
r-fansi
r-glue
r-magrittr
r-mkl
r-pkgbuild
r-pkgload
r-praise
r-prettyunits
r-processx
r-ps
r-r6
r-rlang
r-rprojroot
r-rstudioapi
r-testthat
r-withr
rstudio-desktop
rstudio-desktop-bin
rstudio-desktop-daily-bin
rstudio-desktop-git
rstudio-desktop-preview-bin
rstudio-server-bin
rstudio-server-git
soci

Source code: https://gitlab.com/aur1/rstudio

Latest Comments

1 2 3 4 5 6 ... Next › Last »

mjandrews commented on 2021-01-22 13:07

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

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

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

@amsesk simply recompile rstudio after boost-libs update.

amsesk commented on 2020-12-09 19:10

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

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

bartus commented on 2020-11-09 16:57

If I may suggest some extra changes, we can probe pandoc version form deppends/common/install-pandoc

patch

git am -s < <(curl -s http://ix.io/2DAd)

bartus commented on 2020-10-22 20:59

pandoc dependencies part requires some adjustments (also did some refactoring here and there)

git am -s < <(curl -s http://ix.io/2BPX)

artemklevtsov commented on 2020-04-10 02:30

I created repo on GitLab to automate weekly builds. PRs are welcome.

Repo entry for the pacman.conf:

[rstudio]
SigLevel = PackageOptional
Server = https://aur1.gitlab.io/$repo/$arch

Packages:

icu60
microsoft-r-open
ncurses5-compat-libs
pandoc-bin
r-assertthat
r-backports
r-callr
r-cli
r-crayon
r-desc
r-devel
r-devel-svn
r-digest
r-ellipsis
r-evaluate
r-fansi
r-glue
r-magrittr
r-mkl
r-pkgbuild
r-pkgload
r-praise
r-prettyunits
r-processx
r-ps
r-r6
r-rlang
r-rprojroot
r-rstudioapi
r-testthat
r-withr
rstudio-desktop
rstudio-desktop-bin
rstudio-desktop-daily-bin
rstudio-desktop-git
rstudio-desktop-preview-bin
rstudio-server-bin
rstudio-server-git
soci

Source code: https://gitlab.com/aur1/rstudio

bartus commented on 2020-04-04 15:26

@hwkiller: After including boost in soci:makedepends it builds fine, already reported on aur:soci