Skip to content

Commit 9cdaf42

Browse files
Mark old functions as defunct, major version bump
1 parent eac9192 commit 9cdaf42

6 files changed

Lines changed: 13 additions & 33 deletions

File tree

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ authors:
1111
given-names: Chris C
1212
orcid: https://orcid.org/0000-0002-1143-9751
1313
title: "PRISMA2020: R package and ShinyApp for producing PRISMA 2020 compliant flow diagrams"
14-
version: 0.0.4
14+
version: 1.0.0
1515
doi: 10.5281/zenodo.4287834
1616
date-released: 2022-07-02
1717
license: MIT

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: PRISMA2020
22
Title: Make Interactive 'PRISMA' Flow Diagrams
3-
Version: 0.0.4
3+
Version: 1.0.0
44
Authors@R: c(
55
person(given = "Neal",
66
family = "Haddaway",

NAMESPACE

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
export(PRISMA_data)
44
export(PRISMA_flowdiagram)
55
export(PRISMA_save)
6-
export(read_PRISMAdata)
7-
export(sr_flow_interactive)
86
importFrom(DT,addRow)
97
importFrom(rio,import)
108
importFrom(shiny,column)

R/PRISMA_flowdiagram.R

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1820,10 +1820,8 @@ PRISMA_save <- function( #nolint
18201820
}
18211821
}
18221822

1823-
#' Plot interactive flow diagram for systematic reviews - DEPRECATED
1824-
#' @description DEPRECATED -
1825-
#' Converts a PRISMA systematic review flow diagram
1826-
#' into an interactive HTML plot, for embedding links from each box.
1823+
#' Defunct function - replaced by "PRISMA_interactive_"
1824+
#' @description Defunct function - replaced by "PRISMA_interactive_"
18271825
#' @seealso [PRISMA_interactive_()]
18281826
#' @param plot A plot object from [PRISMA_flowdiagram()].
18291827
#' @param urls A dataframe consisting of two columns: nodes and urls. The first
@@ -1833,24 +1831,17 @@ PRISMA_save <- function( #nolint
18331831
#' [PRISMA_flowdiagram()]) specifying whether previous studies were sought.
18341832
#' @param other Logical argument (TRUE or FALSE) (supplied through
18351833
#' [PRISMA_flowdiagram()]) specifying whether other studies were sought.
1836-
#' @return An interactive flow diagram plot.
1837-
#' @export
18381834
sr_flow_interactive <- function(plot,
18391835
urls,
18401836
previous,
18411837
other) {
1842-
.Deprecated("PRISMA_interactive_")
1843-
return(PRISMA_interactive_(plot, urls, previous, other)) #nolint
1838+
.Defunct("PRISMA_interactive_")
18441839
}
18451840

1846-
#' Read in PRISMA flow diagram data - DEPRECATED
1847-
#' @description DEPRECATED -
1848-
#' read in a template CSV containing data for the flow diagram
1841+
#' Defunct function - replaced by "PRISMA_data"
1842+
#' @description Defunct function - replaced by "PRISMA_data"
18491843
#' @seealso [PRISMA_data()]
18501844
#' @param data File to read in.
1851-
#' @return A list of objects needed to plot the flow diagram
1852-
#' @export
18531845
read_PRISMAdata <- function(data){ #nolint
1854-
.Deprecated("PRISMA_data")
1855-
return(PRISMA_data(data))
1856-
}
1846+
.Defunct("PRISMA_data")
1847+
}

man/read_PRISMAdata.Rd

Lines changed: 2 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/sr_flow_interactive.Rd

Lines changed: 2 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)