Package Details: rstudio-desktop 2024.12.0.467-1

Git Clone URL: https://aur.archlinux.org/rstudio-desktop.git (read-only, click to copy)
Package Base: rstudio-desktop
Description: A powerful and productive integrated development environment (IDE) for R programming language
Upstream URL: https://github.com/rstudio/rstudio
Licenses: AGPL-3.0-only
Conflicts: rstudio-desktop
Provides: rstudio-desktop
Submitter: None
Maintainer: xiota
Last Packager: xiota
Votes: 73
Popularity: 0.027668
First Submitted: 2011-03-04 15:02 (UTC)
Last Updated: 2024-12-20 21:33 (UTC)

Dependencies (29)

Required by (0)

Sources (3)

Pinned Comments

trap000d commented on 2024-05-16 21:42 (UTC) (edited on 2024-05-28 20:09 (UTC) by trap000d)

A note for users.

This package is quite complex. It MAY not be built because of OTHER issues. I always build, install and test it on at least two different machines. Only after that I would push a new version to AUR.

Please try some generic solutions before reporting of build problems:

1) Update all other packages (sudo pacman -Syu),

2) Clean up yay and/or makepkg caches ('yay -Sc', 'rm -rf /var/tmp/makepkg'),

3) Be sure you've got enough RAM (8 GB or more is highly recommended) and space on disk (at least 3 GB).

4) Is your Internet connection is stable, fast and not blocked somewhere?

trap000d commented on 2022-07-05 20:32 (UTC) (edited on 2022-10-03 06:28 (UTC) by trap000d)

PLEASE READ THIS MESSAGE BEFORE COMPLAINING FOR LIBBOOST

When boost is updated to a new version and you see an error message about missing libboost*.so, you will need to rebuild and reinstall the rstudio-desktop package.

trap000d commented on 2022-02-19 06:20 (UTC) (edited on 2022-02-19 06:21 (UTC) by trap000d)

Build logic is slightly changed due to changes in upstream. As they've introduced new project format (quarto), it contradicted with standard Arch package base. In brief, quarto contains pandoc as part of itself, so it's pretty hard to keep together system pandoc and embedded quarto.

So I've "resolved" it such way: if there is "quarto*" package installed, then rstudio-desktop will pick it up and use. Otherwise (not installed), quarto support in rstudio will be disabled.

'quarto' is added as optional dependency.

Latest Comments

« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 29 Next › Last »

trap000d commented on 2022-04-28 00:32 (UTC)

Hi Goetz, Thanks, indeed, I've forgotten to check the case when quarto is not installed.

I suppose there is no reason for assigning a particular pandoc version to a directory - it used only once during configuration (also pandoc versions are changing so fast, therefore if I decide to track them I'll have to update rstudio 2-3 times a week), then pandoc binary always goes to $prefix/rstudio/bin/pandoc/bin/tools/pandoc

P.S. I've just spotted an update (v2022.02.2+485). It looks a bit strange it's dated April 20, however appeared in rstudio repo only now. I assume they run build and test for several days and only then unlock the tag.

Anyway I'll give it a try later today, or tomorrow.

Goetz commented on 2022-04-27 17:38 (UTC)

I updated the package and detected following problem: You do not cover properly if Quarto is not installed.


*** PKGBUILD    2022-04-27 19:27:55.014617207 +0200
--- /home/goetz/Downloads/rstudio-desktop/PKGBUILD  2022-04-27 13:34:10.000000000 +0200
***************
*** 38,45 ****
          "cran_multithread.patch"
          "sigstksz_gcc11.patch"
          "10952.patch"
!         "quarto_pandoc_location.patch"
!         "fix_pandoc_version.patch")

  sha256sums=('41e48e21ddc0a9c1ebf06ff16d846b0389720f2ee66d3fcfd5ff0707578b597d'
              'b98e704164f54be596779696a3fcd11be5785c9907a99ec535ff6e9525ad5f9a'
--- 38,44 ----
          "cran_multithread.patch"
          "sigstksz_gcc11.patch"
          "10952.patch"
!         "quarto_pandoc_location.patch")

  sha256sums=('41e48e21ddc0a9c1ebf06ff16d846b0389720f2ee66d3fcfd5ff0707578b597d'
              'b98e704164f54be596779696a3fcd11be5785c9907a99ec535ff6e9525ad5f9a'
***************
*** 49,56 ****
              'c907e6eec5ef324ad498b44fb9926bb5baafc4e0778ca01f6ba9b49dd3a2a980'
              '7b8420db08f848f7baac0f3104c879ac7ce6e27e463f96a6b1c6589cd4b8df82'
              '71c41818d099c07d928aa9689a5fd57bb3dc187b9788a8d5cc528ef6208b7726'
!             'f496c8d012ec7211b7d76240932c1b33fc76c5bb756b354eb00dd5c4344baeab'
!             '867a9112f61b82dd17e4cbe7898756e0981ac1bf63036a1e12a3005e0821c100')

  noextract=("gin-${_ginver}.zip")

--- 48,54 ----
              'c907e6eec5ef324ad498b44fb9926bb5baafc4e0778ca01f6ba9b49dd3a2a980'
              '7b8420db08f848f7baac0f3104c879ac7ce6e27e463f96a6b1c6589cd4b8df82'
              '71c41818d099c07d928aa9689a5fd57bb3dc187b9788a8d5cc528ef6208b7726'
