-
Notifications
You must be signed in to change notification settings - Fork 1
docs: add documentation #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Add documentation for ACRO and SACRO tools with features and installation instructions. Signed-off-by: Jessica Ikechukwu <Jessica.Ikechukwu@uwe.ac.uk>
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 <Jessica.Ikechukwu@uwe.ac.uk>
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 <Jessica.Ikechukwu@uwe.ac.uk>
This file provides an overview of the ACRO-R package, its purpose, usage, and acknowledgments. Signed-off-by: Jessica Ikechukwu <Jessica.Ikechukwu@uwe.ac.uk>
Added examples and tutorials for using ACRO in R. Signed-off-by: Jessica Ikechukwu <Jessica.Ikechukwu@uwe.ac.uk>
Signed-off-by: Jessica Ikechukwu <Jessica.Ikechukwu@uwe.ac.uk>
Created a figures folder to hold the SACRO_Logo within the Man folder Signed-off-by: Jessica Ikechukwu <Jessica.Ikechukwu@uwe.ac.uk>
Added light-switch feature and updated navbar structure. Signed-off-by: Jessica Ikechukwu <Jessica.Ikechukwu@uwe.ac.uk>
Created vanilla CSS and JS files to style the documentation page and lightswitch feature. Signed-off-by: Jessica Ikechukwu <Jessica.Ikechukwu@uwe.ac.uk>
Removed concurrency restrictions and environment variables from pkgdown workflow. Signed-off-by: Jessica Ikechukwu <Jessica.Ikechukwu@uwe.ac.uk>
Updated the link for SACRO-Viewer documentation. Signed-off-by: Jessica Ikechukwu <Jessica.Ikechukwu@uwe.ac.uk>
Signed-off-by: Jessica Ikechukwu <Jessica.Ikechukwu@uwe.ac.uk>
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 <Jessica.Ikechukwu@uwe.ac.uk>
Signed-off-by: Jessica Ikechukwu <Jessica.Ikechukwu@uwe.ac.uk>
|
@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 <Jessica.Ikechukwu@uwe.ac.uk>
|
@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 <Jessica.Ikechukwu@uwe.ac.uk>
rpreen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <Jessica.Ikechukwu@uwe.ac.uk>
Signed-off-by: Jessica Ikechukwu <Jessica.Ikechukwu@uwe.ac.uk>
|
Looking... it seems to be that the test for Please:
|
Signed-off-by: Jessica Ikechukwu <Jessica.Ikechukwu@uwe.ac.uk>
Added https to the SACRO-ML link Signed-off-by: Jessica Ikechukwu <Jessica.Ikechukwu@uwe.ac.uk>
…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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rpreen ya done!
Signed-off-by: Jessica Ikechukwu <Jessica.Ikechukwu@uwe.ac.uk>
Signed-off-by: Jessica Ikechukwu <Jessica.Ikechukwu@uwe.ac.uk>
I've removed the - name: Install Python ACRO step that was running python -m pip install acro Signed-off-by: Jessica Ikechukwu <Jessica.Ikechukwu@uwe.ac.uk>
|
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: