Skip to content
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

Closes #2593 feat: Add my_first_fcn to welcome new users #2593

Closed
wants to merge 7 commits into from

Conversation

luenhchang
Copy link
Collaborator

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.

Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the main branch until you have checked off each task.

  • Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
  • Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
  • Updated relevant unit tests or have written new unit tests, which should consider realistic data scenarios and edge cases, e.g. empty datasets, errors, boundary cases etc. - See Unit Test Guide
  • If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
  • Review the Cheat Sheet. Make any required updates to it by editing the file inst/cheatsheet/admiral_cheatsheet.pptx and re-upload a PDF and a PNG version of it to the same folder. (The PNG version can be created by taking a screenshot of the PDF version.)
  • Update to all relevant roxygen headers and examples, including keywords and families. Refer to the categorization of functions to tag appropriate keyword/family.
  • Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
  • Address any updates needed for vignettes and/or templates
  • Update NEWS.md under the header # admiral (development version) if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers). A Developer Notes section is available in NEWS.md for tracking developer-facing issues.
  • Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
  • Address or fix all lintr warnings and errors - lintr::lint_package()
  • Run R CMD check locally and address all errors and warnings - devtools::check()
  • Link the issue in the Development Section on the right hand side.
  • Address all merge conflicts and resolve appropriately
  • Pat yourself on the back for a job well done! Much love to your accomplishment!

- Create new function my_first_fcn()
- Add corresponding test
- Resolves #1839
Copy link

github-actions bot commented Dec 4, 2024

Code Coverage

Package Line Rate Health
admiral 98%
Summary 98% (5187 / 5300)

@luenhchang luenhchang changed the title feat: Add my_first_fcn to welcome new users Closes #2593 feat: Add my_first_fcn to welcome new users Dec 5, 2024
@bms63
Copy link
Collaborator

bms63 commented Dec 6, 2024

Hi @luenhchang welcome!! Can you fix the documentation action please?

It is good to work through the checklist - let me know if you have any questions. Here is our programming strategy - if you are looking for some lite reading this weekend :) https://pharmaverse.github.io/admiraldev/dev/articles/programming_strategy.htm

@bms63
Copy link
Collaborator

bms63 commented Dec 6, 2024

Please put in a NEws.md entry as well to test things out :)

@bms63 bms63 self-requested a review December 6, 2024 13:12
@luenhchang
Copy link
Collaborator Author

Hi @luenhchang welcome!! Can you fix the documentation action please?

It is good to work through the checklist - let me know if you have any questions. Here is our programming strategy - if you are looking for some lite reading this weekend :) https://pharmaverse.github.io/admiraldev/dev/articles/programming_strategy.htm

Hi @bms63
Can you let me know what documentation action to be fixed? The link https://pharmaverse.github.io/admiraldev/dev/articles/programming_strategy.htm is not working

Thanks

@luenhchang
Copy link
Collaborator Author

Please put in a NEws.md entry as well to test things out :)

Hi @bms63,

I’ve reviewed the NEWS.md file in admiral-development/admiral and noticed that the entries seem to follow a specific format. Could you please point me to any guidelines or documentation outlining this format?

Thank you!

@bms63
Copy link
Collaborator

bms63 commented Dec 10, 2024

Not a lot of guidance on making a News entry.

We always link the issue at the end of the entry e.g.

Be sure to place the entry in the relevant sections: New Features, Updates of Existing Functions, Breaking Changes, Documentation

We have a little hidden dev section for documenting big changes or things we want to track.

Keep it short and informative. The News.md can get quite long if we are not careful.

@bms63
Copy link
Collaborator

bms63 commented Dec 10, 2024

Hi @luenhchang welcome!! Can you fix the documentation action please?
It is good to work through the checklist - let me know if you have any questions. Here is our programming strategy - if you are looking for some lite reading this weekend :) https://pharmaverse.github.io/admiraldev/dev/articles/programming_strategy.htm

Hi @bms63 Can you let me know what documentation action to be fixed? The link https://pharmaverse.github.io/admiraldev/dev/articles/programming_strategy.htm is not working

Thanks

this one
image
use devtools::document()

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@luenhchang your test will keep failing as your function produces something slightly different than what you are testing
image

@bms63
Copy link
Collaborator

bms63 commented Dec 16, 2024

Hi @luenhchang - going to close this PR EOD unless I hear from you. Can always reopen when you have time to complete again.

@bms63 bms63 closed this Dec 17, 2024
@luenhchang
Copy link
Collaborator Author

@bms63
Just to confirm, I have made the following changes in this PR:

  1. Updated the message in R/my_first_fcn.R from "Welcome to admiral!" to "Welcome to the admiral family!".
  2. The associated .Rd documentation in man/my_first_fcn.Rd has been updated accordingly.

@bms63 bms63 reopened this Dec 18, 2024
@bms63
Copy link
Collaborator

bms63 commented Dec 18, 2024

Yay! now to fix the spelling issue! Be sure to review these CIs each time you push up a change while in a Pull Request
image

@luenhchang
Copy link
Collaborator Author

@bms63
I have added the word "onboarding" to the inst/WORDLIST file and pushed the changes to the branch. Please let me know if anything else is needed or if you'd like me to make further adjustments.

@bms63
Copy link
Collaborator

bms63 commented Dec 19, 2024

Looks awesome! How do you feel about working on this issue #2551

It is just restructuring the files so easier to find? Will help get you familiar with admiral conventions and where things are located.

@bms63 bms63 closed this Dec 19, 2024
@luenhchang
Copy link
Collaborator Author

Looks awesome! How do you feel about working on this issue #2551

It is just restructuring the files so easier to find? Will help get you familiar with admiral conventions and where things are located.

@bms63
I’d be happy to give it a try! Should I coordinate with jeffreyad, since it looks like he self-assigned the issue about 4 hours after your comment?

@bms63
Copy link
Collaborator

bms63 commented Dec 19, 2024

Yes! @jeffreyad could @luenhchang take over your issue #2551 ?

@jeffreyad
Copy link
Collaborator

Yes! @jeffreyad could @luenhchang take over your issue #2551 ?

Sure! I haven't done anything for that yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DUMMY ISSUE FOR ONBOARDING
3 participants