gnu: Add r-knitrbootstrap.
Commit Message
* gnu/packages/statistics.scm (r-knitrbootstrap): New variable.
---
gnu/packages/statistics.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Comments
On Tue, May 24, 2016 at 02:53:31PM +0200, Ricardo Wurmus wrote:
> * gnu/packages/statistics.scm (r-knitrbootstrap): New variable.
It builds for me.
> + (license license:expat)))
I couldn't find this in the source code. The only thing I found was the
authorship info in 'LICENSE' and this line in 'DESCRIPTION':
License: MIT + file LICENSE
If that's enough, then okay.
Leo Famulari <leo@famulari.name> writes:
> On Tue, May 24, 2016 at 02:53:31PM +0200, Ricardo Wurmus wrote:
>> * gnu/packages/statistics.scm (r-knitrbootstrap): New variable.
>
> It builds for me.
>
>> + (license license:expat)))
>
> I couldn't find this in the source code. The only thing I found was the
> authorship info in 'LICENSE' and this line in 'DESCRIPTION':
>
> License: MIT + file LICENSE
>
> If that's enough, then okay.
Yes, the R project suggests projects to only submit a LICENSE file with
the two attribution lines for year and copyright holder, and set the
“License” field in the DESCRIPTION file as “MIT + file LICENSE”.
Here are the instructions including the remainder of the license for
reference:
https://www.r-project.org/Licenses/MIT
~~ Ricardo
PS: I still need to update the importer to select the Expat license by
default when it encounters “MIT + file LICENSE” in the DESCRIPTION file.
On Sat, May 28, 2016 at 09:36:40AM +0200, Ricardo Wurmus wrote:
>
> Leo Famulari <leo@famulari.name> writes:
>
> > On Tue, May 24, 2016 at 02:53:31PM +0200, Ricardo Wurmus wrote:
> >> * gnu/packages/statistics.scm (r-knitrbootstrap): New variable.
> >
> > It builds for me.
> >
> >> + (license license:expat)))
> >
> > I couldn't find this in the source code. The only thing I found was the
> > authorship info in 'LICENSE' and this line in 'DESCRIPTION':
> >
> > License: MIT + file LICENSE
> >
> > If that's enough, then okay.
>
> Yes, the R project suggests projects to only submit a LICENSE file with
> the two attribution lines for year and copyright holder, and set the
> “License” field in the DESCRIPTION file as “MIT + file LICENSE”.
Okay, thanks for the clarification!
>
> Here are the instructions including the remainder of the license for
> reference:
>
> https://www.r-project.org/Licenses/MIT
>
> ~~ Ricardo
>
>
> PS: I still need to update the importer to select the Expat license by
> default when it encounters “MIT + file LICENSE” in the DESCRIPTION file.
@@ -792,6 +792,29 @@ generation in R using Literate Programming techniques.")
;; here.
(license license:gpl2+)))
+(define-public r-knitrbootstrap
+ (package
+ (name "r-knitrbootstrap")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "knitrBootstrap" version))
+ (sha256
+ (base32
+ "0pshn2slzqwpryklslsxwh1dmqcnwv6bwi7yfm6m342wjybpk0wl"))))
+ (properties `((upstream-name . "knitrBootstrap")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-knitr" ,r-knitr)
+ ("r-rmarkdown" ,r-rmarkdown)))
+ (home-page "https://github.com/jimhester/knitrBootstrap")
+ (synopsis "Knitr bootstrap framework")
+ (description
+ "This package provides a framework to create Bootstrap 3 HTML reports
+from knitr Rmarkdown.")
+ (license license:expat)))
+
(define-public r-microbenchmark
(package
(name "r-microbenchmark")