Skip to content

Commit

Permalink
Don't call browseURL() non-interactively, as it causes leftover files…
Browse files Browse the repository at this point in the history
… in the temp directory with names like "calibre_6.13.0_tmp_6b818jbg".
  • Loading branch information
dmurdoch committed May 2, 2023
1 parent 678c6f7 commit 69e6e66
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: tables
Title: Formula-Driven Table Generation
Version: 0.9.15
Version: 0.9.16
Author: Duncan Murdoch
Description: Computes and displays complex tables of summary statistics.
Output may be in LaTeX, HTML, plain text, or an R
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# tables 0.9.15
# tables 0.9.16

- Change host to Github.
- Add `useGroupLabels()` function.
Expand Down
6 changes: 6 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# tables 0.9.16

This version doesn't call browseURL() non-interactively
even in a \donttest section. Hopefully this will deal with the
"calibre" files.

# tables 0.9.15

This is a relatively minor update, adding a few functions. The
Expand Down
3 changes: 2 additions & 1 deletion man/html.tabular.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ toHTML(tab, con, options=htmloptions(head=FALSE, table=TRUE, pad=TRUE))
table_options(save)
close(con)
browseURL(f)
if (interactive())
browseURL(f)
}
}

0 comments on commit 69e6e66

Please sign in to comment.