Skip to content

Commit c8f62e4

Browse files
committed
Changes requested by CRAN.
Remove unused imports.
1 parent 22dff47 commit c8f62e4

File tree

6 files changed

+17
-12
lines changed

6 files changed

+17
-12
lines changed

DESCRIPTION

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: parseLatex
22
Type: Package
3-
Title: Parse LaTeX Code
4-
Version: 0.2.0
3+
Title: Parse 'LaTeX' Code
4+
Version: 0.2.1
55
Authors@R: c(
66
person(
77
"Duncan", "Murdoch",
@@ -10,9 +10,9 @@ Authors@R: c(
1010
),
1111
person("The R Core Team", role = c("ctb", "cph"))
1212
)
13-
Description: Exports an enhanced version of the
14-
'tools::parseLatex()' function to handle 'LaTeX' syntax more
15-
accurately. Also includes numerous functions for searching and modifying
13+
Description: Exports an enhanced version of the tools::parseLatex()
14+
function to handle 'LaTeX' syntax more accurately. Also
15+
includes numerous functions for searching and modifying
1616
'LaTeX' source.
1717
License: GPL (>= 2)
1818
Encoding: UTF-8
@@ -22,7 +22,7 @@ Suggests:
2222
kableExtra,
2323
knitr,
2424
rmarkdown
25-
Imports: tools, utils
25+
Imports: utils
2626
Roxygen: list(markdown = TRUE)
2727
RoxygenNote: 7.3.2
2828
VignetteBuilder: knitr

NAMESPACE

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,5 @@ export(tableRow)
8080
export(vector_to_latex2)
8181
export(vector_to_row)
8282
export(widthOption)
83-
importFrom(tools,deparseLatex)
84-
importFrom(utils,getParseData)
8583
importFrom(utils,getSrcref)
8684
useDynLib(parseLatex, .registration=TRUE)

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# parseLatex 0.2.1
2+
3+
* Minor modifications for CRAN submission.
4+
15
# parseLatex 0.2.0
26

37
* Added `find_sequence()`, `set_contents()`.

R/parseLatex.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@
4545
#' @returns `parseLatex` returns parsed Latex in a list with class `"LaTeX2"`. Items in the list have class `"LaTeX2item"`.
4646
#' @seealso LaTeX2, LaTeX2item
4747
#' @export
48-
#' @importFrom utils getParseData
49-
#' @importFrom tools deparseLatex
5048
#'
5149
#' @examples
5250
#' parsed <- parseLatex(r"(fran\c{c}ais)")

cran-comments.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,9 @@
22

33
0 errors | 0 warnings | 1 note
44

5-
* This is a new package.
5+
* This is a resubmission following comments from CRAN, now
6+
version 0.2.1.
7+
* The quotes around 'LaTeX' have been added, and around tools::parseLatex() have been removed.
8+
* There are no references to cite.
9+
* The authors are all listed in Authors@R.
10+
* Some unused imports have been removed.

man/parseLatex_pkg.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)