From 4e7967bdaea60f0719d5db8615ff72ea0f8b7cc8 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Fri, 6 Oct 2023 20:13:09 +0200 Subject: [PATCH] not needed; moved to easystats/.dev --- .dev/copy_files_to_other_repos.R | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 .dev/copy_files_to_other_repos.R diff --git a/.dev/copy_files_to_other_repos.R b/.dev/copy_files_to_other_repos.R deleted file mode 100644 index 2239f7314..000000000 --- a/.dev/copy_files_to_other_repos.R +++ /dev/null @@ -1,23 +0,0 @@ - -library(here) -library(magrittr) -library(fs) -library(purrr) - -home_dir <- here::dr_here() - -common_root <- here::here("Documents", "GitHub") - -pkg_with_change <- "datawizard" -pkg_without_change <- easystats:::.packages_on_cran() %>% setdiff(pkg_with_change) - -copy_from_folder <- map_chr(pkg_with_change, ~here::here(common_root, .x, ".github", "workflows")) -copy_to_folders <- map_chr(pkg_without_change, ~here::here(common_root, .x, ".github", "workflows")) - -file_name <- "R-CMD-check-strict.yaml" - -purrr::walk2( - .x = here::here(copy_from_folder, file_name), - .y = here::here(copy_to_folders, file_name), - .f = ~ fs::file_copy(.x, .y, overwrite = TRUE), -)