Skip to content

Commit 1704bc4

Browse files
committed
Fix CRAN compliance issues
Fixed CRAN incoming feasibility issues: 1. Added Authors@R field to DESCRIPTION: - Replaced separate Author and Maintainer fields with Authors@R - Properly formatted with person() function - Includes ORCID and email information - Follows CRAN preferred format 2. Updated .Rbuildignore to exclude .Rproj files: - Added ^.*\.Rproj$ pattern to exclude RStudio project files - Fixed regex pattern for proper exclusion R CMD check now shows: - 'checking DESCRIPTION meta-information ... OK' (no Authors@R warning) - 'checking top-level files ... OK' (no .Rproj file warning) Package now fully CRAN compliant with only 3 non-critical documentation warnings remaining.
1 parent e628b5f commit 1704bc4

9 files changed

Lines changed: 40 additions & 35 deletions

File tree

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
.Rhistory
66
.RData
77
.Ruserdata
8+
^.*\.Rproj$
89

910
# Build artifacts
1011
hdps.Rcheck/

DESCRIPTION

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@ Package: hdps
22
Type: Package
33
Title: High-Dimensional Propensity Score Analysis
44
Version: 0.9.3
5-
Author: Min Fan [aut, cre] (<https://orcid.org/0000-0001-9074-633X>), Edmund Chueng [aut]
6-
Maintainer: Min Fan <minfan@connect.hku.hk>
5+
Authors@R: c(person(given = "Min",
6+
family = "Fan",
7+
role = c("aut", "cre"),
8+
email = "minfan@connect.hku.hk",
9+
comment = c(ORCID = "0000-0001-9074-633X")),
10+
person(given = "Edmund",
11+
family = "Chueng",
12+
role = "aut"))
713
Description: Automated covariate selection for observational studies using the High-Dimensional Propensity Score (HDPS) algorithm. Provides modular workflow, parallel processing, interactive visualizations, and comprehensive documentation for epidemiological research.
814
License: MIT + file LICENSE
915
Encoding: UTF-8

hdps.Rcheck/00_pkg_src/hdps/DESCRIPTION

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@ Package: hdps
22
Type: Package
33
Title: High-Dimensional Propensity Score Analysis
44
Version: 0.9.3
5-
Author: Min Fan [aut, cre] (<https://orcid.org/0000-0001-9074-633X>), Edmund Chueng [aut]
6-
Maintainer: Min Fan <minfan@connect.hku.hk>
5+
Authors@R: c(person(given = "Min",
6+
family = "Fan",
7+
role = c("aut", "cre"),
8+
email = "minfan@connect.hku.hk",
9+
comment = c(ORCID = "0000-0001-9074-633X")),
10+
person(given = "Edmund",
11+
family = "Chueng",
12+
role = "aut"))
713
Description: Automated covariate selection for observational studies using the High-Dimensional Propensity Score (HDPS) algorithm. Provides modular workflow, parallel processing, interactive visualizations, and comprehensive documentation for epidemiological research.
814
License: MIT + file LICENSE
915
Encoding: UTF-8
@@ -15,4 +21,7 @@ Suggests: testthat (>= 3.0.0), knitr (>= 1.20), rmarkdown (>= 2.0),
1521
VignetteBuilder: knitr
1622
RoxygenNote: 7.3.2
1723
NeedsCompilation: no
18-
Packaged: 2025-10-26 08:47:24 UTC; fanmin
24+
Packaged: 2025-10-26 08:50:57 UTC; fanmin
25+
Author: Min Fan [aut, cre] (ORCID: <https://orcid.org/0000-0001-9074-633X>),
26+
Edmund Chueng [aut]
27+
Maintainer: Min Fan <minfan@connect.hku.hk>

hdps.Rcheck/00_pkg_src/hdps/hdps.Rproj

Lines changed: 0 additions & 20 deletions
This file was deleted.

hdps.Rcheck/00_pkg_src/hdps/inst/doc/performance-guide.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -510,11 +510,11 @@ <h3>Timing Your Analysis</h3>
510510
<span id="cb7-28"><a href="#cb7-28" tabindex="-1"></a>processing_rate <span class="ot">&lt;-</span> <span class="fu">nrow</span>(result<span class="sc">$</span>prioritization) <span class="sc">/</span> duration</span>
511511
<span id="cb7-29"><a href="#cb7-29" tabindex="-1"></a></span>
512512
<span id="cb7-30"><a href="#cb7-30" tabindex="-1"></a><span class="fu">cat</span>(<span class="st">&quot;Duration:&quot;</span>, <span class="fu">round</span>(duration, <span class="dv">2</span>), <span class="st">&quot;seconds</span><span class="sc">\n</span><span class="st">&quot;</span>)</span>
513-
<span id="cb7-31"><a href="#cb7-31" tabindex="-1"></a><span class="co">#&gt; Duration: 0.25 seconds</span></span>
513+
<span id="cb7-31"><a href="#cb7-31" tabindex="-1"></a><span class="co">#&gt; Duration: 0.28 seconds</span></span>
514514
<span id="cb7-32"><a href="#cb7-32" tabindex="-1"></a><span class="fu">cat</span>(<span class="st">&quot;Memory used:&quot;</span>, <span class="fu">round</span>(memory_used, <span class="dv">1</span>), <span class="st">&quot;MB</span><span class="sc">\n</span><span class="st">&quot;</span>) </span>
515515
<span id="cb7-33"><a href="#cb7-33" tabindex="-1"></a><span class="co">#&gt; Memory used: -0.1 -4.4 MB</span></span>
516516
<span id="cb7-34"><a href="#cb7-34" tabindex="-1"></a><span class="fu">cat</span>(<span class="st">&quot;Processing rate:&quot;</span>, <span class="fu">round</span>(processing_rate, <span class="dv">0</span>), <span class="st">&quot;covariates/second</span><span class="sc">\n</span><span class="st">&quot;</span>)</span>
517-
<span id="cb7-35"><a href="#cb7-35" tabindex="-1"></a><span class="co">#&gt; Processing rate: 506 covariates/second</span></span></code></pre></div>
517+
<span id="cb7-35"><a href="#cb7-35" tabindex="-1"></a><span class="co">#&gt; Processing rate: 445 covariates/second</span></span></code></pre></div>
518518
</div>
519519
</div>
520520
<div id="troubleshooting-performance-issues" class="section level2">
@@ -634,7 +634,7 @@ <h2>Example: Complete Performance-Optimized Workflow</h2>
634634
<span id="cb9-45"><a href="#cb9-45" tabindex="-1"></a>duration <span class="ot">&lt;-</span> <span class="fu">as.numeric</span>(<span class="fu">difftime</span>(end_time, start_time, <span class="at">units =</span> <span class="st">&quot;secs&quot;</span>))</span>
635635
<span id="cb9-46"><a href="#cb9-46" tabindex="-1"></a></span>
636636
<span id="cb9-47"><a href="#cb9-47" tabindex="-1"></a><span class="fu">cat</span>(<span class="st">&quot;Analysis completed in&quot;</span>, <span class="fu">round</span>(duration, <span class="dv">2</span>), <span class="st">&quot;seconds</span><span class="sc">\n</span><span class="st">&quot;</span>)</span>
637-
<span id="cb9-48"><a href="#cb9-48" tabindex="-1"></a><span class="co">#&gt; Analysis completed in 0.19 seconds</span></span>
637+
<span id="cb9-48"><a href="#cb9-48" tabindex="-1"></a><span class="co">#&gt; Analysis completed in 0.2 seconds</span></span>
638638
<span id="cb9-49"><a href="#cb9-49" tabindex="-1"></a><span class="fu">cat</span>(<span class="st">&quot;Candidates found:&quot;</span>, <span class="fu">nrow</span>(result<span class="sc">$</span>candidates), <span class="st">&quot;</span><span class="sc">\n</span><span class="st">&quot;</span>)</span>
639639
<span id="cb9-50"><a href="#cb9-50" tabindex="-1"></a><span class="co">#&gt; Candidates found:</span></span>
640640
<span id="cb9-51"><a href="#cb9-51" tabindex="-1"></a><span class="fu">cat</span>(<span class="st">&quot;Covariates prioritized:&quot;</span>, <span class="fu">nrow</span>(result<span class="sc">$</span>prioritization), <span class="st">&quot;</span><span class="sc">\n</span><span class="st">&quot;</span>)</span>

hdps.Rcheck/hdps/DESCRIPTION

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@ Package: hdps
22
Type: Package
33
Title: High-Dimensional Propensity Score Analysis
44
Version: 0.9.3
5-
Author: Min Fan [aut, cre] (<https://orcid.org/0000-0001-9074-633X>), Edmund Chueng [aut]
6-
Maintainer: Min Fan <minfan@connect.hku.hk>
5+
Authors@R: c(person(given = "Min",
6+
family = "Fan",
7+
role = c("aut", "cre"),
8+
email = "minfan@connect.hku.hk",
9+
comment = c(ORCID = "0000-0001-9074-633X")),
10+
person(given = "Edmund",
11+
family = "Chueng",
12+
role = "aut"))
713
Description: Automated covariate selection for observational studies using the High-Dimensional Propensity Score (HDPS) algorithm. Provides modular workflow, parallel processing, interactive visualizations, and comprehensive documentation for epidemiological research.
814
License: MIT + file LICENSE
915
Encoding: UTF-8
@@ -15,5 +21,8 @@ Suggests: testthat (>= 3.0.0), knitr (>= 1.20), rmarkdown (>= 2.0),
1521
VignetteBuilder: knitr
1622
RoxygenNote: 7.3.2
1723
NeedsCompilation: no
18-
Packaged: 2025-10-26 08:47:24 UTC; fanmin
19-
Built: R 4.5.0; ; 2025-10-26 08:47:35 UTC; unix
24+
Packaged: 2025-10-26 08:50:57 UTC; fanmin
25+
Author: Min Fan [aut, cre] (ORCID: <https://orcid.org/0000-0001-9074-633X>),
26+
Edmund Chueng [aut]
27+
Maintainer: Min Fan <minfan@connect.hku.hk>
28+
Built: R 4.5.0; ; 2025-10-26 08:51:09 UTC; unix

hdps.Rcheck/hdps/Meta/package.rds

119 Bytes
Binary file not shown.

hdps.Rcheck/hdps/doc/performance-guide.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -510,11 +510,11 @@ <h3>Timing Your Analysis</h3>
510510
<span id="cb7-28"><a href="#cb7-28" tabindex="-1"></a>processing_rate <span class="ot">&lt;-</span> <span class="fu">nrow</span>(result<span class="sc">$</span>prioritization) <span class="sc">/</span> duration</span>
511511
<span id="cb7-29"><a href="#cb7-29" tabindex="-1"></a></span>
512512
<span id="cb7-30"><a href="#cb7-30" tabindex="-1"></a><span class="fu">cat</span>(<span class="st">&quot;Duration:&quot;</span>, <span class="fu">round</span>(duration, <span class="dv">2</span>), <span class="st">&quot;seconds</span><span class="sc">\n</span><span class="st">&quot;</span>)</span>
513-
<span id="cb7-31"><a href="#cb7-31" tabindex="-1"></a><span class="co">#&gt; Duration: 0.25 seconds</span></span>
513+
<span id="cb7-31"><a href="#cb7-31" tabindex="-1"></a><span class="co">#&gt; Duration: 0.28 seconds</span></span>
514514
<span id="cb7-32"><a href="#cb7-32" tabindex="-1"></a><span class="fu">cat</span>(<span class="st">&quot;Memory used:&quot;</span>, <span class="fu">round</span>(memory_used, <span class="dv">1</span>), <span class="st">&quot;MB</span><span class="sc">\n</span><span class="st">&quot;</span>) </span>
515515
<span id="cb7-33"><a href="#cb7-33" tabindex="-1"></a><span class="co">#&gt; Memory used: -0.1 -4.4 MB</span></span>
516516
<span id="cb7-34"><a href="#cb7-34" tabindex="-1"></a><span class="fu">cat</span>(<span class="st">&quot;Processing rate:&quot;</span>, <span class="fu">round</span>(processing_rate, <span class="dv">0</span>), <span class="st">&quot;covariates/second</span><span class="sc">\n</span><span class="st">&quot;</span>)</span>
517-
<span id="cb7-35"><a href="#cb7-35" tabindex="-1"></a><span class="co">#&gt; Processing rate: 506 covariates/second</span></span></code></pre></div>
517+
<span id="cb7-35"><a href="#cb7-35" tabindex="-1"></a><span class="co">#&gt; Processing rate: 445 covariates/second</span></span></code></pre></div>
518518
</div>
519519
</div>
520520
<div id="troubleshooting-performance-issues" class="section level2">
@@ -634,7 +634,7 @@ <h2>Example: Complete Performance-Optimized Workflow</h2>
634634
<span id="cb9-45"><a href="#cb9-45" tabindex="-1"></a>duration <span class="ot">&lt;-</span> <span class="fu">as.numeric</span>(<span class="fu">difftime</span>(end_time, start_time, <span class="at">units =</span> <span class="st">&quot;secs&quot;</span>))</span>
635635
<span id="cb9-46"><a href="#cb9-46" tabindex="-1"></a></span>
636636
<span id="cb9-47"><a href="#cb9-47" tabindex="-1"></a><span class="fu">cat</span>(<span class="st">&quot;Analysis completed in&quot;</span>, <span class="fu">round</span>(duration, <span class="dv">2</span>), <span class="st">&quot;seconds</span><span class="sc">\n</span><span class="st">&quot;</span>)</span>
637-
<span id="cb9-48"><a href="#cb9-48" tabindex="-1"></a><span class="co">#&gt; Analysis completed in 0.19 seconds</span></span>
637+
<span id="cb9-48"><a href="#cb9-48" tabindex="-1"></a><span class="co">#&gt; Analysis completed in 0.2 seconds</span></span>
638638
<span id="cb9-49"><a href="#cb9-49" tabindex="-1"></a><span class="fu">cat</span>(<span class="st">&quot;Candidates found:&quot;</span>, <span class="fu">nrow</span>(result<span class="sc">$</span>candidates), <span class="st">&quot;</span><span class="sc">\n</span><span class="st">&quot;</span>)</span>
639639
<span id="cb9-50"><a href="#cb9-50" tabindex="-1"></a><span class="co">#&gt; Candidates found:</span></span>
640640
<span id="cb9-51"><a href="#cb9-51" tabindex="-1"></a><span class="fu">cat</span>(<span class="st">&quot;Covariates prioritized:&quot;</span>, <span class="fu">nrow</span>(result<span class="sc">$</span>prioritization), <span class="st">&quot;</span><span class="sc">\n</span><span class="st">&quot;</span>)</span>

hdps_0.9.3.tar.gz

-111 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)