Update R documentation (4.4.2)

pull/2361/head
Simon Legner 2 months ago
parent 0619b8cb97
commit 6ccf04a8d6

@ -233,7 +233,14 @@ tar xj --strip-components=1
``` ```
## R ## R
```bash ```bash
sudo dnf install bzip2-devel
sudo dnf install gcc-gfortran
sudo dnf install libcurl-devel
sudo dnf install texinfo
sudo dnf install xz-devel
DEVDOCSROOT=docs/r DEVDOCSROOT=docs/r
RLATEST=https://cran.r-project.org/src/base/R-latest.tar.gz # or /R-${VERSION::1}/R-$VERSION.tar.gz RLATEST=https://cran.r-project.org/src/base/R-latest.tar.gz # or /R-${VERSION::1}/R-$VERSION.tar.gz
@ -243,7 +250,7 @@ mkdir -p "$RSOURCEDIR" "$RBUILDDIR" "$DEVDOCSROOT"
# Download, configure, and build with static HTML pages # Download, configure, and build with static HTML pages
curl "$RLATEST" | tar -C "$RSOURCEDIR" -xzf - --strip-components=1 curl "$RLATEST" | tar -C "$RSOURCEDIR" -xzf - --strip-components=1
(cd "$RBUILDDIR" && "$RSOURCEDIR/configure" --enable-prebuilt-html --with-recommended-packages --disable-byte-compiled-packages --disable-shared --disable-java) (cd "$RBUILDDIR" && "$RSOURCEDIR/configure" --enable-prebuilt-html --with-recommended-packages --disable-byte-compiled-packages --disable-shared --disable-java --with-readline=no --with-x=no)
make _R_HELP_LINKS_TO_TOPICS_=FALSE -C "$RBUILDDIR" make _R_HELP_LINKS_TO_TOPICS_=FALSE -C "$RBUILDDIR"
# Export all html documentation built global, and per-package # Export all html documentation built global, and per-package

@ -13,8 +13,8 @@ module Docs
title = at_css('h2') title = at_css('h2')
title.inner_html = "<code>#{slug_parts[3]}</code> #{title.content}" title.inner_html = "<code>#{slug_parts[3]}</code> #{title.content}"
summary = at_css('table[summary]') css('table:contains("R Documentation")').remove
summary.remove if summary css('table[summary]').remove
css('hr ~ *, hr').remove css('hr ~ *, hr').remove

@ -3,7 +3,7 @@ module Docs
self.name = 'R' self.name = 'R'
self.slug = 'r' self.slug = 'r'
self.type = 'simple' self.type = 'simple'
self.release = '4.1.0' self.release = '4.4.2'
self.links = { self.links = {
home: 'https://www.r-project.org/', home: 'https://www.r-project.org/',
code: 'https://svn.r-project.org/R/' code: 'https://svn.r-project.org/R/'

Loading…
Cancel
Save