Skip to content

Commit

Permalink
Add copyright text and update Authors@R
Browse files Browse the repository at this point in the history
  • Loading branch information
nanxstats committed May 28, 2024
1 parent 7c26cec commit eef2356
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Authors@R: c(
person("Jeff", "Cheng", role = "ctb"),
person("Yirong", "Cao", role = "ctb"),
person("Amin", "Shirazi", role = "ctb"),
person("Günter", "Milde", role = c("ctb"),
comment = c("Original author of the unimathsymbols.txt file")),
person("Merck Sharp & Dohme Corp", role = "cph")
)
Description: Create production-ready Rich Text Format (RTF) table and figure
Expand Down Expand Up @@ -49,4 +51,4 @@ Suggests:
xml2
Config/testthat/edition: 3
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
27 changes: 27 additions & 0 deletions R/utils.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
# Copyright (c) 2024 Merck & Co., Inc., Rahway, NJ, USA and its affiliates.
# All rights reserved.
#
# This file is part of the r2rtf program.
#
# r2rtf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

#' Update unicode_latex data frame
#'
#' Updates the `unicode_latex` mapping table by downloading and
#' processing the `unimathsymbols.txt` file from the specified URL.
#'
#' The original `unimathsymbols.txt` file is licensed under the
#' LaTeX Project Public License (LPPL), version 1.3 or later.
#'
#' @noRd
update_unicode_latex <- function() {
url <- "https://milde.users.sourceforge.net/LUCR/Math/data/unimathsymbols.txt"

Expand Down

0 comments on commit eef2356

Please sign in to comment.