-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path_updateModules_config.yaml
More file actions
206 lines (179 loc) · 6.25 KB
/
_updateModules_config.yaml
File metadata and controls
206 lines (179 loc) · 6.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
# Configuration file for _updateModules.R
# This file defines module settings, file mappings, and deployment parameters
# Usage: Rscript _updateModules.R [config_file]
# run /Applications/jamovi.app/Contents/MacOS/jamovi
# Rscript -e "jmvtools::prepare()"
# Rscript -e "devtools::document()"
# Rscript -e "devtools::load_all()"
# Rscript -e "devtools::check()"
# Rscript -e "pkgdown::build_site()"
# Rscript _updateModules.R
# ==============================================
# MOST FREQUENTLY CHANGED SETTINGS - EDIT HERE
# ==============================================
new_version: "0.0.37.10"
new_date: "2026-03-25"
quick: false
TEST: true
jjstatsplot: false
jsurvival: false
ClinicoPathDescriptives: false
OncoPath: false
meddecide: false
# ========================================
# DETAILED CONFIGURATION BELOW
# ========================================
# Global settings (for backward compatibility)
global:
base_repo_dir: "/Users/serdarbalci/Documents/GitHub/ClinicoPathJamoviModule"
# Operation modes (for backward compatibility)
modes:
check: false
extended: true
webpage: false
commit_modules: false
WIP: false
# File copying control modes
copy_vignettes: false # Enable/disable vignette file copying
copy_data_files: false # Enable/disable data file copying
copy_test_files: false # Enable/disable test file copying
copy_r_files: true # Enable/disable R utility file copying
use_legacy_copying: false # Use legacy hardcoded file lists instead of config-based copying
# NAMESPACE-DESCRIPTION synchronization
sync_namespace_description: true # Enable NAMESPACE to DESCRIPTION package synchronization
namespace_sync_dry_run: false # Perform dry run only (show what would be changed)
# Module directories (hardcoded for simplicity)
modules:
jjstatsplot:
directory: "/Users/serdarbalci/Documents/GitHub/jjstatsplot"
r_files:
- "utils.R"
meddecide:
directory: "/Users/serdarbalci/Documents/GitHub/meddecide"
r_files:
- "utils.R"
- "error_handling.R"
- "diagnostichelpers.R"
- "decisiongraph_utils.R"
- "psychopdaROC_utilities.R"
- "nomogrammer.R"
jsurvival:
directory: "/Users/serdarbalci/Documents/GitHub/jsurvival"
r_files:
- "utils.R"
- "diagnostichelpers.R"
- "survivalPower_distributions.R"
ClinicoPathDescriptives:
directory: "/Users/serdarbalci/Documents/GitHub/ClinicoPathDescriptives"
r_files:
- "utils.R"
OncoPath:
directory: "/Users/serdarbalci/Documents/GitHub/OncoPath"
r_files:
- "utils.R"
- "ihc_utilities.R"
- "stagemigration_helpers.R"
- "stagemigration-utils.R"
- "stagemigration-validation.R"
- "stagemigration-discrimination.R"
- "stagemigration-competing-risks.R"
JamoviTest:
directory: "/Users/serdarbalci/Documents/GitHub/JamoviTest"
enabled: false # Automatically enabled when TEST mode is active
test_patterns:
- "menuGroup: JJStatsPlotT$"
- "menuGroup: meddecideT$"
- "menuGroup: SurvivalT$"
- "menuGroup: ExplorationT$"
- "menuGroup: OncoPathT$"
data_files:
- "histopathology.rda"
r_files:
- "utils.R"
- "error_handling.R"
- "diagnostichelpers.R"
- "survivalPower_distributions.R"
- "decisiongraph_utils.R"
- "ihc_utilities.R"
- "psychopdaROC_utilities.R"
- "nomogrammer.R"
- "stagemigration_helpers.R"
- "stagemigration-utils.R"
- "stagemigration-validation.R"
- "stagemigration-discrimination.R"
- "stagemigration-competing-risks.R"
vignette_files: []
test_files: []
required_directories:
- "R"
- "jamovi"
# ========================================
# DETAILED CONFIGURATION BELOW
# ========================================
# Required packages for validation
required_packages:
- xfun
- fs
- jmvtools
- devtools
- purrr
- digest
- yaml
- future
# Vignette folder-to-module mapping
vignette_folders:
# Direct folder mapping (source folder -> target modules)
folder_mapping:
vignettes-ClinicoPathDescriptives: ["ClinicoPathDescriptives"]
vignettes-jjstatsplot: ["jjstatsplot"]
vignettes-meddecide: ["meddecide"]
vignettes-jsurvival: ["jsurvival"]
# vignettes: ["jjstatsplot", "meddecide", "jsurvival", "ClinicoPathDescriptives"] # General vignettes to all modules
# Special files that don't follow domain pattern (from vignettes/ folder)
special_files:
"use-jjstatsplot-in-R.Rmd": ["jjstatsplot"]
# "module-development-jamovi.Rmd": ["jjstatsplot", "meddecide", "jsurvival", "ClinicoPathDescriptives"]
# "users-of-clinicopath.Rmd": ["jjstatsplot", "meddecide", "jsurvival", "ClinicoPathDescriptives"]
# "pkgnet-report.Rmd": ["ClinicoPathDescriptives"]
# "_workflows.Rmd": ["jjstatsplot", "meddecide", "jsurvival", "ClinicoPathDescriptives"]
# "_wf_master.Rmd": ["jjstatsplot", "meddecide", "jsurvival", "ClinicoPathDescriptives"]
# "_wf_child.Rmd": ["jjstatsplot", "meddecide", "jsurvival", "ClinicoPathDescriptives"]
# Files to exclude from copying (internal or temporary files)
exclude_patterns:
- "*-legacy.Rmd" # Legacy vignettes
- "test-*.Rmd" # Test vignettes
- "temp-*.Rmd" # Temporary vignettes
- "draft-*.Rmd" # Draft vignettes
- ".*\\.tmp\\." # Temporary files
# File extensions to process
extensions: [".qmd", ".Rmd", ".md"]
# Copy mode settings
copy_settings:
use_folder_based: true # Enable folder-based copying
use_manual_lists: false # Use manual vignette_files lists
include_general: false # Copy general vignettes folder to all modules
overwrite_existing: true # Overwrite existing vignette files
create_directories: true # Create vignette directories if missing
# File extensions to copy for jamovi modules
jamovi_extensions:
- ".b.R"
- ".a.yaml"
- ".r.yaml"
- ".u.yaml"
- ".js" # JavaScript event files
- ".html" # HTML content files
# Security settings
security:
validate_paths: true
verify_checksums: true
max_file_size_mb: 100
# Performance settings
performance:
parallel_processing: false
max_workers: 4
incremental_updates: true
# Backup settings
backup:
enabled: true
retention_days: 10
backup_location: "backups"