Skip to content

Commit

Permalink
Updates for CRAN release
Browse files Browse the repository at this point in the history
  • Loading branch information
jimhester committed Mar 25, 2019
1 parent 016feae commit 79cb7a0
Show file tree
Hide file tree
Showing 5 changed files with 106 additions and 25 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: pkgbuild
Title: Find Tools Needed to Build R Packages
Version: 1.0.2.9000
Version: 1.0.3
Authors@R: c(
person("Hadley", "Wickham", role = "aut"),
person("Jim", "Hester", , "james.hester@rstudio.com", role = c("aut", "cre")),
Expand Down
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# pkgbuild 1.0.2.9000
# pkgbuild 1.0.3

* Tests which wrote to the package library are now skipped on CRAN.

* `build()` can now build a tar.gz file directly (#55)

# pkgbuild 1.0.2

Expand Down
4 changes: 3 additions & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
This release fixes tests which wrote to the system library, as requested by CRAN

## Test environments
* local OS X install, R 3.5.1
* ubuntu 14.04 (on travis-ci), R 3.5.1
Expand All @@ -9,6 +11,6 @@

## Downstream dependencies

I ran `R CMD check` on all 4 reverse dependencies
I ran `R CMD check` on all 9 reverse dependencies
(https://github.com/r-lib/pkgbuild/tree/master/revdep). There were no
regressions.
42 changes: 23 additions & 19 deletions revdep/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,47 @@
|field |value |
|:--------|:----------------------------|
|version |R version 3.5.1 (2018-07-02) |
|os |macOS 10.14 |
|os |macOS 10.14.2 |
|system |x86_64, darwin15.6.0 |
|ui |X11 |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |America/New_York |
|date |2018-10-16 |
|date |2019-03-20 |

# Dependencies

|package |old |new |Δ |
|:-----------|:-----|:-----|:--|
|pkgbuild |1.0.1 |1.0.2 |* |
|pkgbuild |1.0.2 |1.0.3 |* |
|assertthat |0.2.0 |0.2.0 | |
|backports |1.1.2 |1.1.2 | |
|base64enc |0.1-3 |0.1-3 | |
|callr |3.0.0 |3.0.0 | |
|cli |NA |1.0.1 |* |
|backports |1.1.3 |1.1.3 | |
|callr |3.2.0 |3.2.0 | |
|cli |1.1.0 |1.1.0 | |
|crayon |1.3.4 |1.3.4 | |
|desc |1.2.0 |1.2.0 | |
|magrittr |NA |1.5 |* |
|prettyunits |NA |1.0.2 |* |
|processx |3.2.0 |3.2.0 | |
|ps |1.1.0 |1.1.0 | |
|R6 |2.3.0 |2.3.0 | |
|magrittr |1.5 |1.5 | |
|prettyunits |1.0.2 |1.0.2 | |
|processx |3.3.0 |3.3.0 | |
|ps |1.3.0 |1.3.0 | |
|R6 |2.4.0 |2.4.0 | |
|rprojroot |1.3-2 |1.3-2 | |
|withr |2.1.2 |2.1.2 | |

# Revdeps

## All (4)
## All (9)

|package |version |error |warning |note |
|:--------------------------|:-------|:-----|:-------|:----|
|pkgload |1.0.1 | | | |
|rcmdcheck |1.3.0 | | | |
|remotes |2.0.0 | | | |
|[rstan](problems.md#rstan) |2.18.1 | | |2 |
|package |version |error |warning |note |
|:----------------------------------|:-------|:-----|:-------|:----|
|[codemetar](problems.md#codemetar) |0.1.7 | | |1 |
|devtools |2.0.1 | | | |
|[fakemake](problems.md#fakemake) |1.4.0 |1 |1 |2 |
|pak |0.1.2 | | | |
|pkgload |1.0.2 | | | |
|rcmdcheck |1.3.2 | | | |
|remotes |2.0.2 | | | |
|Rmosek |1.3.3 | | | |
|[rstan](problems.md#rstan) |2.18.2 | |1 |2 |

77 changes: 74 additions & 3 deletions revdep/problems.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,86 @@
# codemetar

Version: 0.1.7

## In both

* checking dependencies in R code ... NOTE
```
Namespace in Imports field not imported from: ‘memoise’
All declared Imports should be used.
```
# fakemake
Version: 1.4.0
## In both
* checking examples ... ERROR
```
Running examples in ‘fakemake-Ex.R’ failed
The error most likely occurred in:
> ### Name: get_pkg_archive_path
> ### Title: Get a Package's Archive Path From the Package's DESCRIPTION
> ### Aliases: get_pkg_archive_path
>
> ### ** Examples
>
> package_path <- file.path(tempdir(), "anRpackage")
> usethis::create_package(path = package_path)
✔ Setting active project to '/private/var/folders/dt/r5s12t392tb5sk181j3gs4zw0000gn/T/Rtmp8Mzmfd/anRpackage'
✔ Creating 'R/'
✔ Creating 'man/'
✔ Writing 'DESCRIPTION'
✔ Writing 'NAMESPACE'
> print(tarball <- get_pkg_archive_path(package_path))
Error in loadNamespace(name) : there is no package called ‘devtools’
Calls: print ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted
```
* checking re-building of vignette outputs ... WARNING
```
Error in re-building vignettes:
...
Prerequisite DESCRIPTION found.
Prerequisite R/throw.R found.
Prerequisite R/throw.R found.
Prerequisite R/throw.R found.
Prerequisite R/throw.R found.
```
* checking package dependencies ... NOTE
```
Package suggested but not available for checking: ‘devtools’
```
* checking dependencies in R code ... NOTE
```
Namespace in Imports field not imported from: ‘pkgbuild’
All declared Imports should be used.
```
# rstan
Version: 2.18.1
Version: 2.18.2
## In both
* checking whether package ‘rstan’ can be installed ... WARNING
```
Found the following significant warnings:
Warning: package ‘StanHeaders’ was built under R version 3.5.2
See ‘.../revdep/checks.noindex/rstan/new/rstan.Rcheck/00install.out’ for details.
```
* checking installed package size ... NOTE
```
installed size is 12.3Mb
installed size is 12.4Mb
sub-directories of 1Mb or more:
R 2.1Mb
libs 8.2Mb
libs 8.3Mb
```
* checking Rd cross-references ... NOTE
Expand Down

0 comments on commit 79cb7a0

Please sign in to comment.