Fixed
: unloading of devtools
in get_pkg_docs()
(which caused check_pkg_docs()
to fail if devtools::load_all()
had been called before in the current session).Added
: added functions check_pkg_docs()
, find_description_file()
, get_pkg_docs()
, logf()
, read_description_file()
, trace_package()
, untrace_package()
Added
: added list fg
(foreground colors)Added
: arguments color
and digits.sec
to functions now()
and now_ms()
. Also merged their documentation and implementation (now_ms()
calls now()
internally).Refactor
: languageserver
is now an optional dependency instead of a required one. This makes the package more lightweight and easier to install.Refactor
: catf
and cat2
are implemented more efficiently now. In particular, both use only one call to cat
, which makes them better usable in parallel executed code.Refactor
: help2
now also works for functions loaded via devtools
.Fixed
: function named()
Fixed
: a bug in function stub()
, which caused the function to fail, when later arguments used the value of previous argument as inputs.Fixed
: Fixed a bug in cat2
introduced in v2.7.3 that caused additional newlines to be added between each line of output.Fixed
: when using cat2
to print to files the end
part kept getting printed to the console. This behavior is fixed now and end
also goes to the file.Fixed
: Added NEWS.md
to .RbuildignoreFixed
: Fixed split_docstring()
. Docstrings ending with a keyword, e.g. @export
are now returned correctly without additional whitespace.Added
: Added pkgdown websiteAdded
: Added functions capture.output2()
, dput2()
, get_docstring()
, get_formals()
, update_docstring()
Added
: Added constant DOCSTRING_TEMPLATE
Changed
: Improved documentation for almost every functionRemoved
: Removed function reference from README.mdDeprecated
: Functions cat0()
, catn()
, cat0n()
, catsn()
, catnn()
, catfn()
Added
: Added function help2
Infrastructure
: Added function reference to README.mdFixed
: Function is.none
now also handles atomic vectors of length 0, e.g. character()
, numeric()
and logical()
Added
: Added functions caller
, function_locals
, locals
, now_ms
and stub
Changed
: Changed default values for function cat2
Changed
: Changed return value for function now
. Timezone is not returned as well, i.e. instead of "2022-12-24 11:13:57"
something like "2022-12-24 11:13:57 CEST"
is returned.Changed
: Added dependencies to core packages "methods"
and "utils"
and to 3rd party package "rlang"
.Changed
: Changed package Title from "Utility Functions by Tobias Schmidt (ToSc)" to "Utility Functions"Fixed
: Made function predict.numeric
more robust (check for classes "matrix" and "array" is now done using function inherits
).Deprecated
: Deprecated functions cat0
, catn
, cat0n
, catsn
and catnn
Added
: Added functions config_dir
, data_dir
, norm_path
, config_file
, xdg_data_home
, xdg_config_home
,Added
: Added functions catsn
, catnn
, catf
and catfn
Added
: Added function home
Infrastructure
: Added more details about package functionality and implemented methods in field Description of file DESCRIPTIONFixed
: Replaced F
with FALSE
in getfd.{R|Rd}
Fixed
: Updated function documentation. Every function now contains at least the following roxygen tags: name
, title
, description
, return
, i.e., the corresponding *.Rd
-files contain at least the following tags \name
, \title
, \value
, \description
.Added
: Argument end
to cat
variantsInfrastructure
: Added files generated by CRAN submissionFixed
: Improved .Rbuildignore
Fixed
: Removed man
folder from .gitignoreFixed
: Changed License entry in DESCRIPTION
to MIT + file
LICENSE to prevent R CMD check noteFixed
: Made repo public to prevent invalid URL note in R CMD checkFixed
: Converted title in DESCRIPTION
to title case to prevent R CMD
check noteRemoved
: cache
function, because of downstream dependencies which caused
problems with R CMD checkFixed
: Documentation of cat0
, catn
, cat0n
Fixed
: Documentation of ifthen
Fixed
: Documentation of rm_all
Changed
: predict.numeric
to use paste
instead of glue::glue
to remove
the dependency on package glue
Fixed
: filename of ./R/named.R (file extensions was missing)Infrastructure
: migrated from gitlab to githubInfrastructure
: added github action for R CMD check.Added
: function sys.exit(status)
Fixed
: function getfd
. getfd
now returns the correct file directory also for scripts started through Rscript
Added
: optional parameter on.error
to getfd
Added
: optional parameter winslash
to getfd
Added
: cat0
, catn
and cat0n
functionsAdded
: %none%
function (previously called %d%
)Removed
: +
function (x
is now part of the toscmask
package)Removed
: %d%
functionRemoved
: where
function (instead envnames::find_obj
can be used)Added
: named
functionAdded
: now
functionChanged
: getfd
now throws an error if no sourced file can be foundChanged
: getprd
renamed to getpd
Changed
: getpd
now takes an argument of files used to decide which folder is the project root (default: c(".git", "DESCRIPTION", "NAMESPACE")
)Added
: where
commandAdded
: this changelogAdded
: +
operatorAdd the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.