packager 1.8.0
- Added
rhub
checks.
New internal functions
check_rhub()
to trigger checks on rhub for solaris and windows – given that you’ve configured rhub
.
get_rhub_latest()
to read summaries from rhub
get_local_rhub()
which is called by provide_cran_comments()
to read output from get_rhub_latest()
that was written to log/rhub.(log|Rout).
So the workflow is
- trigger rhub checks
- wait a while
- read summaries from rhub and save them to log/rhub.(log|Rout)
- run
provide_cran_comments()
which will then incorporate the rhub check log.
- Fixed number of
cleanr
issues reported by provide_cran_comments()
.
- Updated vignette to
rasciidoc
, which provides a fancy floating table of contents.
packager 1.7.0
- Added argument
stop_on_devel = TRUE
to submit()
that enables a check on whether the package has a developement version (that is, following the semantic versioning definition of a pre-release version, the version has a fourth part) and, if so, stops the submission.
- Function
use_git_check_version_not_tagged()
is now exported.
- New Function
use_git_pre_commit_script
to add git pre-commit scripts and infrastructure.
packager 1.6.0
infect()
now (via use_git_check_version_not_tagged()
) adds a git hook to prevent from commiting to a package version that is already tagged in git.
- Added function
lint_package
as a wrapper to lintr::lint_package
. Why? lintr added the cyclocomp_linter
to it’s default linters. Which sucks, because we run cyclocomp independently. And lintr should lint, not check for cyclomatic complexity. As this might reoccur in future and we don’t want to adapt all our calls to lint_package
excluding crappy linters, this is a hardcoded wrapper.
- Now passing
build_args
to rcmdcheck::rcmdcheck()
.
- Changed default value for
build_args
from character()
a derivation from the default value for args
for function rcmdcheck_and_log()
. So now all args
except “–as-cran” will be used as build_args
by default. Comes in handy, because usually we want to exclude actions (via “–no-manual” or the like) from both build and check. Now don’t need to pass them to two arguments explicitely.
packager 1.5.0
- Added argument
args
to rcmdcheck_and_log()
that is passed to rcmdcheck::rcmdcheck()
.
- Fix help links to package
callr
following Deepayan Sarkar (see https://deepayan.github.io/tmp/topichelp/funs.html).
- Fixed
get_package_makelist()
to use packager::check_archive()
instead of check_archive()
.
packager 1.4.0
- Returned to Rmd vignettes since rasciidoc vignettes fail on CRAN.
packager 1.3.0
infect()
now creates man-roxygen/return_invisibly_null.R as a template for roxygen.
packager 1.2.1
- Internal function
convert_package_vignettes()
now works for multiple Rmd files.
- Fixed package creation broken by missing package
rasciidoc
in field Suggests of file DESCRIPTION.
submit()
now tells you to use a developement version after submission.
packager 1.2.0
- Now using rasciidoc vignettes. Pass
use_rasciidoc_vignette = FALSE
to create()
or infect()
to stick with the original rmarkdown vignette.
- Added an function internal function extract_vignette_codes() to extract R code from different vignettes.
packager 1.1.0
- provide_cran_comments() now reports changes read from NEWS.md that may contain sections.
- provide_cran_comments() now reports the number of checks run by RUnit.
packager 1.0.0
- Removed reading travis.com logs.
- Only use files starting with “runit” for RUnit testing.
- Allow for file setup.R for RUnit testing.
- Function use_template() now optionally adds and commits files to disk an is exported now.
- Function provide_make() now passes ellpsis to use_template().
- Fixed cleanr Issue #1: RUnit test now no longer write results to disk on their own.
- Comments to CRAN now report package meta stats: The package is searched for files in ./log/ that correspond to cyclocomp, spell checking, cleanr, lintr and usage.
- Comments to CRAN now report unit testings stats: The package is searched for files in ./log/ that correspond to RUnit, testthat and covr.
- Added option is_cran to get_package_makelist() to omit targets
cyclocomp
and runit
instead of option is_runit.
- Pass upload error messages if package submission fails.
- New function sort_deps_in_desc() sorts the dependencies in file DESCRIPTION.
- release() is now linked to submit() which is the better name.
- Added a function get_check_status() that retrieves the status from a
R CMD check
-log.
- Now using package fakemake in infect().
packager 0.22.4
- use packager’s version of use_dev_version().
- Fix infect() for new behaviour of usethis.
packager 0.22.3
- Fix create() for new behaviour of usethis.
packager 0.22.2
- Added remove_lines().
- Added pkgload to Field Suggests in file DESCRIPTION.
packager 0.22.1
- Fixed linking to vignettes on gitlab.
packager 0.22.0
- Force to use usethis version 1.4.0, as usethis version 1.5.0 breaks loads of stuff.
- Added function install_deps(). Installs dependencies from DESCRIPTION with minimum version.
- Save the install log, too.
- Provide template for link to vignette on CRAN.
- Fixed link to vignette on gitlab.
- Prevent R/PKGNAME-package.R from being overwritten by default.
- Use new cleanr::check_package() instead of cleanr::check_directory()
- Got rid of github_document in README.
packager 0.21.0
- Fixed link to vignette on gitlab.
packager 0.20.0
- Caught possibly failing get_gitlab_log as to make provide_cran_comments() more stable.
- Fix devel.R template.
packager 0.19.0
- Create a devel.R from the template on infection.
- Not using deprecated packager::use_dev_version() in Makefile.
- Using path with pkgbuild::build() instead of pkg from devtools.
packager 0.18.2
packager 0.18.1
- Did not fix use_dev_version.
packager 0.18.0
- Adapted to devtools 2.0.0 (using pkgbuild, pkgload, remotes, rcmdcheck, usethis where appropriate).
- Added personal options on load.
- Enhanced template for devel.R
packager 0.17.0
- Provided minimal example in vignette.
- Hardened eval_from_log() against logging output like XXX = and
\r
.
- Fixed bug in print_lints().
- Do not call add_github_url_to_desc() any more.
- Fixed default for argument details to internal function use_intro().
- Use devtools::upload_cran() from version 1.13.6.
packager 0.16.0
- provide_cran_comments() now reads info from logs on gitlab.com, given that .gitlab-ci.yml from this package (via packager:::use_gitlab_ci()) is used.
packager 0.15.3
- Roxygenized the examples from 0.15.2.
packager 0.15.2
- Hardboiled examples for invect() against missing git default config.
packager 0.15.1
- Fixed broken pipeline by hardening provide_gitlab_url() against missing git default config.
packager 0.15.0
- Added new functions set_desc_url(), which, using provide_gitlab_url(), sets the DESCRIPTION’s URL to a hopefully reasonable URL when running infect().
- Added new functions is_r_package() and provide_gitlab_url().
packager 0.14.0
- Fixed for using gitlab instead of github.
packager 0.13.0
- Added fixed for git2r: Stefan Widgren switched from S4 back to S3.
- Added codetools to DESCRIPTION.
packager 0.12.0
- Added function check_usage() as a wrapper to codetools::checkUsagePackage().
packager 0.11.2
- Added auto git commit of changed devel NEWS file.
packager 0.11.1
packager 0.11.0
- Added functions use_dev_version() and use_dev_news().
packager 0.10.1
- Using names for old tags in tagging.
packager 0.10.0
- Added update_deps() for updating package dependencies like internals from package remotes does.
- provide_cran_comments() now optionally reads a travis log from file.
- Fixed git commit in release().
packager 0.9.0
- Added function print_lints() to print lints sorted by patterns matching source file names.
packager 0.8.0
- Setting initial package version to ‘0.1.0’.
- Using the minor R version in DESCRIPTION (not the patched one).
- Fixed setting a package’s title if no description is given.
- Set the argument author_at_r for function set_package_info to default to option packager/whoami.
- Add a failsafe version of git2r::commit called git_commit().
- Added exception handling if reading the git config throws an error by conditionally setting a local git config.
- Added option
verbose
to create().
- Sanitized the return value of git_sync_status().
- Linted the codes heavily.
- Added an inclusion pattern to check_codetags() and set reasonable defaults for patterns.
packager 0.7.0
- Added function release() which skips the usual interactive questions done by devtools::release().
- Added function provide_make_list() which is an extension to fakemake::provide_make_list().
- Enhanced docs for provide_cran_comments().
packager 0.6.0
Wrapped the travis-cli interface into tryCatch to be able to use my Makefile as template on systems where travis-cli will fail.
packager 0.5.0
- Fixed testing.
- Added internal function strip_off_attributes(), mainly to get rid of object names.
- Fixed querying the package’s maintainer’s name.
- Updated package’s info.
packager 0.4.1
Fixed adding github url to DESCRIPTION.
packager 0.4.0
- Hotfixed git_tag()
- Added internal function git_add_commit() to mimic
git commit -am"MESSAGE"
.
packager 0.3.1
provide_cran_comments(name = ) now defaults to NA, using the DESCRIPTION’s maintainer’s given name.
packager 0.3.0
Resetting RUnit tests.
packager 0.2.2
Vignette defaults are now set from details and description passed to set_package_info.
packager 0.2.1
Added bugfix for get_news().
packager 0.2.0
Added function to add github url to DESCRIPTION.
packager 0.1.0
- Added a
NEWS.md
file to track changes to the package.