Skip to content

Commit

Permalink
R-xfun: Autospec creation for update from version 0.22 to version 0.23
Browse files Browse the repository at this point in the history
Yihui Xie (23):
      make the title shorter, otherwise it could be wrapped by `R CMD build` and 'Yihui Xie' will be marked as "mis-spelled" by `R CMD check`
      clarify a news item
      add a function news2md() to convert package news to Markdown
      rstudio/tinytex@4772b5e
      add a category argument to news2md() so that category names could be discarded
      don't generate the bullet list if all items are empty
      BDR suggest authors not use ftp:// sites
      fix #52: default to using renv::install() to install packages when pkg_install() is called inside an renv project
      forgot to suggest renv
      address BDR's request to not use ftp:// (it is still supported, but at some point we may have to only support uploading via https://win-builder.r-project.org/upload.aspx)
      default lib = NULL for renv::install() (#52)
      add helper functions stop2() and warning2(), which uses call. = FALSE
      add a function format_bytes() borrowed from tinytex:::auto_size() and built on top of format.object_size()
      add a function tinify() to compress images (e.g., blogdown users could use it: rstudio/blogdown#614)
      escape %
      move a few functions
      rename src to pkg in install_dir(), and factor out the code to build the tarball to pkg_build()
      xfun::upload_win_builder() can be called without arguments now
      use [[ to get the file instead of list(file); delete the package tarball if it is automatically built
      a lightweight version of submit_cran()
      ignore readme to avoid CRAN's URL checking
      fix #51: don't add backticks to math environments when \begin{} and \end{} do not match
      CRAN release v0.23
  • Loading branch information
fenrus75 committed May 17, 2021
1 parent e83261d commit aee02c1
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := R-xfun
URL = https://cran.r-project.org/src/contrib/xfun_0.22.tar.gz
URL = https://cran.r-project.org/src/contrib/xfun_0.23.tar.gz
ARCHIVES =

include ../common/Makefile.common
21 changes: 8 additions & 13 deletions R-xfun.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,18 @@
# Generated by: autospec.py
#
Name : R-xfun
Version : 0.22
Release : 40
URL : https://cran.r-project.org/src/contrib/xfun_0.22.tar.gz
Source0 : https://cran.r-project.org/src/contrib/xfun_0.22.tar.gz
Summary : Miscellaneous Functions to Support Packages Maintained by 'Yihui
Version : 0.23
Release : 41
URL : https://cran.r-project.org/src/contrib/xfun_0.23.tar.gz
Source0 : https://cran.r-project.org/src/contrib/xfun_0.23.tar.gz
Summary : Supporting Functions for Packages Maintained by 'Yihui Xie'
Group : Development/Tools
License : MIT
Requires: R-xfun-lib = %{version}-%{release}
BuildRequires : buildreq-R

%description
# xfun
<!-- badges: start -->
[![R-CMD-check](https://github.com/yihui/xfun/workflows/R-CMD-check/badge.svg)](https://github.com/yihui/xfun/actions)
[![Coverage status](https://codecov.io/gh/yihui/xfun/branch/master/graph/badge.svg)](https://codecov.io/github/yihui/xfun?branch=master)
[![CRAN release](https://www.r-pkg.org/badges/version/xfun)](https://cran.r-project.org/package=xfun)
<!-- badges: end -->
No detailed description available

%package lib
Summary: lib components for the R-xfun package.
Expand All @@ -38,10 +33,10 @@ export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C.UTF-8
export SOURCE_DATE_EPOCH=1615478597
export SOURCE_DATE_EPOCH=1621272372

%install
export SOURCE_DATE_EPOCH=1615478597
export SOURCE_DATE_EPOCH=1621272372
rm -rf %{buildroot}
export LANG=C.UTF-8
export CFLAGS="$CFLAGS -O3 -flto -fno-semantic-interposition "
Expand Down
2 changes: 1 addition & 1 deletion options.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = R-xfun
url = https://cran.r-project.org/src/contrib/xfun_0.22.tar.gz
url = https://cran.r-project.org/src/contrib/xfun_0.23.tar.gz
archives =
giturl = https://github.com/yihui/xfun.git
domain =
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
40
41
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
94f9da35dbb7ee8e8f7c6ee0d88eaf4d5d2390cb/xfun_0.22.tar.gz
2cdd7b69687c1fa4d3421677a26704a8458947d9/xfun_0.23.tar.gz
2 changes: 1 addition & 1 deletion versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.22
0.23
1 change: 1 addition & 0 deletions whatrequires
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# This file contains recursive sources that require this package
R-highr
R-knitr
R-markdown
R-rmarkdown
Expand Down

0 comments on commit aee02c1

Please sign in to comment.