Conversation
Add documentation for ACRO and SACRO tools with features and installation instructions. Signed-off-by: Jessica Ikechukwu <[email protected]>
Updated the installation guide to include installation instructions for the ACRO package from CRAN and GitHub, along with core features and prerequisites. Signed-off-by: Jessica Ikechukwu <[email protected]>
This document outlines the capabilities of ACRO, including supported data analysis functions, programming languages, disclosure control features, and integration capabilities. Signed-off-by: Jessica Ikechukwu <[email protected]>
This file provides an overview of the ACRO-R package, its purpose, usage, and acknowledgments. Signed-off-by: Jessica Ikechukwu <[email protected]>
Added examples and tutorials for using ACRO in R. Signed-off-by: Jessica Ikechukwu <[email protected]>
Signed-off-by: Jessica Ikechukwu <[email protected]>
Created a figures folder to hold the SACRO_Logo within the Man folder Signed-off-by: Jessica Ikechukwu <[email protected]>
Added light-switch feature and updated navbar structure. Signed-off-by: Jessica Ikechukwu <[email protected]>
Created vanilla CSS and JS files to style the documentation page and lightswitch feature. Signed-off-by: Jessica Ikechukwu <[email protected]>
Removed concurrency restrictions and environment variables from pkgdown workflow. Signed-off-by: Jessica Ikechukwu <[email protected]>
Updated the link for SACRO-Viewer documentation. Signed-off-by: Jessica Ikechukwu <[email protected]>
Signed-off-by: Jessica Ikechukwu <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #30 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 5 5
Lines 102 107 +5
=========================================
+ Hits 102 107 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Removed PDF reports and HTML summaries from output formats. Signed-off-by: Jessica Ikechukwu <[email protected]>
Signed-off-by: Jessica Ikechukwu <[email protected]>
|
@JessUWE the package repository CRAN won't accept having many files in the root directory - they need to be in a directory called "inst" |
Fix merging issues and CRAN
…ut management. Fixed broken links to documentation; ACRO.sacro-tools.org SACRO-ML.sacro-tools.org ACRO-R.sacro-tools.org SACRO-Viewer.sacro-tools.org
Signed-off-by: Jessica Ikechukwu <[email protected]>
|
@rpreen Can you check please? |
…te DESCRIPTION for Roxygen version Update pre-commit configuration, fix links in documentation, and update DESCRIPTION for Roxygen version
…pt files in the documentation.
…pt files in the documentation.
Updated Python version requirement from 3.8 to 3.10. Signed-off-by: Jessica Ikechukwu <[email protected]>
rpreen
left a comment
There was a problem hiding this comment.
Looks like there are a lot of files in here that shouldn't be:
.vscode/- I don't think editor configs belong in this repovignettes/contains .swp files that should be removed - add .swp to gitignore.Rdatais a binary file - why is it needed?docs/contains a lot of html files - are we expected to edit/maintain these? if they are generated then why aren't they created and pushed to the gh-pages branch?
|
The errors and warnings in the R-CMD-check runners need to be addressed. Things that CRAN should ignore need to be added to These may go away if these files are ignored by CRAN, but otherwise I believe the words need to get added to the ignore file |
@rpreen Yes, I can do that. Hopefully, it will help. I’ve been dealing with several errors in Acro-R since I downloaded it. It’s quite different from a regular Python project. Could you please review the content when you have time? It will be going live soon, and I’d like to finalize everything by tomorrow if possible. |
Signed-off-by: Jessica Ikechukwu <[email protected]>
Signed-off-by: Jessica Ikechukwu <[email protected]>
|
Looking... it seems to be that the test for Please:
|
Signed-off-by: Jessica Ikechukwu <[email protected]>
Added https to the SACRO-ML link Signed-off-by: Jessica Ikechukwu <[email protected]>
…nd acro_custom_output
@rpreen I think everything has passed now. However, I had to replace skip_on_ci() with skip_on_cran() in the file, which was why it wasn’t working before. It should be fine now. Could I please ask why we’re moving the NEWS.md file back to the root folder? I thought it was supposed to be organized according to CRAN standards. |
It is standard practice to place LICENSE, README, and CHANGELOG files such as |
.github/workflows/R-CMD-check.yaml
Outdated
| uses: actions/checkout@v4 | ||
| - name: Setup Python | ||
| uses: actions/setup-python@v6 | ||
| uses: actions/setup-python@v5 |
There was a problem hiding this comment.
You've downgraded the setup-python action from v6 to v5 - is this necessary because we will need to watch for the bot attempting to autoupdate it later?
@rpreen I understand the purpose of the license, README, and changelog files. I was just curious about the NEWS.md file maybe because it’s an R project, I expected it to contain more, so it looked a bit unusual to me, which is why I asked. But it has now been moved to the root folder |
| nursery_data$recommend[which(nursery_data$recommend == "priority")] <- "3" | ||
| nursery_data$recommend[which(nursery_data$recommend == "spec_prior")] <- "4" | ||
| nursery_data$recommend <- as.numeric(nursery_data$recommend) | ||
|
|
There was a problem hiding this comment.
Is there a reason for removing the blank lines between functions in test-acro_glm.R because it's harder to read now? All the other test files follow the convention of having a blank line between them.
Since there are no other changes to this file, I suggest reverting the file completely.
.github/workflows/R-CMD-check.yaml
Outdated
| r-version: ${{ matrix.r }} | ||
|
|
||
| - name: Install Python ACRO | ||
| run: python -m pip install acro |
There was a problem hiding this comment.
I'm not sure that this is necessary to add on the CI because reticulate is installing the Python package in the virtual environment that is used.
There was a problem hiding this comment.
@rpreen done! Sorry it took time, had errors and had to do a weird reversal on the code!
There was a problem hiding this comment.
Can you quickly just try removing the pip install acro from the yaml file too? I believe that is doing a system install but reticulate uses its own virtual environment so it's not needed.
Signed-off-by: Jessica Ikechukwu <[email protected]>
Signed-off-by: Jessica Ikechukwu <[email protected]>
I've removed the - name: Install Python ACRO step that was running python -m pip install acro Signed-off-by: Jessica Ikechukwu <[email protected]>
|
thanks, lgtm |
@JessUWE this adds quite a few markdown files to the root directory - could they be moved to a docs folder?
Pre-commit needs to be run to clean up.
This warning needs to be fixed:
I think changing the
R-CMD-check.yamlas follows might fix it:FROM:
TO: