Skip to content

Commit

Permalink
Get rid of warnings and notes in R CMD check (Open-Systems-Pharmacolo…
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil authored and Yuri05 committed Jan 27, 2023
1 parent 9ae36c1 commit fde2727
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
5 changes: 4 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Imports:
ggplot2 (>= 3.3.0),
R6,
jsonlite,
ospsuite.utils,
ospsuite.utils (>= 1.3.0),
patchwork
Depends:
R (>= 3.6)
Expand All @@ -42,6 +42,8 @@ Roxygen: list(markdown = TRUE)
Suggests:
knitr,
rmarkdown,
scales,
shiny,
testthat (>= 3.0.3),
vdiffr (>= 1.0.0)
VignetteBuilder: knitr
Expand All @@ -61,6 +63,7 @@ Collate:
'ddiratio-datamapping.R'
'error-checks.R'
'font.R'
'global-vars.R'
'histogram-datamapping.R'
'label.R'
'messages.R'
Expand Down
17 changes: 17 additions & 0 deletions R/global-vars.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# defining global variables and functions to appease R CMD Check

utils::globalVariables(
names = c(
".",
"color",
"fill",
"fillLength",
"linetype",
"linetypeLength",
"newPlotObject",
"shape",
"size"
),
package = "tlf",
add = FALSE
)
1 change: 1 addition & 0 deletions man/ObsVsPredDataMapping.Rd

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

1 change: 1 addition & 0 deletions man/PKRatioDataMapping.Rd

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

0 comments on commit fde2727

Please sign in to comment.