pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/R-xfun (devel/R-xfun) Updated 0.17 to 0.18



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9f8f429675ba
branches:  trunk
changeset: 440152:9f8f429675ba
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Oct 03 13:59:16 2020 +0000

description:
(devel/R-xfun)  Updated 0.17 to 0.18

# CHANGES IN xfun VERSION 0.18

## NEW FEATURES

- Added a function `grep_sub()` to perform replacement with `gsub()` on elements
  matched from `grep()`.

- Added a function `github_releases()` to obtain the tags from the Github
  releases of a repo.

- Added a function `bump_version()` to increase the last digit of version
  numbers by one.

- Moved a function `process_file()` from the **blogdown** package to this
  package, and documented it.

- Added a function `valid_syntax()` to check if an R code fragment is
 syntactically valid. This function was moved from the **highr** package.

- Added a function `url_filename()` to extract filenames from URLs.
  This function is used by `download_file()` to determine the default
  output filename.

- Added a function `do_once()` to perform a task once in an R session.

- Added a function `proj_root()` to find the root directory of a project.
  Currently it only supports R package projects and RStudio projects by default.

- Added a function `relative_path()` to calculate the relative path of a path
  relative to a directory.

- Added a function `from_root()`, which is similar to `here::here()` but
  returns a relative path instead of an absolute path.

- Added a function `magic_path()` that, given an incomplete input path,
  tries to find the actual path recursively under subdirectories of a root
  directory. For example, users may only provide a base filename, and
  `magic_path()` will look for this file under subdirectories and return
  the actual path if it is found.

## MINOR CHANGES

- Now `download_file()` tries the download method `winnet` first (previously
  it was `libcurl`) on Windows (thanks, @cderv, #33).

diffstat:

 devel/R-xfun/Makefile |   4 ++--
 devel/R-xfun/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r 53017e15b2a3 -r 9f8f429675ba devel/R-xfun/Makefile
--- a/devel/R-xfun/Makefile     Sat Oct 03 13:53:56 2020 +0000
+++ b/devel/R-xfun/Makefile     Sat Oct 03 13:59:16 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2020/09/20 01:25:06 mef Exp $
+# $NetBSD: Makefile,v 1.4 2020/10/03 13:59:16 mef Exp $
 
 R_PKGNAME=     xfun
-R_PKGVER=      0.17
+R_PKGVER=      0.18
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 53017e15b2a3 -r 9f8f429675ba devel/R-xfun/distinfo
--- a/devel/R-xfun/distinfo     Sat Oct 03 13:53:56 2020 +0000
+++ b/devel/R-xfun/distinfo     Sat Oct 03 13:59:16 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2020/09/20 01:25:06 mef Exp $
+$NetBSD: distinfo,v 1.3 2020/10/03 13:59:16 mef Exp $
 
-SHA1 (R/xfun_0.17.tar.gz) = d0db33995538e386ea9cc02f4b4d2bd643fdfac2
-RMD160 (R/xfun_0.17.tar.gz) = 81b291f69863b295b84bf195297c9b565e382f91
-SHA512 (R/xfun_0.17.tar.gz) = 8b19b7367bd51b04ef7b81d01c84f3ccb4d2035a87f0d56466093ed929f2ef44bb487943e8e8740ae988d7ad64a2a427c958dd66836cb38b1abd0396c77cb3ee
-Size (R/xfun_0.17.tar.gz) = 77239 bytes
+SHA1 (R/xfun_0.18.tar.gz) = ade67633363f7781f9f02a122ac02b64f8a635ca
+RMD160 (R/xfun_0.18.tar.gz) = 54155ee7b88a43a400b7a5507982be9b584e1b4f
+SHA512 (R/xfun_0.18.tar.gz) = c37ed5f39ca76bc75da0cbc1e51211e47099ff4453444a9743f67dccbacd11129cc25ea6278ead6f1f608b048966e36154b662ea08ea83f262094aadcb3991d7
+Size (R/xfun_0.18.tar.gz) = 89916 bytes



Home | Main Index | Thread Index | Old Index