A new release 0.2.1 of pkgKitten hit CRAN earlier today, and has been uploaded to Debian as well. pkgKitten makes it simple to create new R packages via a simple function invocation. A wrapper
kitten.r exists in the littler package to make it even easier.
This release builds on the support for tinytest we added in release 0.2.0 by adding more optional support, this time for roxygen2. It also corrects a minor documentation snafu, and updates the CI use.
Changes in version 0.2.1 (2021-02-22)
A small documentation error was corrected (David Dalpiaz in #15).
A new option ‘bunny’ adds support for roxygen2.
Continuous integration now use
If you like this or other open-source work I do, you can now sponsor me at GitHub.
This release brings support for tinytest by having
pkgKitten::kitten() automagically call
tinytest::puppy() if the latter package is installed (and the user did not opt out of calling it). So your newly created minimal package now also uses a wonderful yet tiny testing framework. We also added a new documentation site using the previously tweeted-about wrapper for Material for MkDocs I really dig. And last but not least we switched to BSPM-based Continued Integration (which I wrote about yesterday in R4 #30) and fixed one bug regarding the default
Changes in version 0.2.0 (2020-09-27)
Continuous Integration uses the updated BSPM-based script on Travis and with GitHub Actions (Dirk in #11 plus earlier commits).
A new default
NAMESPACEfile is now installed (Dirk in #12).
A package documentation website was added (Dirk in #13).
tinytest::puppyif installed and not opted out (Dirk in #14).
This release provides a few small changes. The default per-package manual page now benefits from a second refinement (building on what was introduced in the 0.1.4 release) in using the Rd macros referring to the
DESCRIPTION file rather than duplicating information. Several pull requests fixes sloppy typing in the
NEWS.Rd or manual page—thanks to all contributors for fixing these. Details below.
Changes in version 0.1.5 (2019-10-22)
One small change is that the package manual page it creates now makes use of the (still new-ish and under-documented and under-used) Rd macros described at the end of Section 2.13 of Writing R Extensions:
share/Rd/macrosfor more details and macro definitions, including macros
By using these macros, and referencing them from the
DESCRIPTION file, we can avoid redundancy, or worse, inconsitency, between both files. Or just be plain lazy and describe things just once in the higher-level file: A good thing!
Otherwise we fixed a URL to the manual thanks to a PR, and just added some of the regular polish to some of the corners which
R CMD check --as-cran is looking into:
Changes in version 0.1.4 (2016-11-13)
Utilize newer R macros in package-default manual page.
Repair a link to Wrting R Extensions (PR #7 by Josh O'Brien)
The main change is (optional) support of the excellent whoami package by Gabor which allows us to fill in the
Maintainer: fields of the
DESCRIPTION file with automatically discovered values. This is however only a
Suggests: and not a
Depends: to not force the added dependencies on everywhere. We also alter the default values of
Description: so that they actually pass the current level of tests enforced by
R CMD check --as-cran.
Changes in version 0.1.3 (2015-06-12)
The fields Title: and Description: in the file
DESCRIPTIONfile are now updated such that they actually pass
R CMD checkon current versions of R.
If installed, the whoami package (version 1.1.0 or later) is now used to discover the username and email in the
Next time I'll try to remember that when I have parameters
path, it won't work so well to call them as
Changes in version 0.1.2 (2014-09-11)
Brown-bag fix of calling the new helper function with then correct order of arguments.
It has only one small change: the function
playWithPerPackageHelpPage() was factored out of the main function
kitten() as I happened to be needing something just like
playWithPerPackageHelpPage() to make packages created by the Rcpp function
Rcpp.package.skeleton() a little nicer.
We also added a
NEWS.Rd file which restates major release features. As it is so short, we include it in its entirety.
Changes in version 0.1.1 (2014-09-09)
New (exported) function
playWithPerPackageHelpPage()which lets other packages create a non-complaint-generating package help page
Changes in version 0.1.0 (2014-06-13)
Initial public version and CRAN upload
package.skeleton()which creates files which the very standard, and very recommended,
R CMD checkthen complains about. That is silly. Because each time
R CMD checkcomplains, something bad happens to a kitten somewhere. So pkgKitten offers a wrapper function
kitten()which creates neat little packages which do not upset
R CMD check. A complete little demo is on the pkgKitten webpage which also has pointers to the pkgKitten GitHub repo.