Closed josherrickson closed 1 year ago
I've got a very rough first pass at the file, DESCRIPTION. I welcome comments here, or commits to simply amend it.
For the license, I think we need to use GPLv3 since the sandwich
package does and we're using its code. This is from taking a brief look in the R packages book and GPL license linked there.
For the title, I propose amending to Direct Adjustment of ITT Effects with ...
to clarify what kinds of estimates we intend users to make with this package.
I made some tags yesterday that only incremented the version, so once we finalize this, I'll re-make those tags with the updated fields here.
Changed to GPL.
Are we using sandwich
code in the sense of bundling it, @jwasserman2, or only in the sense of having sandwich dependencies, and modeling code on theirs? If the latter, I don't see that as forcing us into a GPL license, just as the GPL license on R itself doesn't force such a commitment.
I'm not comfortable with the GPL license myself, so I've reverted that commit.
Some additional thoughts on Josh E's questions.
@benthestatistician could you clarify what you mean by bundling it? We import it for use of their functions such as meatCL
, but we also add methods to their functions estfun
and bread
.
I'm fine exposing the private repo if you want. So we can keep the URL as is now, and when we finalize a name, updating it.
@jwasserman2 I'm following Wickham's usage (of "bundling"), in the book chapter you link to above.
I see. I don't copy their code over anywhere, I only take a dependency, so it seems by that book we're free to use an MIT license.
What about the .expand.model.frame.DA
function? I basically just copied stats::expand.model.frame
and made a small change to work for our scenario. That seems to fall under the 3rd "bundle" example in Hadley's book. Does that require us to use GPL?
I take it that Hadley's "3rd bundle example" refers to the following?
You’ve copied a small amount of R code from another package to avoid taking a dependency.
If that's correct, then I'd say JE's adaptatio of stats::expand.model.frame()
is OK because of the fact it doesn't copy that code in order to avoid a dependency. We've got a dependency on the stats
package, in virtue of the fact that we depend on R.
I think that's everything. @jwasserman2 the current DESCRIPTION should be good to move to the earlier tags.
With the discussion to start releasing pre-alpha builds, we should at a minimum update the DESCRIPTION file.
Most of it is either straightforward, but the following items should be addressed before releasing any versions:
@jwasserman2 if you end up producing a binary from a pre-estfun commit, I'd strongly recommend branching off there and adding in whatever DESCRIPTION we come up with here (with proper versioning of course).