Skip to content

Commit

Permalink
Merge pull request #455 from rich-iannone/v1.0.7-rc
Browse files Browse the repository at this point in the history
Release DiagrammeR v1.0.7
  • Loading branch information
rich-iannone authored Jan 15, 2022
2 parents 2ca826b + 2cc8b38 commit b265606
Show file tree
Hide file tree
Showing 15 changed files with 34 additions and 444 deletions.
4 changes: 1 addition & 3 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
^\.Rproj\.user$
.bowerrc
.*sublime.*
^\.travis\.yml$
^.github$
^cran-comments\.md$
^CONDUCT\.md$
^revdep$
^docs$
^README\.Rmd$
Expand All @@ -14,3 +11,4 @@
^_pkgdown\.yml$
^man/figures/.*$
^README\.md$
vignettes
20 changes: 11 additions & 9 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main

name: R-CMD-check

Expand All @@ -18,16 +18,15 @@ jobs:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: '3.6'}
- {os: macOS-latest, r: '4.0'}
- {os: windows-latest, r: '3.6'}
- {os: macos-11, r: '4.1'}
- {os: windows-latest, r: '4.0'}
- {os: ubuntu-16.04, r: '3.6', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
- {os: ubuntu-16.04, r: '4.0', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
- {os: windows-latest, r: '4.1'}
- {os: ubuntu-latest, r: '3.6'}
- {os: ubuntu-latest, r: '4.0'}
- {os: ubuntu-latest, r: '4.1'}

env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
RSPM: ${{ matrix.config.rspm }}

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -63,6 +62,9 @@ jobs:

- name: Install dependencies
run: |
if (Sys.info()[["sysname"]] == "Windows") {
options(install.packages.compile.from.source = "never")
}
remotes::install_deps(dependencies = TRUE)
remotes::install_cran("rcmdcheck")
shell: Rscript {0}
Expand All @@ -81,6 +83,6 @@ jobs:
path: check

- name: Test coverage
if: matrix.config.os == 'macOS-latest' && matrix.config.r == '3.6'
if: matrix.config.os == 'macOS-latest' && matrix.config.r == '4.0'
run: covr::codecov()
shell: Rscript {0}
27 changes: 0 additions & 27 deletions .travis.yml

This file was deleted.

5 changes: 2 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: DiagrammeR
Title: Graph/Network Visualization
Version: 1.0.6.9000
Version: 1.0.7
Authors@R:
person("Richard", "Iannone", , "riannone@me.com", c("aut", "cre"),
comment = c(ORCID = "0000-0003-3925-190X"))
Expand Down Expand Up @@ -47,6 +47,5 @@ Suggests:
rmarkdown
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.1.0
VignetteBuilder: knitr
RoxygenNote: 7.1.2
Roxygen: list(markdown = TRUE)
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
YEAR: 2018
YEAR: 2022
COPYRIGHT HOLDER: Richard Iannone
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MIT License

Copyright (c) 2018 Richard Iannone
Copyright (c) 2022 Richard Iannone

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# DiagrammeR 1.0.6.9000 (Unreleased)
# DiagrammeR 1.0.7

* Fix malformed CSS selector in `htmlwidgets/grViz.js`

* Only call `replace_na(replace = "")` on character columns

* Added the `envir` argument to the `grViz` and `replace_in_spec` functions.

Expand Down
2 changes: 1 addition & 1 deletion R/DiagrammeR.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' R + mermaid.js
#'
#' Make diagrams in R using \href{https://github.com/mdaines/viz.js}{viz.js} or
#' \href{https://github.com/knsv/mermaid}{mermaid.js} with infrastructure
#' \href{https://github.com/mermaid-js/mermaid}{mermaid.js} with infrastructure
#' provided by \href{http://www.htmlwidgets.org/}{htmlwidgets}.
#'
#' @param diagram The diagram in `graphviz` or `mermaid` format, or, a file (as
Expand Down
4 changes: 2 additions & 2 deletions R/mermaid.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#' R + mermaid.js
#'
#' Make diagrams in R using
#' \href{https://github.com/knsv/mermaid/wiki}{mermaid.js} with infrastructure
#' provided by \href{http://www.htmlwidgets.org/}{htmlwidgets}.
#' \href{https://github.com/mermaid-js/mermaid/wiki}{mermaid.js} with
#' infrastructure provided by \href{http://www.htmlwidgets.org/}{htmlwidgets}.
#'
#' @param diagram Diagram in mermaid markdown-like language or file (as a
#' connection or file name) containing a diagram specification. If no diagram
Expand Down
5 changes: 5 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ destination: docs
home:
strip_header: true

url: http://visualizers.co/diagrammer/

template:
bootstrap: 5

reference:
- title: External NDF/EDF
desc: >
Expand Down
4 changes: 2 additions & 2 deletions man/DiagrammeR.Rd

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

6 changes: 3 additions & 3 deletions man/mermaid.Rd

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

44 changes: 0 additions & 44 deletions revdep/README.md

This file was deleted.

Loading

0 comments on commit b265606

Please sign in to comment.