-
Notifications
You must be signed in to change notification settings - Fork 45
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
Clean up repo #30
Clean up repo #30
Conversation
commit 3c3c4c53588b390f7ca8d5c78d5dff5cae7dc5ec Author: Mauricio Caceres <mauricio.caceres.bravo@gmail.com> Date: Wed Apr 5 14:53:19 2023 -0400 More explicit calls commit 9d01fe1 Author: Mauricio Caceres <mauricio.caceres.bravo@gmail.com> Date: Sat Apr 1 20:58:22 2023 -0400 Re-compiled from R studio; closes asheshrambachan#24 commit b8cf9f2 Author: Mauricio Caceres <mauricio.caceres.bravo@gmail.com> Date: Sat Apr 1 20:42:14 2023 -0400 Added explicit calls to built-ins
commit b9d8af8 Author: Mauricio Caceres <mauricio.caceres.bravo@gmail.com> Date: Thu May 11 01:07:47 2023 -0400 Moved intro of staggered example into README commit 02b541b Author: Mauricio Caceres <mauricio.caceres.bravo@gmail.com> Date: Thu May 11 01:01:11 2023 -0400 Fixed potential integer overflow commit b4767b7 Author: Mauricio Caceres <mauricio.caceres.bravo@gmail.com> Date: Thu May 11 00:56:23 2023 -0400 Cleaned and moved honest_did function to own file
- Added matrixStats to Imports - Deleted ROI - Renamed doc -> vignettes - .compute_IDset_DeltaRMB_fixedS: biasDrection -> biasDirection - .create_A_M: A_I -> A_M - DeltaSD_upperBound_Mpre: stata -> stats - Changed title to Title Case - https://jonathandroth.github.io -> https://www.jonathandroth.com/ - Aligned man files with function definitions: - findOptimalFLCI - createSensitivityResults_relativeMagnitudes - computeConditionalCS_DeltaSDRMB - computeConditionalCS_DeltaSDM - computeConditionalCS_DeltaSDB - computeConditionalCS_DeltaSD - Added deltaSD.png, README to .Rbuildignore - Added VignetteBuilder and knitr to DESCRIPTION
|
@asheshrambachan @jonathandroth Since both are imported from foreach I'll just make doParallel a suggested package instead of required. I'll also delete the placeholder keywords for now. So if there's nothing else I'll implement those changes and merge the PR tomorrow (traveling rn). After that it should be set for CRAN (unless you want to add tests). |
@asheshrambachan @jonathandroth Done! I also updated the manual ( |
Just wanted to follow up on the status of preparing this for CRAN. Is the package ready to go to CRAN? Or is there something we're waiting on? If it's ready, we should submit it! |
It should be ready. |
@jonathandroth Just checking in in case you were waiting for me? I believe Ashesh has to submit the package, tho. See here.
|
Thanks @mcaceresb! I didn't realize I had to submit the package. I'll do it this weekend and let you know if I run into any issues. |
@asheshrambachan I haven't submitted a CRAN package before. It looks to me that the package maintainer has to submit but if that wasn't the case LMK for future reference. |
Did you submit this Ashesh?
…On Fri, Jul 7, 2023 at 7:29 PM Mauricio Caceres Bravo < ***@***.***> wrote:
@asheshrambachan <https://github.com/asheshrambachan> I haven't submitted
a CRAN package before. It looks to me that the package maintainer has to
submit but if that wasn't the case LMK for future reference.
—
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFGWDD3EW7SUHIJZQTDXPCLT3ANCNFSM6AAAAAAYIZUXYM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
?
…On Tue, Jul 11, 2023 at 10:04 AM Jonathan Roth ***@***.***> wrote:
Did you submit this Ashesh?
On Fri, Jul 7, 2023 at 7:29 PM Mauricio Caceres Bravo <
***@***.***> wrote:
> @asheshrambachan <https://github.com/asheshrambachan> I haven't
> submitted a CRAN package before. It looks to me that the package maintainer
> has to submit but if that wasn't the case LMK for future reference.
>
> —
> Reply to this email directly, view it on GitHub
> <#30 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AE6EXFGWDD3EW7SUHIJZQTDXPCLT3ANCNFSM6AAAAAAYIZUXYM>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Thanks for the reminder! I started the process of submitting the package. As part of the submission, we have to run some checks to see if there any "bad practices" in the package's implementation -- this just involves running @mcaceresb when I ran this check, I got the following three notes in the screenshot below: The CRAN policy also says "If there are warnings or notes you cannot eliminate (for example because you believe them to be spurious) send an explanatory note as part of your covering email, or as a comment on the submission form." So if we can't fix them, then we can just include an explanatory note in the comment on the submission. |
@asheshrambachan Right so let's take these issues in turn:
|
Thanks @mcaceresb! On the issues:
Let me know when you made those two changes and I will submit! |
Fantastic, thank you both!
…On Fri, Jul 21, 2023 at 3:56 PM Ashesh Rambachan ***@***.***> wrote:
Thanks @mcaceresb <https://github.com/mcaceresb>! On the issues:
1. Yes, I think it's easiest to just get rid of doParallel as the
suggested package at this point.
2. Yes, let's go ahead and delete the manual. We never really directed
users towards it, and I think we can safely remove given the detailed
vignette we now have.
3. Got it -- that makes sense. Per my post here
<#30 (comment)>,
we can provide an explanatory note with the submission so I can mention
that we are aware of this note and it does not affect the running of the
package.
Let me know when you made those two changes and I will submit!
—
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFCWIYBWFF7HTHRA6G3XRLNFHANCNFSM6AAAAAAYIZUXYM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@asheshrambachan Done in #35; LMK if it fixes the issues. |
Thanks @mcaceresb! I think the issues are fixed. The only one that remains is the It looks like the CRAN submissions are offline until Aug 7th due to maintenance work (see screenshot). I'll come back and submit the package when it's back online. |
Good thing you don't have anything going on between now and Aug 7, Ashesh :)
…On Sat, Jul 22, 2023 at 12:03 PM Ashesh Rambachan ***@***.***> wrote:
Thanks @mcaceresb <https://github.com/mcaceresb>! I think the issues are
fixed. The only one that remains is the no visible binding:dplyr but I'll
include a note with the submission.
It looks like the CRAN submissions are offline until Aug 7th due to
maintenance work (see screenshot). I'll come back and submit the package
when it's back online.
[image: Screenshot 2023-07-22 at 11 53 36 AM]
<https://user-images.githubusercontent.com/29416461/255338887-f257d839-c42e-4fac-920d-986102ebaefb.png>
—
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFAQZ2MYZHGG3TQCU5TXRP2V3ANCNFSM6AAAAAAYIZUXYM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Word, thanks!
…On Mon, Aug 14, 2023, 8:24 AM Ashesh Rambachan ***@***.***> wrote:
Submitted this morning! Let's see what happens.
[image: Screenshot 2023-08-14 at 8 23 56 AM]
<https://user-images.githubusercontent.com/29416461/260446271-742bf25f-2fe0-4b8b-b652-79dd7cc29e3a.png>
—
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFBYFUWYYG7WQEQT24TXVIKH5ANCNFSM6AAAAAAYIZUXYM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@mcaceresb the CRAN maintainers say we need to address the |
Addressed in #40. |
Pull Request follow-up for #30: Take care of undefined globals warning
Thanks @mcaceresb! |
Thanks both!
…On Thu, Aug 24, 2023, 7:53 PM Ashesh Rambachan ***@***.***> wrote:
Thanks @mcaceresb <https://github.com/mcaceresb>!
Resubmitted to CRAN.
[image: Screenshot 2023-08-24 at 7 52 34 PM]
<https://user-images.githubusercontent.com/29416461/263130942-e90998d4-f382-4bad-8257-7410952fec59.png>
—
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFCVQHYRY7VJCTNDPBLXW7SQDANCNFSM6AAAAAAYIZUXYM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Boy, they are sticklers!
Mauricio, might you have some RA time this semester to do the final
clean-up on this?
…On Thu, Aug 31, 2023 at 4:08 PM Ashesh Rambachan ***@***.***> wrote:
Got the following feedback from CRAN. Nothing seems like it would be major
to fix.
[image: Screenshot 2023-08-31 at 4 07 26 PM]
<https://user-images.githubusercontent.com/29416461/264768812-4026329d-7f51-45a1-b878-8db4bfc8d5bf.png>
—
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFB45NBF3M6XOIBQPGDXYDVLTANCNFSM6AAAAAAYIZUXYM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@jonathandroth @asheshrambachan I should be able to get to this next week when the semester starts. I have no idea what the first one means, but hopefully it ends up being documented somewhere. The rest I understand (though they seem to be using some type of linter; they ought to just make that part of the submission process I think instead of manual back and forth). Anyway, I take it you don't have very strong feelings about what examples I give in the .Rd files? |
Sounds great, thanks Mauricio!
…On Thu, Aug 31, 2023, 6:05 PM Mauricio Caceres Bravo < ***@***.***> wrote:
@jonathandroth <https://github.com/jonathandroth> @asheshrambachan
<https://github.com/asheshrambachan> I should be able to get to this next
week when the semester starts.
I have no idea what the first one means, but hopefully it ends up being
documented somewhere. The rest I understand (though they seem to be using
some type of linter; they ought to just make that part of the submission
process I think instead of manual back and forth).
Anyway, I take it you don't have very strong feelings about what examples
I give in the .Rd files?
—
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFFDGGKC3XRS3H4VBM3XYEDCTANCNFSM6AAAAAAYIZUXYM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@jonathandroth @asheshrambachan I started to answer everything here in #42. Just need to add examples to each .Rd file. In the meantime:
|
Both look fine to me!
…On Mon, Sep 11, 2023 at 9:50 PM Mauricio Caceres Bravo < ***@***.***> wrote:
@jonathandroth <https://github.com/jonathandroth> @asheshrambachan
<https://github.com/asheshrambachan> I started to answer everything here
<#30 (comment)>
in #42 <#42>. Just need
to add examples to each .Rd file.
In the meantime:
- Can you check the description here
<https://github.com/asheshrambachan/HonestDiD/blob/c795623af9a60a752edfa7ca3af12b62791d4210/man/constructOriginalCS.Rd#L37-L50>
is OK?
- I gave both of you author and copyright and Ashesh maintainer in the
***@***.*** field. If there's a different configuration I should use LMK.
—
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFBDG4U5VZWNN2XDYULXZ65XNANCNFSM6AAAAAAYIZUXYM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
* Added 'value' to man/constructOriginalCS.Rd * Closed [ in description * Changed all T/F to TRUE/FALSE * Removed all standardtext from .Rd files * Give Ashesh and Jon author and copyright; Ashesh creator/maintainer * Added simple examples for main user funs * Minor fix * Reference vignette name directly in simple examples * Direct users to github README in help files
* Added basic tests * Fixed minor typo; fixed tests * Added pandoc to gh actions * Still trying pandoc * Still trying pandoc * Still trying pandoc (typo) * Added latex * Debugging missing extra packages * Moved lfe install to test script * Moved lfe install to test script (debugging) * Added testthat * Added haven for some reason * Gave up and added lfe to recomended packages (for test) * #42 Fxied line lengths * #42 Shortened various lines; changed Delta^{XX} -> DeltaXX * #42 changed Delta^{...} -> \eqn{\Delta^{...}} * #42 Bumped version; fix example bug * #42 Bumped version; fix example bug; fix .Rbuildignore * #42 Removed inherit params from honest_did
* Added basic tests * Fixed minor typo; fixed tests * Added pandoc to gh actions * Still trying pandoc * Still trying pandoc * Still trying pandoc (typo) * Added latex * Debugging missing extra packages * Moved lfe install to test script * Moved lfe install to test script (debugging) * Added testthat * Added haven for some reason * Gave up and added lfe to recomended packages (for test) * Set long examples to donotrun; saved pre-computed vignette data * Remove precompute from R build * Tests only run conditional on environment variable * Fix gh workflow typo * Added missing VignetteResults.rdafile * Fixed astray math in rd file * Run tests only on linux * Added MacOSX tests * Debugging OSX * Debugging OSX v2 * Debugging OSX v3 * Added title to sunab fun description
* Added basic tests * Fixed minor typo; fixed tests * Added pandoc to gh actions * Still trying pandoc * Still trying pandoc * Still trying pandoc (typo) * Added latex * Debugging missing extra packages * Moved lfe install to test script * Moved lfe install to test script (debugging) * Added testthat * Added haven for some reason * Gave up and added lfe to recomended packages (for test) * Deleted all Vignette references * Link old vignette from README
* Added basic tests * Fixed minor typo; fixed tests * Added pandoc to gh actions * Still trying pandoc * Still trying pandoc * Still trying pandoc (typo) * Added latex * Debugging missing extra packages * Moved lfe install to test script * Moved lfe install to test script (debugging) * Added testthat * Added haven for some reason * Gave up and added lfe to recomended packages (for test) * Formatted citation -> added DOI; dontrun -> donttest
* Added basic tests * Fixed minor typo; fixed tests * Added pandoc to gh actions * Still trying pandoc * Still trying pandoc * Still trying pandoc (typo) * Added latex * Debugging missing extra packages * Moved lfe install to test script * Moved lfe install to test script (debugging) * Added testthat * Added haven for some reason * Gave up and added lfe to recomended packages (for test) * Reset random seed, if it exists, after createSensitivityResults*() * Make internal seed user-accessible * Added seed option to function docs * Added seed option to function docs (v2)
The branch cleans up the repo so it can be submitted to CRAN (passes
R CMD check --as-cran
). Changes are:@asheshrambachan @jonathandroth Questions
When I run the CRAN checks I get this note:
Namespace in Imports field not imported from: ‘doParallel’
. It might be ignorable, but I'm trying to figure out where doParallel is used. Does it import %do%? Is it a back-end for foreach? I don't have experience with doParallel, sorry if it's meant to be clear!Several files in
man
have placeholders for keywords. How to fill them?