Skip to content

Commit

Permalink
remove old invalid url found in winbuilder check
Browse files Browse the repository at this point in the history
  • Loading branch information
timelyportfolio committed Feb 5, 2023
1 parent 3d4373a commit 8c50533
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 20 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ Enhances: igraph,
rpart,
treemap,
V8
RoxygenNote: 7.1.1
RoxygenNote: 7.2.3
4 changes: 0 additions & 4 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ knitr::opts_chunk$set(
[![Travis-CI Build Status](https://travis-ci.org/timelyportfolio/d3r.svg?branch=master)](https://travis-ci.org/timelyportfolio/d3r)
[![Coverage Status](https://img.shields.io/codecov/c/github/NA/NA/master.svg)](https://codecov.io/github/timelyportfolio/d3r?branch=master)

### Why d3r?

Please see this Building Widgets blog post [Why d3r?](http://www.buildingwidgets.com/blog/2016/8/28/why-d3r).

### Installing d3r

`d3r` is on CRAN, so install with `install.packages("d3r")` or for the absolute latest use `devtools`.
Expand Down
23 changes: 9 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@

<!-- README.md is generated from README.Rmd. Please edit that file -->

[![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/d3r)](https://cran.r-project.org/package=d3r)
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/d3r)](https://cran.r-project.org/package=d3r)
[![Travis-CI Build
Status](https://travis-ci.org/timelyportfolio/d3r.svg?branch=master)](https://travis-ci.org/timelyportfolio/d3r)
[![Coverage
Status](https://img.shields.io/codecov/c/github/NA/NA/master.svg)](https://codecov.io/github/timelyportfolio/d3r?branch=master)

### Why d3r?

Please see this Building Widgets blog post [Why
d3r?](http://www.buildingwidgets.com/blog/2016/8/28/why-d3r).

### Installing d3r

`d3r` is on CRAN, so install with `install.packages("d3r")` or for the
Expand All @@ -27,15 +22,15 @@ absolute latest use `devtools`.

library(htmltools)
library(d3r)

# check web developer tools to see d3 is available
browsable(
attachDependencies(
tagList(),
d3_dep_v7()
)
)

# or include directly in a taglist; I prefer this method.
browsable(
tagList(
Expand Down Expand Up @@ -65,7 +60,7 @@ As another example, let’s go from `treemap` to `d3.js`.

library(treemap)
library(d3r)

d3_nest(
treemap::random.hierarchical.data(),
value_cols = "x"
Expand All @@ -78,20 +73,20 @@ make perfect subjects for `d3` hierarchical layouts. `d3_party` helps
convert these objects for easy usage with `d3.js`.

#devtools::install_github("timelyportfolio/d3treeR")

library(d3treeR)
library(d3r)

# example from ?rpart
data("kyphosis", package="rpart")
rp <- rpart::rpart(
Kyphosis ~ Age + Number + Start,
data = kyphosis
)

# get the json hierarchy
d3_party(tree=rp)

# interactive plot with d3treeR
d3tree2(
d3_party(tree=rp),
Expand All @@ -106,7 +101,7 @@ conversion. `d3r::d3_igraph` will do this for you.

library(igraph)
library(d3r)

d3_igraph(igraph::watts.strogatz.game(1, 50, 4, 0.05))

### Todo
Expand Down
2 changes: 1 addition & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

## Test environments
* local Windows 10 install, R 3.4.0
* Github actions standard package check
* winbuilder
* ubuntu 14.04.5 LTS (on travis-ci), R 3.5.0
* rhub check_for_cran

## R CMD check results
Expand Down

0 comments on commit 8c50533

Please sign in to comment.