2023-06-03 15:51:56 by Makoto Fujiwara | Files touched by this commit (2) |
Log message:
(textproc/R-foramtR) Updated 1.11 to 1.14
https://github.com/yihui/formatR/releases/
1.14
- tidy_source() supports the := operator now (which is widely used in
data.table).
1.13
- tidy_source() supports anonymous functions of the form \(args) expr
for R >= 4.1.0 now (thanks, @notPlancha, #98).
1.12
- Added a new argument pipe to tidy_source(). If pipe = TRUE, it will
convert the magrittr pipe %>% to the base R pipe operator |>.
- Added a function tidy_rstudio() to reformat R code in the RStudio
editor.
- Added a function tidy_pipe() to substitute %>% with |> (currently
works only in RStudio).
|
2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161) |
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
|
2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162) |
Log message:
textproc: Remove SHA1 hashes for distfiles
|
2019-08-08 21:53:58 by Brook Milligan | Files touched by this commit (189) | |
Log message:
Update all R packages to canonical form.
The canonical form [1] of an R package Makefile includes the
following:
- The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as
needed), and CATEGORIES.
- HOMEPAGE is not present but defined in math/R/Makefile.extension to
refer to the CRAN web page describing the package. Other relevant
web pages are often linked from there via the URL field.
This updates all current R packages to this form, which will make
regular updates _much_ easier, especially using pkgtools/R2pkg.
[1] http://mail-index.netbsd.org/tech-pkg/2019/08/02/msg021711.html
|
2018-07-28 16:40:53 by Brook Milligan | Files touched by this commit (126) |
Log message:
Remove MASTER_SITES= from individual R package Makefiles.
Each R package should include ../../math/R/Makefile.extension, which also
defines MASTER_SITES. Consequently, it is redundant for the individual
packages to do the same. Package-specific definitions also prevent
redefining MASTER_SITES in a single common place.
|
2016-12-18 03:39:05 by Wen Heping | Files touched by this commit (2) |
Log message:
Update to 1.4
Upstream changes:
CHANGES IN formatR VERSION 1.4
NEW FEATURES
o `tidy_source()` can preserve line breaks in character strings in source code
MAJOR CHANGES
o the deprecated functions tidy.source(), tidy.dir(), and tidy.eval() have
been removed; use tidy_source(), tidy_dir() and tidy_eval() instead
o comments that begin with `#+` or `#-` are no longer wrapped; such comments
are treated as knitr chunk options in `knitr::spin()` (#52)
BUG FIXES
o `tidy_source()` should not write an extra space to the last line of code
(thanks, @mr-karan, #49)
o long strings (> 1000 characters) in source code can be preserved now
(thanks, @jholtman, #50)
o `tidy_source()` might move any lines of code starting with `else` back to
the previous lines (thanks, @Auburngrads, #51)
|
2016-04-16 16:52:15 by Wen Heping | Files touched by this commit (2) |
Log message:
Update to 1.3
Upstream changes:
CHANGES IN formatR VERSION 1.3
NEW FEATURES
o `tidy_source()` can deal with multibyte characters that cannot represented
in the system native encoding now (on Windows)
o `usage()` works for functions obtained from `::` or `:::` now, e.g.
`usage(formatR::tidy_source)`
CHANGES IN formatR VERSION 1.2
MAJOR CHANGES
o the minimal required R version is 3.0.2 now
CHANGES IN formatR VERSION 1.1
NEW FEATURES
o added a new argument `output` to usage()
BUG FIXES
o fixed yihui/knitr#918: when code is NULL, parse() will hang (with a question
mark waiting for input)
|
2015-11-04 03:00:17 by Alistair G. Crooks | Files touched by this commit (797) |
Log message:
Add SHA512 digests for distfiles for textproc category
Problems found locating distfiles:
Package cabocha: missing distfile cabocha-0.68.tar.bz2
Package convertlit: missing distfile clit18src.zip
Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
|
2014-09-19 22:31:50 by Brook Milligan | Files touched by this commit (3) |
Log message:
Initial import of formatR v1.0 as textproc/R-formatR.
This package provides a function tidy_source() to format R source
code. Spaces and indent will be added to the code automatically, and
comments will be preserved under certain conditions, so that R code
will be more human-readable and tidy. There is also a Shiny app as a
user interface in this package (see tidy_app()).
Note: this commit is part of reorganizing some of the recently
imported R packages, which are being reimported into more appropriate
categories (and removed from math) as a result of a recent discussion
on tech-pkg and privately with wiz@. See the thread starting with:
http://mail-index.netbsd.org/tech-pkg/2014/09/05/msg013558.html
|