Skip to content

Commit

Permalink
RC 0.1.1 (#268)
Browse files Browse the repository at this point in the history
* Update README

* Update CRAN comments

* Revdep checks

* Increment version number to 0.1.1

* Update to new pkgdown site
  • Loading branch information
juliasilge authored Nov 8, 2021
1 parent 8d7665e commit d6a73ac
Show file tree
Hide file tree
Showing 20 changed files with 130 additions and 125 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,7 @@ jobs:

- uses: r-lib/actions/setup-r-dependencies@v1
with:
extra-packages:
pkgdown
tidyverse/tidytemplate
tidymodels
GGally
survival
nlstools
tidyposterior
extra-packages: r-lib/pkgdown
needs: website

- name: Install package
Expand Down
37 changes: 16 additions & 21 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,26 +1,14 @@
Package: rsample
Title: General Resampling Infrastructure
Version: 0.1.0.9000
Authors@R:
c(person(given = "Julia",
family = "Silge",
role = c("aut", "cre"),
email = "[email protected]",
comment = c(ORCID = "0000-0002-3671-836X")),
person(given = "Fanny",
family = "Chow",
role = "aut",
email = "[email protected]"),
person(given = "Max",
family = "Kuhn",
role = "aut",
email = "[email protected]"),
person(given = "Hadley",
family = "Wickham",
role = "aut",
email = "[email protected]"),
person(given = "RStudio",
role = "cph"))
Version: 0.1.1
Authors@R: c(
person("Julia", "Silge", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-3671-836X")),
person("Fanny", "Chow", , "[email protected]", role = "aut"),
person("Max", "Kuhn", , "[email protected]", role = "aut"),
person("Hadley", "Wickham", , "[email protected]", role = "aut"),
person("RStudio", role = "cph")
)
Maintainer: Julia Silge <[email protected]>
Description: Classes and functions to create and summarize different types
of resampling objects (e.g. bootstrap, cross-validation).
Expand Down Expand Up @@ -57,6 +45,13 @@ Suggests:
xml2
VignetteBuilder:
knitr
Config/Needs/website:
GGally,
nlstools,
survival,
tidymodels,
tidyposterior,
tidyverse/tidytemplate
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.2
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# rsample (development version)
# rsample 0.1.1

* Updated documentation on stratified sampling (#245).

Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ knitr::opts_chunk$set(

<!-- badges: start -->
[![R-CMD-check](https://github.com/tidymodels/rsample/workflows/R-CMD-check/badge.svg)](https://github.com/tidymodels/rsample/actions)
[![Codecov test coverage](https://codecov.io/gh/tidymodels/rsample/branch/main/graph/badge.svg)](https://codecov.io/gh/tidymodels/rsample?branch=main)
[![Codecov test coverage](https://codecov.io/gh/tidymodels/rsample/branch/main/graph/badge.svg)](https://app.codecov.io/gh/tidymodels/rsample?branch=main)
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/rsample)](https://cran.r-project.org/package=rsample)
[![Downloads](https://cranlogs.r-pkg.org/badges/rsample)](https://cran.r-project.org/package=rsample)
[![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[![R-CMD-check](https://github.com/tidymodels/rsample/workflows/R-CMD-check/badge.svg)](https://github.com/tidymodels/rsample/actions)
[![Codecov test
coverage](https://codecov.io/gh/tidymodels/rsample/branch/main/graph/badge.svg)](https://codecov.io/gh/tidymodels/rsample?branch=main)
coverage](https://codecov.io/gh/tidymodels/rsample/branch/main/graph/badge.svg)](https://app.codecov.io/gh/tidymodels/rsample?branch=main)
[![CRAN\_Status\_Badge](https://www.r-pkg.org/badges/version/rsample)](https://cran.r-project.org/package=rsample)
[![Downloads](https://cranlogs.r-pkg.org/badges/rsample)](https://cran.r-project.org/package=rsample)
[![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)
Expand Down
24 changes: 7 additions & 17 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
url: https://rsample.tidymodels.org

template:
bootstrap: 5
bslib:
danger: "#CA225E"
primary: "#CA225E"
package: tidytemplate
params:
theme: tidymodels
part_of: <a href="https://tidymodels.org">tidymodels</a>
footer: rsample is a part of the <strong>tidymodels</strong> ecosystem, a collection of modeling packages designed with common APIs and a shared philosophy.

development:
mode: auto

home:
strip_header: true

figures:
fig.width: 8
fig.height: 5.75
Expand Down Expand Up @@ -66,10 +63,9 @@ reference:
- rsample

navbar:
left:
- text: Get started
href: articles/rsample.html
- text: Articles
components:
articles:
text: Articles
menu:
- text: Working with Resample Sets
href: articles/Working_with_rsets.html
Expand All @@ -83,9 +79,3 @@ navbar:
href: https://www.tidymodels.org/learn/models/time-series/
- text: Nested Resampling
href: https://www.tidymodels.org/learn/work/nested-resampling/
- text: Reference
href: reference/index.html
- text: News
href: news/index.html


14 changes: 10 additions & 4 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
## Release Summary

This is the 9th CRAN release of rsample. This release fixes bugs, improves error messages, and adds flexibility for users when stratifying sampling. This release also marks a **change in license** from GPL-2 to MIT; see [consent from copyright holders here](https://github.com/tidymodels/rsample/issues/226).
This is the 10th CRAN release of rsample. This release improves documentation, adds methods for `make_splits()`, and improves the memory footprint of hashing resamples.

## Test environments

* local macOS install: release
* macOS 10.15.7 (on GitHub actions): release
* windows server 2019 10.0.17763 (on GitHub actions): oldrel, release
* ubuntu 16.04 (on GitHub actions): oldrel, release, devel
* ubuntu 18.04 (on GitHub actions): oldrel, release, devel
* win-builder: release, devel

## R CMD check results
Expand All @@ -16,7 +16,13 @@ This is the 9th CRAN release of rsample. This release fixes bugs, improves error

## revdepcheck results

We checked 27 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
We checked 36 reverse dependencies (35 from CRAN + 1 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages
* We failed to check 1 packages

Issues with CRAN packages are summarised below.

### Failed to check

* did2s (NA)
57 changes: 0 additions & 57 deletions pkgdown/extra.css

This file was deleted.

Binary file removed pkgdown/favicon/apple-touch-icon-120x120.png
Binary file not shown.
Binary file removed pkgdown/favicon/apple-touch-icon-152x152.png
Binary file not shown.
Binary file removed pkgdown/favicon/apple-touch-icon-180x180.png
Binary file not shown.
Binary file removed pkgdown/favicon/apple-touch-icon-60x60.png
Binary file not shown.
Binary file removed pkgdown/favicon/apple-touch-icon-76x76.png
Binary file not shown.
Binary file removed pkgdown/favicon/apple-touch-icon.png
Binary file not shown.
Binary file removed pkgdown/favicon/favicon-16x16.png
Binary file not shown.
Binary file removed pkgdown/favicon/favicon-32x32.png
Binary file not shown.
Binary file removed pkgdown/favicon/favicon.ico
Binary file not shown.
34 changes: 22 additions & 12 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,32 @@
# Platform

|field |value |
|:--------|:----------------------------|
|version |R version 4.0.5 (2021-03-31) |
|os |macOS Big Sur 10.16 |
|system |x86_64, darwin17.0 |
|ui |RStudio |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |America/Denver |
|date |2021-05-07 |
|field |value |
|:--------|:-------------------------------------------------------------------------|
|version |R version 4.1.1 (2021-08-10) |
|os |macOS Big Sur 11.6 |
|system |aarch64, darwin20 |
|ui |RStudio |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |America/Denver |
|date |2021-11-08 |
|rstudio |1.4.1717 Juliet Rose (desktop) |
|pandoc |2.11.4 @ /Applications/RStudio.app/Contents/MacOS/pandoc/ (via rmarkdown) |

# Dependencies

|package |old |new |Δ |
|:-------|:-----|:----------|:--|
|rsample |0.0.9 |0.0.9.9000 |* |
|rsample |0.1.0 |0.1.0.9000 |* |
|glue |NA |1.4.2 |* |
|tibble |NA |3.1.5 |* |

# Revdeps

## Failed to check (1)

|package |version |error |warning |note |
|:-------|:-------|:-----|:-------|:----|
|did2s |0.4.0 |1 | | |

9 changes: 7 additions & 2 deletions revdep/cran.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
## revdepcheck results

We checked 27 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
We checked 36 reverse dependencies (35 from CRAN + 1 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages
* We failed to check 1 packages

Issues with CRAN packages are summarised below.

### Failed to check

* did2s (NA)
65 changes: 64 additions & 1 deletion revdep/failures.md
Original file line number Diff line number Diff line change
@@ -1 +1,64 @@
*Wow, no problems at all. :)*
# did2s

<details>

* Version: 0.4.0
* GitHub: NA
* Source code: https://github.com/cran/did2s
* Date/Publication: 2021-09-27 08:50:07 UTC
* Number of recursive dependencies: 160

Run `revdep_details(, "did2s")` for more info

</details>

## In both

* checking whether package ‘did2s’ can be installed ... ERROR
```
Installation failed.
See ‘/Users/juliasilge/Work/rstudio/rsample/revdep/checks.noindex/did2s/new/did2s.Rcheck/00install.out’ for details.
```

## Installation

### Devel

```
* installing *source* package ‘did2s’ ...
** package ‘did2s’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/juliasilge/Work/rstudio/rsample/revdep/library.noindex/did2s/RcppArmadillo/include' -I'/Users/juliasilge/Work/rstudio/rsample/revdep/library.noindex/did2s/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/juliasilge/Work/rstudio/rsample/revdep/library.noindex/did2s/RcppArmadillo/include' -I'/Users/juliasilge/Work/rstudio/rsample/revdep/library.noindex/did2s/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c code.cpp -o code.o
clang++ -arch arm64 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o did2s.so RcppExports.o code.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/R/arm64/gfortran/lib/gcc/aarch64-apple-darwin20.2.0/11.0.0 -L/opt/R/arm64/gfortran/lib -lgfortran -lemutls_w -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: directory not found for option '-L/opt/R/arm64/gfortran/lib/gcc/aarch64-apple-darwin20.2.0/11.0.0'
ld: warning: directory not found for option '-L/opt/R/arm64/gfortran/lib'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [did2s.so] Error 1
ERROR: compilation failed for package ‘did2s’
* removing ‘/Users/juliasilge/Work/rstudio/rsample/revdep/checks.noindex/did2s/new/did2s.Rcheck/did2s’
```
### CRAN

```
* installing *source* package ‘did2s’ ...
** package ‘did2s’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/juliasilge/Work/rstudio/rsample/revdep/library.noindex/did2s/RcppArmadillo/include' -I'/Users/juliasilge/Work/rstudio/rsample/revdep/library.noindex/did2s/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/juliasilge/Work/rstudio/rsample/revdep/library.noindex/did2s/RcppArmadillo/include' -I'/Users/juliasilge/Work/rstudio/rsample/revdep/library.noindex/did2s/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c code.cpp -o code.o
clang++ -arch arm64 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o did2s.so RcppExports.o code.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/R/arm64/gfortran/lib/gcc/aarch64-apple-darwin20.2.0/11.0.0 -L/opt/R/arm64/gfortran/lib -lgfortran -lemutls_w -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: directory not found for option '-L/opt/R/arm64/gfortran/lib/gcc/aarch64-apple-darwin20.2.0/11.0.0'
ld: warning: directory not found for option '-L/opt/R/arm64/gfortran/lib'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [did2s.so] Error 1
ERROR: compilation failed for package ‘did2s’
* removing ‘/Users/juliasilge/Work/rstudio/rsample/revdep/checks.noindex/did2s/old/did2s.Rcheck/did2s’
```

0 comments on commit d6a73ac

Please sign in to comment.