From 46ae613746b7f9afc40191d6b8dceacdab6dee66 Mon Sep 17 00:00:00 2001 From: kapsner Date: Thu, 6 Jun 2024 10:29:09 +0200 Subject: [PATCH] chore: added missing utils-import --- DESCRIPTION | 1 + NEWS.md | 7 ++++++- R/moduleDifferences.R | 4 ++-- data-raw/devstuffs.R | 1 + 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index b0bf03d..96402d7 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -34,6 +34,7 @@ Imports: shinyFiles, shinyjs, shinyWidgets, + utils, waiter Suggests: lintr, diff --git a/NEWS.md b/NEWS.md index 3d15ede..5656aef 100644 --- a/NEWS.md +++ b/NEWS.md @@ -29,6 +29,11 @@ - fixing ci ([8210403](https://gitlab.miracum.org/miracum/dqa/dqagui/tree/821040353538db5b2da58d393a9169ec2f6310a1)) +#### Docs + +- updated man-files to comply with cran-checks + ([398c544](https://gitlab.miracum.org/miracum/dqa/dqagui/tree/398c544ece0e368a4170006122638750b5a36b49)) + #### Other changes - merged into development @@ -47,7 +52,7 @@ ([1562003](https://gitlab.miracum.org/miracum/dqa/dqagui/tree/1562003e10995a56c53d09e7dc0d870cef41f4f7)) Full set of changes: -[`v0.2.3...8b57b1f`](https://gitlab.miracum.org/miracum/dqa/dqagui/-/compare/v0.2.3...8b57b1f) +[`v0.2.3...398c544`](https://gitlab.miracum.org/miracum/dqa/dqagui/-/compare/v0.2.3...398c544) ## v0.2.3 (2023-08-30) diff --git a/R/moduleDifferences.R b/R/moduleDifferences.R index b8027a5..0b33fd6 100644 --- a/R/moduleDifferences.R +++ b/R/moduleDifferences.R @@ -79,12 +79,12 @@ module_differences_server <- output$descr_description <- renderTable({ - head(summary_out, 50) + utils::head(summary_out, 50) }) # render source statistics output$descr_selection_source_table <- renderTable({ - head(source_out, 200) + utils::head(source_out, 200) } ) diff --git a/data-raw/devstuffs.R b/data-raw/devstuffs.R index 2731f0d..10c3d47 100644 --- a/data-raw/devstuffs.R +++ b/data-raw/devstuffs.R @@ -75,6 +75,7 @@ my_desc$write(file = "DESCRIPTION") # Imports usethis::use_package("data.table", type = "Imports") +usethis::use_package("utils", type = "Imports") usethis::use_package("magrittr", type = "Imports") # For date-restriction: usethis::use_package("daterangepicker", type = "Imports")