Skip to content

Commit

Permalink
update d3 to 7.8.5, pkgdown, update github check package action
Browse files Browse the repository at this point in the history
  • Loading branch information
timelyportfolio committed Oct 2, 2023
1 parent 7fa13cf commit 601e4bf
Show file tree
Hide file tree
Showing 18 changed files with 262 additions and 213 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ docs
.V8history
^experiments
^\.github$
^CRAN-SUBMISSION$
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
inst/doc
.V8history
experiments
cran-comments.md
2 changes: 0 additions & 2 deletions CRAN-RELEASE

This file was deleted.

4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: d3r
Type: Package
Title: 'd3.js' Utilities for R
Version: 1.0.1
Date: 2023-02-05
Version: 1.1.0
Date: 2023-10-01
Authors@R: c(
person(
"Mike", "Bostock"
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# d3r 1.1.0

* update d3 version [`7.8.5`](https://github.com/d3/d3/releases/tag/v7.8.5) dependency function `d3_dep_v7()`

# d3r 1.0.1

* update d3 version [`7.8.2`](https://github.com/d3/d3/releases/tag/v7.8.2) dependency function `d3_dep_v7()`
Expand Down
4 changes: 2 additions & 2 deletions R/dependencies.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ d3_dep_v7 <- function(offline=TRUE){
if(offline) {
src = c(file=system.file("www/d3/v7/dist", package="d3r"))
} else {
src <- c(href="https://unpkg.com/[email protected].2/dist")
src <- c(href="https://unpkg.com/[email protected].5/dist")
}

htmltools::htmlDependency(
name = "d3",
version = "7.8.2",
version = "7.8.5",
src = src,
script = "d3.min.js"
)
Expand Down
8 changes: 2 additions & 6 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# Comments

fix CRAN errors notified by email

## Test environments
* local Windows 10 install, R 4.1.1
* Github actions standard package check
* local Windows 10 install, R 4.3.1
* Github actions ubuntu, mac, windows release check
* winbuilder devel, release, and old release
* rhub check_for_cran

Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

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

2 changes: 1 addition & 1 deletion docs/CONDUCT.html

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

2 changes: 1 addition & 1 deletion docs/LICENSE-text.html

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

6 changes: 3 additions & 3 deletions docs/authors.html

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

Loading

0 comments on commit 601e4bf

Please sign in to comment.