!             'f496c8d012ec7211b7d76240932c1b33fc76c5bb756b354eb00dd5c4344baeab')

  noextract=("gin-${_ginver}.zip")

***************
*** 65,72 ****
      patch -p1 < ${srcdir}/10952.patch
      # Fix for missed path to new pandoc location in upstream
      patch -p1 < ${srcdir}/quarto_pandoc_location.patch
-     # Fix wrong pandoc version
-     patch -p1 < ${srcdir}/fix_pandoc_version.patch

      msg "Extracting dependencies..."
      cd "${srcdir}/${_srcname}/src/gwt"
--- 63,68 ----
***************
*** 109,119 ****
          install -d quarto/bin/tools
          ln -sfT /usr/bin/quarto quarto/bin/quarto
          ln -sfT /usr/bin/pandoc quarto/bin/tools/pandoc
-     else
-         msg "Use pandoc, because Quarto is not used..."
-         cd "${srcdir}/${_srcname}/dependencies"
-         install -d pandoc/2.17.1.1/bin/tools
-         ln -sfT /usr/bin/pandoc pandoc/2.17.1.1/bin/tools/pandoc
      fi

      cd ${srcdir}
--- 105,110 ----

With following patch for setting the correct (actual) Arch-Linux version of pandoc:


From 4ed960ce72f8a4bf5b9d9d04015b96d27d044842 Mon Sep 17 00:00:00 2001
Message-Id: <4ed960ce72f8a4bf5b9d9d04015b96d27d044842.1651079564.git.goetz@web-dev.de>
From: goetz <goetz@web-dev.de>
Date: Wed, 27 Apr 2022 19:12:26 +0200
Subject: [PATCH] fix_pandoc_version

---
 CMakeGlobals.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeGlobals.txt b/CMakeGlobals.txt
index de77b8d1ee..bba07d9d49 100644
--- a/CMakeGlobals.txt
+++ b/CMakeGlobals.txt
@@ -214,7 +214,7 @@ if(NOT DEFINED RSTUDIO_VERIFY_R_VERSION)
 endif()

 # pandoc version
-set(PANDOC_VERSION "2.16.2" CACHE INTERNAL "Pandoc version")
+set(PANDOC_VERSION "2.17.1.1" CACHE INTERNAL "Pandoc version")

 # quarto support
 if(LINUX AND UNAME_M STREQUAL aarch64)
-- 
2.36.0

trap000d commented on 2022-03-10 20:41 (UTC)

@Pippip19,

Did you mean rstudio-desktop-bin package is installed on your machine?

If yes, please refer https://aur.archlinux.org/packages/rstudio-desktop-bin

Pippip19 commented on 2022-03-10 10:41 (UTC)

I am still not seeing panes launching rstudio-bin, even with the solution proposed by @flying-sheep. Any suggestions?

trap000d commented on 2022-02-21 08:02 (UTC)

Regarding to experiments with building quarto-cli from source.

I've managed to create PKGBUILD. Unfortunately, current pandoc version in arch repo is outdated (2.14.2), whereas quarto requires 2.17 for correct work (version is available as pandoc-bin in AUR, though). Effectively this means that quarto can't be built totally without binary dependencies (at least, until community/pandoc becomes up to date).

To whom it might be interesting. As my PKGBUILD uses third-party binaries (pandoc), I assume it's not good enough to upload it to AUR, so I've pushed it to my repo here: https://github.com/trap000d/aur/tree/master/quarto-cli

trap000d commented on 2022-02-19 06:20 (UTC) (edited on 2022-02-19 06:21 (UTC) by trap000d)

Build logic is slightly changed due to changes in upstream. As they've introduced new project format (quarto), it contradicted with standard Arch package base. In brief, quarto contains pandoc as part of itself, so it's pretty hard to keep together system pandoc and embedded quarto.

So I've "resolved" it such way: if there is "quarto*" package installed, then rstudio-desktop will pick it up and use. Otherwise (not installed), quarto support in rstudio will be disabled.

'quarto' is added as optional dependency.

trap000d commented on 2022-02-18 21:10 (UTC) (edited on 2022-02-18 21:11 (UTC) by trap000d)

Keep calm and wait for updates. there are 2 problems with package so far.

  1. Upstream URL just has been changed back to "standard" with leading 'v'

  2. Quarto. Rstudio build depends on it. If I download it the same way as e.g. GWT, everything builds successfully, but quarto binary can't be included into package (conflict files with quarto-cli-bin). Effectively, quarto projects will not be supported, unless user installs quarto separately. So, I assume the best would be to add quarto/quarto-cli-bin as optional dependency.

Please give me a day or two for further tests.

Alad commented on 2022-02-18 12:24 (UTC)

It was about the binary, thank you very much for the quick update.

trap000d commented on 2022-02-18 10:44 (UTC) (edited on 2022-02-18 11:18 (UTC) by trap000d)

@Alad, Hmm. Rstudio upstream developers have added quarto as dependency to the new version, so I had to pick it somewhere for satisfying them. Are you more concerning of 'quarto' or 'binary'?

UPD: I've managed to include quarto into build tree the same way as GWT and node. Build process seems going OK.