-
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
Pull Request follow-up for #30: Various minor fixes #42
Pull Request follow-up for #30: Various minor fixes #42
Conversation
@asheshrambachan @jonathandroth I added a very simple example for several functions (though not stuff that seemed to mainly be used internally like I figured it'd be redundant to make longer examples in light of the vignette, so I wrote a comment in each directing people there. If that sounds fine then I can merge into master and you can try again. |
Thanks, Mauricio! Having simple examples seems good to me.
One Q: is it obvious that if we say "See vignette" that ppl know to go to
the examples on the Github page? Should we maybe a more explicit link?
…On Mon, Sep 18, 2023 at 10:20 PM Mauricio Caceres Bravo < ***@***.***> wrote:
@asheshrambachan <https://github.com/asheshrambachan> @jonathandroth
<https://github.com/jonathandroth> I added a *very* simple example for
several functions (though not stuff that seemed to mainly be used
internally like computeConditionalCS*).
I figured it'd be redundant to make longer examples in light of the
vignette, so I wrote a comment in each directing people there. If that
sounds fine then I can merge into master and you can try again.
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFFMIE6O6TNZO77EZ53X3D6NPANCNFSM6AAAAAA4UETVGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@jonathandroth I changed all of them so they reference the name of the vignette, so they all prompt the user to call |
And vignette("HonestDiD_Example") links to what exactly?
…On Sat, Sep 30, 2023 at 10:21 AM Mauricio Caceres Bravo < ***@***.***> wrote:
@jonathandroth <https://github.com/jonathandroth> I changed all of them
so they reference the name of the vignette, so they all prompt the user to
call vignette("HonestDiD_Example")
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFBUDDBNJWEM22BPILTX5ATIJANCNFSM6AAAAAA4UETVGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@jonathandroth It opens the vignette. For pdf documents it opens it in the pdf viewer specified by I've found references to |
Thanks. Is the vignette distinct from the README on the github page? It
seems like the README is where we want to send people?
…On Mon, Oct 2, 2023 at 11:36 AM Mauricio Caceres Bravo < ***@***.***> wrote:
@jonathandroth <https://github.com/jonathandroth> It opens the vignette.
For pdf documents it opens it in the pdf viewer specified by
getOption("pdfviewer"); for html documents it opens it in the HTML viewer
specified by getOption("browser"). Not sure if pdfviewer and browser are
set by default (they weren't for me and I had to set them manually in my
console; though the default HTML viewer in R-studio is just it's side pane,
which is the one used to open html help for regular functions).
I've found references to vignette("name") in several packages so I
figured it was convention. LMK if it sounds OK. (Though I get the
impression referencing HTML vignettes is more common; maybe because people
don't have to set an HTML viewer in an IDE but they have to set a pdfviewer
either way?)
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFBNJTXWIKIKBFVIBJDX5LNQZAVCNFSM6AAAAAA4UETVGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBTGI2DSNBTGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@jonathandroth How about
? |
Great! (Maybe make it https://github.com/asheshrambachan/HonestDiD#honestdid
)
…On Tue, Oct 3, 2023 at 9:53 AM Mauricio Caceres Bravo < ***@***.***> wrote:
@jonathandroth <https://github.com/jonathandroth> How about
for more detailed examples, see <https://github.com/asheshrambachan/HonestDiD>
?
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFHQMEH2QW2LAXSEZNTX5QKF3AVCNFSM6AAAAAA4UETVGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBVGAZDOOJQGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@jonathandroth @asheshrambachan I think we're good to try again. All the points here were addressed. Apologies for the delay. |
Thanks @mcaceresb ! @asheshrambachan, let us know when you hear back from CRAN! |
@asheshrambachan any luck submitting this to CRAN ? |
@jonathandroth @asheshrambachan Checking in on the CRAN status? |
Thanks Ashesh!
…On Fri, Feb 23, 2024, 3:53 PM Ashesh Rambachan ***@***.***> wrote:
Resubmitted to CRAN today. I'll let you know if we get back any things to
fix.
Screenshot.2024-02-23.at.3.52.47.PM.png (view on web)
<https://github.com/asheshrambachan/HonestDiD/assets/29416461/ccfaeb95-78d9-4855-8a80-12f5331cd183>
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFFCQNTI4N35UALBGGDYVD6T7AVCNFSM6AAAAAA4UETVGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRRHE3TKMJSHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
We received the following response on the CRAN submission. It looks like overall some issues with the documentation, and we have to fix them before resubmitting. |
@asheshrambachan @jonathandroth On the five notes:
|
I don't see anything on the CRAN website indicating a vignette is required.
Can you just try running the check() function in devtools without it. If it
doesn't flag this, let's just delete the PDF vignette and point people to
the Github README in the package documentation.
J
…On Mon, May 20, 2024 at 3:39 PM Mauricio Caceres Bravo < ***@***.***> wrote:
@jonathandroth <https://github.com/jonathandroth> I'm not sure if a
vignette is required. Should I delete and see if they say anything?
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFCMJAVLMAM3AY2TRETZDJGPXAVCNFSM6AAAAAA4UETVGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRRGA4DEMJVGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@jonathandroth I'm deleting this from the README, then?
? |
Ah, maybe that's why we were carrying this old README around. Perhaps just
link to the old version of the PDF on the github?
…On Tue, May 21, 2024 at 9:50 AM Mauricio Caceres Bravo < ***@***.***> wrote:
@jonathandroth <https://github.com/jonathandroth> I'm deleting this from
the README, then?
See the previous package [vignette] for additional examples and package options, including incorporating sign and monotonicity restrictions, and combining relative magnitudes and smoothness restrictions.
?
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFEEZOV5LURDJIBQHPTZDNGLZAVCNFSM6AAAAAA4UETVGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRSGY4DMOJYGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@jonathandroth Like this? |
Looks good to me!
…On Tue, May 21, 2024 at 10:01 AM Mauricio Caceres Bravo < ***@***.***> wrote:
@jonathandroth <https://github.com/jonathandroth> Like this
<https://github.com/mcaceresb/HonestDiD/tree/cran-commit-round8?tab=readme-ov-file#additional-options-and-resources>
?
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFCIUAMZV6MVWLITVI3ZDNHTHAVCNFSM6AAAAAA4UETVGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRSG4YTANBUGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@asheshrambachan Can you try again? |
Thanks Ashesh!
…On Sun, Jun 9, 2024, 8:50 PM Ashesh Rambachan ***@***.***> wrote:
Sorry for the delay. Just submitted the updated version to CRAN (see
attached screenshot). I'll let you know what happens.
Screenshot.2024-06-09.at.8.49.23.PM.png (view on web)
<https://github.com/asheshrambachan/HonestDiD/assets/29416461/229e3b61-90ba-43be-8634-c8c2f36c0f7b>
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFBVQR6NENCAWM56JZTZGTZ4BAVCNFSM6AAAAAA4UETVGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWHE3DIMRYGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Good news: HonestDiD passed all of the incoming checks! Thanks @mcaceresb for all the work to clean up the package. There are a few minor style comments the CRAN managers had for us -- see the screenshot below. My understanding is: since we passed the automatic incoming checks, these style points are the last hurdle to CRAN. |
Thanks guys! This has been more work than publishing the paper in restud ...
…On Tue, Jun 11, 2024, 8:49 AM Ashesh Rambachan ***@***.***> wrote:
Good news: HonestDiD passed all of the incoming checks! Thanks @mcaceresb
<https://github.com/mcaceresb> for all the work to clean up the package.
There are a few minor style comments the CRAN managers had for us -- see
the screenshot below. My understanding is: since we passed the automatic
incoming checks, these style points are the last hurdle to CRAN.
Screenshot.2024-06-11.at.8.47.43.AM.png (view on web)
<https://github.com/asheshrambachan/HonestDiD/assets/29416461/903270b8-c516-4831-903c-0a51abdf0723>
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFFJMWZZG3OHNPPUMCLZG3W6VAVCNFSM6AAAAAA4UETVGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRQGY4DAOJWGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@asheshrambachan @jonathandroth They literally told us our examples took too long to run... I had an entire internal debate about using dontrun vs donttest and I decided to do the former to be cautious just in case, and it seems I erred on the wrong side of caution. Anyway, made both changes. |
Thanks @mcaceresb! Just resubmitted. Fingers crossed this time. |
Thanks guys! Did we address the comment about setting the seed?
…On Tue, Jun 11, 2024, 3:02 PM Ashesh Rambachan ***@***.***> wrote:
Thanks @mcaceresb <https://github.com/mcaceresb>! Just resubmitted.
Fingers crossed this time.
Screenshot.2024-06-11.at.3.01.09.PM.png (view on web)
<https://github.com/asheshrambachan/HonestDiD/assets/29416461/57ff204a-dac6-4976-92c3-9232dacfc220>
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFCTNOKMJTNBRI4Z77LZG5CTTAVCNFSM6AAAAAA4UETVGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRRGQZDIMJVGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@jonathandroth @asheshrambachan No, I missed it! I'm sorry. I'll see what that's about as soon as I can. Really sorry! |
No worries, and thanks!
…On Tue, Jun 11, 2024 at 4:18 PM Mauricio Caceres Bravo < ***@***.***> wrote:
@jonathandroth <https://github.com/jonathandroth> @asheshrambachan
<https://github.com/asheshrambachan> No, I missed it! I'm sorry. I'll see
what that's about as soon as I can. Really sorry!
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFAR4FEEBC5EILWAUE3ZG5LSXAVCNFSM6AAAAAA4UETVGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRRGU2DANRUGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Ashesh, have we heard anything back from CRAN?
…On Tue, Jun 11, 2024 at 4:24 PM Jonathan Roth ***@***.***> wrote:
No worries, and thanks!
On Tue, Jun 11, 2024 at 4:18 PM Mauricio Caceres Bravo <
***@***.***> wrote:
> @jonathandroth <https://github.com/jonathandroth> @asheshrambachan
> <https://github.com/asheshrambachan> No, I missed it! I'm sorry. I'll
> see what that's about as soon as I can. Really sorry!
>
> —
> Reply to this email directly, view it on GitHub
> <#42 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AE6EXFAR4FEEBC5EILWAUE3ZG5LSXAVCNFSM6AAAAAA4UETVGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRRGU2DANRUGQ>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Have we converged on what to do about setting the seed per the feedback from CRAN? I see the pull request there is still open, so I have been holding off on resubmitting until that's resolved. |
@asheshrambachan I'm slightly confused because it looked like you said you resubmitted it already (before I brought up the issue with the seed)? You posted a screenshot earlier in this thread, so I was wondering if they responded to that. @mcaceresb -- what is the latest with handling the seed? |
@jonathandroth Ah yup -- they flagged the same concern about the seed, and so I have not resubmitted it since then. Sorry for the miscommunication! |
No worries! Well at least it sounds like they didn't complain about anything else? |
Correct! The package otherwise passed all checks, so (fingers crossed) once this is fixed we should be good to go. |
Thanks, Mauricio! @asheshrambachan you should be good to resubmit! |
Thanks @mcaceresb! Just resubmitted the package. |
Thanks both! Hopefully this is the last time :-)
…On Thu, Jul 11, 2024, 8:23 PM Ashesh Rambachan ***@***.***> wrote:
Thanks @mcaceresb <https://github.com/mcaceresb>! Just resubmitted the
package.
Screenshot.2024-07-11.at.5.22.58.PM.png (view on web)
<https://github.com/user-attachments/assets/cc06b1d7-7b8f-4187-a93b-e859a5e921f5>
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFDFUFBYGIGSQOPEEMLZL4OYHAVCNFSM6AAAAAA4UETVGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRUGE3TQOBVHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Woohoo :)
…On Sun, Jul 14, 2024 at 10:19 AM Ashesh Rambachan ***@***.***> wrote:
Good news! Package looks to be on its way to CRAN.
Screenshot.2024-07-14.at.10.18.39.AM.png (view on web)
<https://github.com/user-attachments/assets/83604601-c356-4b4e-98e2-45cbf3b5b24b>
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6EXFF764U4QRA7PTM5UCLZMKCIXAVCNFSM6AAAAAA4UETVGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGM3DMMBYGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
This addresses 5 of the 6 requests here.
Done:
Pending: