Skip to content

Commit

Permalink
Getting ready for CRAN v0.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mbedward committed Sep 7, 2023
1 parent fc3033e commit 05bc1cf
Show file tree
Hide file tree
Showing 8 changed files with 83 additions and 12 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
^data-raw$
^CRAN-RELEASE$
^CRAN-SUBMISSION$
^\.github$
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
49 changes: 49 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: R-CMD-check

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ VignetteBuilder: knitr
LinkingTo: Rcpp (>= 1.0.0)
LazyData: true
License: MIT + file LICENSE
RoxygenNote: 7.2.2
RoxygenNote: 7.2.3
Encoding: UTF-8
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# packcircles 0.3.6 (2023-09-05)

* Fix: Minor change to conform to CRAN package doc conventions.

# packcircles 0.3.5 (2022-11-23)

* Fix: Updated ggiraph dependency to version 0.8.4 to fix error when building
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<!-- badges: start -->
[![R-CMD-check](https://github.com/mbedward/packcircles/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/mbedward/packcircles/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->

# packcircles
R package for circle packing. Algorithms to find arrangements of non-overlapping circles

[![Travis Build Status](https://travis-ci.org/mbedward/packcircles.svg?branch=master)](https://travis-ci.org/mbedward/packcircles)

This package provides functions to find non-overlapping arrangements of circles.

The function `circleRepelLayout` attempts to arrange a set of circles of specified
Expand All @@ -25,7 +27,8 @@ denoted by their sizes, by consecutively placing each circle externally tangent
to two previously placed circles while avoiding overlaps. It was adapted from a
[version written in C](https://github.com/pmenzel/packCircles) by Peter Menzel.
The underlying algorithm is described in the paper: *Visualization of large
hierarchical data by circle packing* by [Weixin Wang et al. (2006)](https://doi.org/10.1145/1124772.1124851).
hierarchical data by circle packing* by
[Weixin Wang et al. (2006)](https://doi.org/10.1145/1124772.1124851).


The function `circleRemoveOverlaps` takes an initial set of overlapping circles
Expand Down
8 changes: 1 addition & 7 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
## Resubmission

Re-formatted NEWS.md to address NOTE in previous submission about missing
NEWS items. Also fixed fixed format of a DOI citation.

## Summary

This submission updates the version number for the suggested package ggiraph
to fix an error that with building one of the vignettes.
Address roxygen change for valid package documentation as advised by CRAN

## Test environments

Expand Down
21 changes: 20 additions & 1 deletion man/packcircles.Rd → man/packcircles-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 05bc1cf

Please sign in to comment.