Skip to content

Commit

Permalink
compressed is deprecated - removed
Browse files Browse the repository at this point in the history
  • Loading branch information
muschellij2 committed Mar 11, 2019
1 parent 3ba2b4c commit 8fa7474
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions R/dcmj2pnm.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#' }
#' file = system.file("extdata", "example.dcm", package = "dcmtk")
#' png_file = dcmj2pnm(file)
#' print(png_file)
#' img = png::readPNG(png_file)
#' plot(1:2, type='n')
#' image(img)
Expand Down
2 changes: 1 addition & 1 deletion R/dcmtk_cmd.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ dcmtk_cmd = function(
opts = paste(opts, collapse = " ")
cmd = paste(s, opts)
if (!is.null(outfile)) {
outfile = paste(names(outfile), outfile)
outfile = paste(names(outfile), shQuote(outfile))
outfile = paste(outfile, collapse = " ")
cmd = paste(cmd, outfile)
}
Expand Down
2 changes: 0 additions & 2 deletions R/install_dcmtk.R
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ install_dcmtk = function(
if (ext == "bz2") {
files = utils::untar(
destfile,
compressed = "bzip2",
list = TRUE,
exdir = install_dir)
}
Expand All @@ -120,7 +119,6 @@ install_dcmtk = function(
if (ext == "bz2") {
res = utils::untar(
destfile,
compressed = "bzip2",
exdir = install_dir)
if (res != 0) {
warning("Untarring the download did not succeed correctly!")
Expand Down
1 change: 1 addition & 0 deletions man/dcmj2pnm.Rd

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

0 comments on commit 8fa7474

Please sign in to comment.