diff --git a/.gitignore b/.gitignore index 8b51241..e4aa705 100644 --- a/.gitignore +++ b/.gitignore @@ -7,5 +7,5 @@ inst/doc docs CRAN-SUBMISSION -.Rproj.user + .positai diff --git a/DESCRIPTION b/DESCRIPTION index 90775b8..aeee72b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ -Package: shinyreprex Type: Package +Package: shinyreprex Title: Reproducible Code for 'Shiny' Objects -Version: 0.1.0 +Version: 0.2.0 Authors@R: c(person("Ashley", "Baldry", email = "ashley.baldry@acuityanalytics.com", role = c("aut", "cre"))) Description: Provides functionality to extract reactive expressions from a 'shiny' application and convert them into stand-alone R scripts. This enables users to reproduce tables and visualisations @@ -24,13 +24,13 @@ Suggests: shiny, spelling, testthat (>= 3.0.0) -Language: en-GB +VignetteBuilder: knitr +Config/Needs/website: rmarkdown, ascentsoftware/acuitydown +Config/roxygen2/version: 8.0.0 +Config/testthat/edition: 3 Encoding: UTF-8 +Language: en-GB Roxygen: list(markdown = TRUE) -RoxygenNote: 7.3.3 -Config/testthat/edition: 3 -Config/Needs/website: ascentsoftware/ascentdown -VignetteBuilder: knitr Collate: 'Repro_S7.R' 'S7_utils.R' diff --git a/NEWS.md b/NEWS.md index 3e0e3c8..3e976a1 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,17 @@ +# shinyreprex 0.2.0 + +New features: + +* Handling special cases of additional base functions `switch` and `[[` + +Other updates: + +* Update to the logo + +Bug fixes: + + + # shinyreprex 0.1.0 * This is the first release of shinyreprex diff --git a/README.md b/README.md index e67e265..49df970 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,10 @@ -# shinyreprex - - +# shinyreprex dtlg website -[![R-CMD-check](https://github.com/AscentSoftware/shinyreprex/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/AscentSoftware/shinyreprex/actions/workflows/R-CMD-check.yaml) +[![CRAN version](https://www.r-pkg.org/badges/version/shinyreprex)](https://cran.r-project.org/package=shinyreprex) +[![R CMD check](https://github.com/AscentSoftware/shinyreprex/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/AscentSoftware/shinyreprex/actions/workflows/R-CMD-check.yaml) +[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://cran.r-project.org/web/licenses/MIT) +[![CRAN downloads last month](http://cranlogs.r-pkg.org/badges/last-month/shinyreprex)](https://cran.r-project.org/package=shinyreprex) The aim of **shinyreprex** is to be able to recreate any reactive or output that is available in @@ -16,7 +17,11 @@ environment outside of Shiny. ## Installation -To get the latest version of shinyreprex, install from GitHub: +``` r +install.packages("shinyreprex") +``` + +To get the development version of shinyreprex, install from GitHub: ```r require(remotes) diff --git a/_pkgdown.yml b/_pkgdown.yml index 1e2d364..1c4f9b9 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -1,4 +1,4 @@ url: https://ascentsoftware.github.io/shinyreprex/ template: - package: ascentdown + package: acuitydown bootstrap: 5 diff --git a/man/figures/logo.png b/man/figures/logo.png deleted file mode 100644 index 5eb5fb4..0000000 Binary files a/man/figures/logo.png and /dev/null differ diff --git a/man/figures/logo.svg b/man/figures/logo.svg new file mode 100644 index 0000000..0e89728 --- /dev/null +++ b/man/figures/logo.svg @@ -0,0 +1,155 @@ + + + + diff --git a/man/s7_classes.Rd b/man/s7_classes.Rd index 8dce4fb..8446297 100644 --- a/man/s7_classes.Rd +++ b/man/s7_classes.Rd @@ -1,6 +1,5 @@ % Generated by roxygen2: do not edit by hand % Please edit documentation in R/S7_utils.R -\docType{data} \name{class_reactive} \alias{class_reactive} \title{Custom S7 Classes} diff --git a/vignettes/shinyrepro.Rmd b/vignettes/shinyreprex.Rmd similarity index 100% rename from vignettes/shinyrepro.Rmd rename to vignettes/shinyreprex.Rmd