Changes in version 1.15.3.9000 - Added bump_package() to bump versions in NEWS.md and DESCRIPTION. - Replaced deprecated devtools::build_vignettes() by pkgdown::build_articles(). Changes in version 1.15.3 (2025-05-24) - Adapted lintr::indentation_linter() in lint_package() to my vim-settings. - Fixed CRAN notes on lost braces. Changes in version 1.15.2 (2023-08-16) - Fixed CRAN notes on Escaped LaTeX specials. - Fix provide_news_rd() to deal with escaped underscores. Changes in version 1.15.1 (2023-07-07) - Fix tests failing for R-devel on several platforms. Changes in version 1.15.0 (2023-06-18) - Package fritools back on CRAN. - Updated rhub logs. - Read win_builder message from ~/Mail/CRAN for cran_comments.md. - Adapted to lintr 3.0.0. - Fixed retrival of gitlab logs for camelCase packages. - Fixed formerly extraneous argument character.only to call to requireNamespase() in build_manual(), which always led to falsely never roxygenizing. - use_devel() now provides an exenteded devel.R and adds devel/devel_test.R, which I found very helpful. Changes in version 1.14.0 (2021-12-08) - Added function build_manual as a substitute for devtools' version. - submit() now has an argument consider_tracked to control exception handling if git status is not clean. - tinytest now starts with a reasonable test file testing for throw() to throw an error. Changes in version 1.13.0 (2021-08-02) - Added output from log/tinytest.log to cran-comments.md. - Local test result get written to file cran-comments.md only if the results read from the file are not empty. This fixes changing output from testthat causing empty results as well as empty log files (for example when tinytest.R is not present target tinytest is made anyway). - Now adding tinytest to infected packages. Changes in version 1.12.0 (2021-06-01) - Adapted for exception handling from fritools. Changes in version 1.11.1 (2021-03-20) - Fixed missing codes in vignette. Changes in version 1.11.0 (2021-03-10) - Gitlab logs for cran-comments.md are now checked for the appropriate version. - Added more templates for man-roxygen. - Devel versions for check_news() only match first order sections (lines starting with # ). So we can keep documentation of changes in devel versions in the subsections. - Substituted imports from usethis and withr. Changes in version 1.10.0 (2021-01-29) - Updated the makelist returned by get_package_makelist() to - install, - dev_install before running RUnit tests, - knit README.md from README.Rmd, - rename the target from log/cran_comments.Rout (which is now the sink) to cran-comments.md, as the later is the target file. - make build depend on file LICENSE, - build with vignettes instead of without vignettes. So now fakemake::make("cran-comments.md", get_package_makelist()) and system(paste("make -f", system.file("templates", "nomakefile", package = "packager"), "cran-comments.md")) will run identical make chains. Added internal function compare_make() to ensure for this. - Switched vignette and unit tests from git2r to gert, so now git2r is not suggested anymore. - Added git wrapper git_diff(). - Renamed makelist target from codetags.Rout to check_codetags.Rout according to the function's name. - extract_vignette_codes() now extracts to inst/vignette_codes/. Changes in version 1.9.0 (2021-01-21) - Now importing package fritools. - Call package whoami only if system dependency whoami is available or the system running is windows. - Switched from git2r to gert. - Updated the makelist returned by get_package_makelist() to - install the current and packager's dependencies and suggested packages. - report RUnit testing correctly. - Added function provide_news_rd() which will derive file inst/NEWS.rd from file NEWS.md. The former will be shown in the package's help index, so it's more prominent to people using that index than the latter which will only be shown by utils::news() if the latter is not available. The new function is incorporated in the package's Makelist and it's template for a Makfile. Changes in version 1.8.0 (2020-12-02) - 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 1. trigger rhub checks 2. wait a while 3. read summaries from rhub and save them to log/rhub.(log|Rout) 4. 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. Changes in version 1.7.0 (2020-11-17) - 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. Changes in version 1.6.0 (2020-11-05) - 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 explicitly. Changes in version 1.5.0 (2020-09-28) - 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(). Changes in version 1.4.0 (2020-08-24) - Returned to Rmd vignettes since rasciidoc vignettes fail on CRAN. Changes in version 1.3.0 (2020-05-08) - infect() now creates man-roxygen/return_invisibly_null.R as a template for roxygen. Changes in version 1.2.1 (2020-04-25) - 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. Changes in version 1.2.0 (2020-04-14) - 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. Changes in version 1.1.0 (2020-03-13) - 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. Changes in version 1.0.0 (2020-01-13) - 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(). Changes in version 0.22.4 - use packager's version of use_dev_version(). - Fix infect() for new behaviour of usethis. Changes in version 0.22.3 - Fix create() for new behaviour of usethis. Changes in version 0.22.2 - Added remove_lines(). - Added pkgload to Field Suggests in file DESCRIPTION. Changes in version 0.22.1 - Fixed linking to vignettes on gitlab. Changes in version 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. Changes in version 0.21.0 - Fixed link to vignette on gitlab. Changes in version 0.20.0 - Caught possibly failing get_gitlab_log as to make provide_cran_comments() more stable. - Fix devel.R template. Changes in version 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. Changes in version 0.18.2 - Fixed use_dev_version. Changes in version 0.18.1 - Did not fix use_dev_version. Changes in version 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 Changes in version 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. Changes in version 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. Changes in version 0.15.3 - Roxygenized the examples from 0.15.2. Changes in version 0.15.2 - Hardboiled examples for invect() against missing git default config. Changes in version 0.15.1 - Fixed broken pipeline by hardening provide_gitlab_url() against missing git default config. Changes in version 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(). Changes in version 0.14.0 - Fixed for using gitlab instead of github. Changes in version 0.13.0 - Added fixed for git2r: Stefan Widgren switched from S4 back to S3. - Added codetools to DESCRIPTION. Changes in version 0.12.0 - Added function check_usage() as a wrapper to codetools::checkUsagePackage(). Changes in version 0.11.2 - Added auto git commit of changed devel NEWS file. Changes in version 0.11.1 - Fix Makefile Changes in version 0.11.0 - Added functions use_dev_version() and use_dev_news(). Changes in version 0.10.1 - Using names for old tags in tagging. Changes in version 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(). Changes in version 0.9.0 - Added function print_lints() to print lints sorted by patterns matching source file names. Changes in version 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. Changes in version 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(). Changes in version 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. Changes in version 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. Changes in version 0.4.1 - Fixed adding github url to DESCRIPTION. Changes in version 0.4.0 - Hotfixed git_tag() - Added internal function git_add_commit() to mimic git commit -am"MESSAGE". Changes in version 0.3.1 - provide_cran_comments(name = ) now defaults to NA, using the DESCRIPTION's maintainer's given name. Changes in version 0.3.0 - Resetting RUnit tests. Changes in version 0.2.2 - Vignette defaults are now set from details and description passed to set_package_info. Changes in version 0.2.1 - Added bugfix for get_news(). Changes in version 0.2.0 - Added function to add github url to DESCRIPTION. Changes in version 0.1.0 - Added a NEWS.md file to track changes to the package.