Skip to content

Commit

Permalink
Merge branch 'release-0.1.1-preparation'
Browse files Browse the repository at this point in the history
* release-0.1.1-preparation:
  .RBuildignore revdep
  updated cran comments
  Updated various files while preparing for release
  • Loading branch information
mailund committed Mar 17, 2018
2 parents b97e0ba + 7a82b1a commit d697390
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 25 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
^experiments.R$
^cran-comments\.md$
^.imdone$
^revdep$
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: tailr
Version: 0.1.0.9001
Version: 0.1.1
Title: Automatic Tail Recursion Optimisation
Description: Implements meta-programming functions for automatically
translating recursive functions into looping functions or trampolines.
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tailr 0.1.1

* Handles local variables when they are functions.
* Handles functions when they are local variables.

# tailr 0.1.0

Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ knitr::opts_chunk$set(
[![lifecycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)
[![Last-changedate](https://img.shields.io/badge/last%20change-`r gsub('-', '--', Sys.Date())`-green.svg)](/commits/master)
[![packageversion](https://img.shields.io/badge/Package%20version-0.1.0.9000-green.svg?style=flat-square)](commits/master)
[![packageversion](https://img.shields.io/badge/Package%20version-0.1.1-green.svg?style=flat-square)](commits/master)

[![Travis build status](https://travis-ci.org/mailund/tailr.svg?branch=master)](https://travis-ci.org/mailund/tailr)
[![Appveyor build status](https://ci.appveyor.com/api/projects/status/1d36yh8klursko82/branch/master?svg=true)](https://ci.appveyor.com/project/mailund/tailr/branch/master)
Expand Down
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
[![Project Status: Active – The project has reached a stable, usable
state and is being actively
developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)
[![Last-changedate](https://img.shields.io/badge/last%20change-2018--03--01-green.svg)](/commits/master)
[![packageversion](https://img.shields.io/badge/Package%20version-0.1.0.9000-green.svg?style=flat-square)](commits/master)
[![Last-changedate](https://img.shields.io/badge/last%20change-2018--03--17-green.svg)](/commits/master)
[![packageversion](https://img.shields.io/badge/Package%20version-0.1.1-green.svg?style=flat-square)](commits/master)

[![Travis build
status](https://travis-ci.org/mailund/tailr.svg?branch=master)](https://travis-ci.org/mailund/tailr)
Expand Down Expand Up @@ -122,14 +122,14 @@ bm <- microbenchmark::microbenchmark(factorial(n),
tr_factorial(n))
bm
#> Unit: microseconds
#> expr min lq mean median uq max
#> factorial(n) 915.490 993.3580 1242.0908 1049.0525 1294.5065 8020.541
#> loop_factorial(n) 63.154 65.1075 106.8807 67.8685 72.3585 3422.841
#> tr_factorial(n) 183.079 201.7145 254.5395 217.2860 270.8500 1042.639
#> neval
#> 100
#> 100
#> 100
#> expr min lq mean median uq
#> factorial(n) 1238.332 1574.1585 1864.1002 1676.3815 1833.4360
#> loop_factorial(n) 57.964 87.7235 142.9240 101.9705 108.7195
#> tr_factorial(n) 181.331 370.4770 408.5664 402.9685 437.2025
#> max neval
#> 7723.191 100
#> 4388.476 100
#> 1816.852 100
boxplot(bm)
```

Expand Down Expand Up @@ -240,7 +240,7 @@ tr_llength
#> }
#> })
#> }
#> <bytecode: 0x7fe11b0883f8>
#> <bytecode: 0x7fddfe174190>
```

but, then, it is not one we want to manually inspect in any case.
Expand All @@ -263,13 +263,13 @@ bm <- microbenchmark::microbenchmark(llength(test_llist),
bm
#> Unit: milliseconds
#> expr min lq mean median uq
#> llength(test_llist) 62.83734 70.42454 79.87564 75.76874 84.40722
#> loop_llength(test_llist) 64.96645 75.61720 85.98287 81.99561 90.02652
#> tr_llength(test_llist) 40.61448 46.72366 54.43987 50.22399 58.79248
#> max neval
#> 128.6517 100
#> 143.6397 100
#> 96.3314 100
#> llength(test_llist) 52.15034 62.94309 67.27350 65.32222 68.77446
#> loop_llength(test_llist) 54.48512 66.55713 70.13767 70.21095 74.21975
#> tr_llength(test_llist) 33.69783 41.62228 44.88733 45.06710 47.30268
#> max neval
#> 118.54083 100
#> 84.72679 100
#> 58.92155 100
boxplot(bm)
```

Expand Down
15 changes: 11 additions & 4 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@

* This is release 0.1.1 that can handle when functions are
local variables and thus not found in scope at compile-time.

## Test environments

* local OS X install, R 3.4.3
* ubuntu 14.04 (on travis-ci), R 3.4.3
* local OS X install, R 3.4.4
* ubuntu 14.04 (on travis-ci), R 3.4.4
* win-builder (devel and release)
* Rhub:
- Ubuntu Linux 16.04 LTS, R-release, GCC
- Fedora Linux, R-devel, clang, gfortran

## R CMD check results

0 errors | 0 warnings | 0 notes

* This is release 0.1.1 that can handle when functions are
local variables and thus not found in scope at compile-time.
## Downstream dependencies

* pmatch -- checks without issues using this release.
Binary file modified man/figures/README-unnamed-chunk-3-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-unnamed-chunk-9-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added revdep/checks.rds
Binary file not shown.

0 comments on commit d697390

Please sign in to comment.