Unified · Split
| @@ -233,7 +233,14 @@ tar xj --strip-components=1 · 232 unmodified lines | ||
| 233 | 233 | ``` |
| 234 | 234 | |
| 235 | 235 | ## R |
| 236 | + | |
| 236 | 237 | ```bash |
| 238 | +sudo dnf install bzip2-devel | |
| 239 | +sudo dnf install gcc-gfortran | |
| 240 | +sudo dnf install libcurl-devel | |
| 241 | +sudo dnf install texinfo | |
| 242 | +sudo dnf install xz-devel | |
| 243 | + | |
| 237 | 244 | DEVDOCSROOT=docs/r |
| 238 | 245 | RLATEST=https://cran.r-project.org/src/base/R-latest.tar.gz # or /R-${VERSION::1}/R-$VERSION.tar.gz |
| 239 | 246 | |
| @@ -243,7 +250,7 @@ mkdir -p "$RSOURCEDIR" "$RBUILDDIR" "$DEVDOCSROOT" · 3 unmodified lines | ||
| 243 | 250 | |
| 244 | 251 | # Download, configure, and build with static HTML pages |
| 245 | 252 | curl "$RLATEST" | tar -C "$RSOURCEDIR" -xzf - --strip-components=1 |
| 246 | −(cd "$RBUILDDIR" && "$RSOURCEDIR/configure" --enable-prebuilt-html --with-recommended-packages --disable-byte-compiled-packages --disable-shared --disable-java) | |
| 253 | +(cd "$RBUILDDIR" && "$RSOURCEDIR/configure" --enable-prebuilt-html --with-recommended-packages --disable-byte-compiled-packages --disable-shared --disable-java --with-readline=no --with-x=no) | |
| 247 | 254 | make _R_HELP_LINKS_TO_TOPICS_=FALSE -C "$RBUILDDIR" |
| 248 | 255 | |
| 249 | 256 | # Export all html documentation built − global, and per-package |
| @@ -13,8 +13,8 @@ module Docs · 12 unmodified lines | ||
| 13 | 13 | title = at_css('h2') |
| 14 | 14 | title.inner_html = "<code>#{slug_parts[3]}</code> #{title.content}" |
| 15 | 15 | |
| 16 | − summary = at_css('table[summary]') | |
| 17 | − summary.remove if summary | |
| 16 | + css('table:contains("R Documentation")').remove | |
| 17 | + css('table[summary]').remove | |
| 18 | 18 | |
| 19 | 19 | css('hr ~ *, hr').remove |
| 20 | 20 | |
| @@ -3,7 +3,7 @@ module Docs · 2 unmodified lines | ||
| 3 | 3 | self.name = 'R' |
| 4 | 4 | self.slug = 'r' |
| 5 | 5 | self.type = 'simple' |
| 6 | − self.release = '4.1.0' | |
| 6 | + self.release = '4.4.2' | |
| 7 | 7 | self.links = { |
| 8 | 8 | home: 'https://www.r-project.org/', |
| 9 | 9 | code: 'https://svn.r-project.org/R/' |