From 9dcb371480497e5906c8c9284e5342225bdf2e28 Mon Sep 17 00:00:00 2001 From: vertesy Date: Wed, 23 Oct 2024 23:53:57 +0200 Subject: [PATCH] ... --- Development/Create_the_MarkdownReports_Package.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Development/Create_the_MarkdownReports_Package.R b/Development/Create_the_MarkdownReports_Package.R index 6925f98..0dec981 100644 --- a/Development/Create_the_MarkdownReports_Package.R +++ b/Development/Create_the_MarkdownReports_Package.R @@ -67,7 +67,7 @@ PackageTools::extract_package_dependencies(repository.dir) devtools::load_all("~/GitHub/Packages/PackageTools/") if (F) { (excluded.packages <- unlist(strsplit(DESCRIPTION$'depends', split = ", "))) - (ls.scripts.full.path <- list.files(file.path(repository.dir, "R"), full.names = T)) + (ls.scripts.full.path <- list.files(file.path(repository.dir, "R"), full.names = T, pattern = .R$, pattern = .R$)) for (scriptX in ls.scripts.full.path) { PackageTools::add_importFrom_statements(scriptX, exclude_packages = excluded.packages) }