-
Notifications
You must be signed in to change notification settings - Fork 0
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
Misc cleanup #52
Misc cleanup #52
Conversation
Thanks so much, this is very helpful! I will check it out in more detail later. |
If possible, could you approve the CI run, so that I can fix any problems I didn't encounter locally ahead of your review? I also tried to separate as much as possible each step in a commit with a descriptive name. Edit: the check passes. However, there is a Note * checking R code for possible problems ... NOTE
Error: Error in attr(e, "srcref")[[i]] : subscript out of bounds
Calls: <Anonymous> ... <Anonymous> -> collectUsage -> collectUsageFun -> walkCode -> h
Execution halted
debit_map_seq: Error while checking: subscript out of bounds
debit_map_total_n: Error while checking: subscript out of bounds
grim_map_seq: Error while checking: subscript out of bounds
grim_map_total_n: Error while checking: subscript out of bounds
grimmer_map_seq: Error while checking: subscript out of bounds
grimmer_map_total_n: Error while checking: subscript out of bounds If you have an idea of where this comes from and how to fix, I will be happy to check it out! |
Merged the PR. Thank you again for your detailed work, @olivroy! The workflow setup used to be a bit messy because I mixed several usethis functions for Github Actions, then scrambled to fix build failures. Your new setup looks much cleaner. I didn't get this note on my machine, but it seems to be related to one of the function factories. (All functions listed in the note were created by either |
Of course, feel free to ping me if I broke anything or if you want something reverted. I don't want to do more harm than good! Also, I saw a .Rprofile and a .Rproj file under the You can always get the latest version of an action by calling |
fixes #45
You do not need to have that many workflows. To add gh actions to your package can be done by calling
usethis::use_github_action()
.You don't need
load_all()
in README.Rmd. You can rundevtools::build_readme()
to re-render README.You also do not need
For the single vignette that requires
load_all()
, I added pkgload to Suggests. (devtools::load_all() only re-exportspkgload::load_all()
.On top of that, I included minor tests lints. and namespacing in vignettes.
Cheers!