File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,14 @@ tar xj --strip-components=1
233233```
234234
235235## R
236+
236237``` 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+
237244DEVDOCSROOT=docs/r
238245RLATEST=https://cran.r-project.org/src/base/R-latest.tar.gz # or /R-${VERSION::1}/R-$VERSION.tar.gz
239246
@@ -243,7 +250,7 @@ mkdir -p "$RSOURCEDIR" "$RBUILDDIR" "$DEVDOCSROOT"
243250
244251# Download, configure, and build with static HTML pages
245252curl " $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 )
247254make _R_HELP_LINKS_TO_TOPICS_=FALSE -C " $RBUILDDIR "
248255
249256# Export all html documentation built − global, and per-package
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ def call
1313 title = at_css ( 'h2' )
1414 title . inner_html = "<code>#{ slug_parts [ 3 ] } </code> #{ title . content } "
1515
16- summary = at_css ( 'table[summary]' )
17- summary . remove if summary
16+ css ( 'table:contains("R Documentation")' ) . remove
17+ css ( 'table[ summary]' ) . remove
1818
1919 css ( 'hr ~ *, hr' ) . remove
2020
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ class R < FileScraper
33 self . name = 'R'
44 self . slug = 'r'
55 self . type = 'simple'
6- self . release = '4.1.0 '
6+ self . release = '4.4.2 '
77 self . links = {
88 home : 'https://www.r-project.org/' ,
99 code : 'https://svn.r-project.org/R/'
You can’t perform that action at this time.
0 commit comments