sci-mathematics/rstudio RDEPENDS on pandoc but can be compiled and used without it. Could it be more modular ? Reproducible: Always
You could copy the rstudio ebuild to a local directory and remove the 2 lines: app-text/pandoc dev-haskell/pandoc-citeproc and as you note, it will compile fine, however it will also break the R Markdown runtime features notes in the RStudio v0.98.1091 Release Notes – November 6th, 2014: http://www.rstudio.com/products/rstudio/release-notes/ R Markdown Next generation of R Markdown based on pandoc Create HTML, PDF, and MS Word documents as well as Beamer and ioslides presentations New markdown syntax including expanded support for tables, definition lists, and bibliographies A responsive (multi-device friendly) and themeable HTML template based on Bootstrap Include raw LaTeX within markdown for advanced customization of PDF output Use Shiny with R Markdown to create interactive documents Compile HTML, PDF, or MS Word notebooks from R scripts See the rmarkdown website package for more details Option to preview R Markdown HTML in Viewer Pane Enhancements to HTML previewing for presentation authoring Previewing for MS Word and PDF output Added Run Previous Chunks command (Ctrl+Alt+P) Keyboard shortcut for Knit is now Ctrl+Shift+K
same at a tinderbox image
Created attachment 464036 [details] emerge-info.txt
Created attachment 464038 [details] dev-haskell:pandoc-citeproc-0.8.1.3:20170216-210606.log
Created attachment 464040 [details] emerge-history.txt
Created attachment 464042 [details] environment
Created attachment 464044 [details] etc.portage.tbz2
Maybe leave the dependency on pandoc, but make the dependency on pandoc-citeproc conditional on some USE flag? This would not remove the ability to create PDF, HTML etc from Rmarkdown documents, only the ability to cite other papers - in case the USE flag is not set and pandoc-citeproc is not installed. pandoc-citeproc practically restricts pandoc to v. 2.9.2.1 - and this does not play well with hslua and hslua-module-path, leading to unresolved dependencies, see https://bugs.gentoo.org/775545#c5 .
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9d5fc19de9f6ba9a6e9982f61f2c7518f058de1 commit a9d5fc19de9f6ba9a6e9982f61f2c7518f058de1 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-22 22:20:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-22 22:20:47 +0000 profiles: last-rite sci-mathematics/rstudio, dev-haskell/pandoc-citeproc Bug: https://bugs.gentoo.org/766294 Bug: https://bugs.gentoo.org/775545 Bug: https://bugs.gentoo.org/855197 Bug: https://bugs.gentoo.org/727912 Bug: https://bugs.gentoo.org/831868 Bug: https://bugs.gentoo.org/696938 Bug: https://bugs.gentoo.org/531996 Bug: https://bugs.gentoo.org/836111 Bug: https://bugs.gentoo.org/818721 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 7 +++++++ 1 file changed, 7 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07ccc989339f75ab648ede0419e498527901d463 commit 07ccc989339f75ab648ede0419e498527901d463 Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2022-08-21 21:10:32 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2022-08-21 21:31:00 +0000 sci-mathematics/rstudio: treeclean Closes: https://bugs.gentoo.org/766294 Closes: https://bugs.gentoo.org/696938 Closes: https://bugs.gentoo.org/531996 Closes: https://bugs.gentoo.org/818721 Closes: https://bugs.gentoo.org/727912 Closes: https://bugs.gentoo.org/836111 Closes: https://bugs.gentoo.org/831868 Closes: https://bugs.gentoo.org/855197 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> profiles/package.mask | 6 - sci-mathematics/rstudio/Manifest | 2 - sci-mathematics/rstudio/files/rsession.conf | 26 --- .../rstudio/files/rstudio-1.0.44-systemd.patch | 21 -- .../files/rstudio-1.2.1335-linker_flags.patch | 11 - .../files/rstudio-1.2.5042-boost-1.73.0.patch | 22 -- .../rstudio/files/rstudio-1.3.1056-R-4.0.0.patch | 58 ----- .../files/rstudio-1.3.1056-boost-1.74.0.patch | 30 --- .../files/rstudio-1.3.1093-boost-1.76.patch | 55 ----- .../rstudio/files/rstudio-1.3.959-core.patch | 184 ---------------- .../files/rstudio-1.3.959-pandoc-mathjax.patch | 42 ---- .../rstudio/files/rstudio-1.3.959-paths.patch | 118 ----------- .../rstudio/files/rstudio-1.3.959-prefs.patch | 68 ------ .../rstudio-1.3.959-qtsingleapplication.patch | 60 ------ sci-mathematics/rstudio/files/rstudio-server.conf | 35 ---- sci-mathematics/rstudio/files/rstudio-server.initd | 19 -- .../rstudio/files/rstudio-server.service.in | 11 - sci-mathematics/rstudio/metadata.xml | 18 -- sci-mathematics/rstudio/rstudio-1.3.1093-r1.ebuild | 233 --------------------- 19 files changed, 1019 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ca6f5bacc5f1d05b6c432294c97578366aa1bb2 commit 8ca6f5bacc5f1d05b6c432294c97578366aa1bb2 Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2022-08-21 21:08:42 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2022-08-21 21:30:59 +0000 dev-haskell/pandoc-citeproc: treeclean Closes: https://bugs.gentoo.org/504310 Bug: https://bugs.gentoo.org/531996 Closes: https://bugs.gentoo.org/775545 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> dev-haskell/pandoc-citeproc/Manifest | 1 - dev-haskell/pandoc-citeproc/metadata.xml | 30 ---------- .../pandoc-citeproc-0.17.0.2.ebuild | 69 ---------------------- profiles/package.mask | 1 - 4 files changed, 101 deletions(-)