Changelog
Source:NEWS.md
toscutil v2.8.0
CRAN release: 2024-06-28
-
Added
: added functionscheck_pkg_docs()
,find_description_file()
,get_pkg_docs()
,logf()
,read_description_file()
,trace_package()
,untrace_package()
-
Added
: added listfg
(foreground colors) -
Added
: argumentscolor
andditis.sec
to functionsnow()
andnow_ms()
. Also merged their documentation and implementation (now_ms()
callsnow()
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
andcat2
are implemented more efficiently now. In particular, both use only one call tocat
, which makes them better usable in parallel executed code. -
Refactor
:help2
now also works for functions loaded viadevtools
. -
Fixed
: functionnamed()
-
Fixed
: a bug in functionstub()
, which caused the function to fail, when later arguments used the value of previous argument as inputs.
toscutil v2.7.4
CRAN release: 2023-09-05
-
Fixed
: Fixed a bug incat2
introduced in v2.7.3 that caused additional newlines to be added between each line of output.
toscutil v2.7.3
CRAN release: 2023-08-28
-
Fixed
: when usingcat2
to print to files theend
kept printing to the console. This behavior is fixed now andend
also goes to the file.
toscutil v2.7.2
-
Fixed
: AddedNEWS.md
to .Rbuildignore
toscutil v2.7.1
-
Fixed
: Fixedsplit_docstring()
. Docstrings ending with a keyword, e.g.@export
are now returned correctly without additional whitespace.
toscutil v2.7.0
-
Added
: Added pkgdown website -
Added
: Added functionscapture.output2()
,dput2()
,get_docstring()
,get_formals()
,update_docstring()
-
Added
: Added constantDOCSTRING_TEMPLATE
-
Changed
: Improved documentation for almost every function -
Removed
: Removed function reference from README.md -
Deprecated
: Functionscat0()
,catn()
,cat0n()
,catsn()
,catnn()
,catfn()
toscutil v2.6.0
-
Added
: Added functionhelp2
-
Infrastructure
: Added function reference to README.md
toscutil v2.5.1
-
Fixed
: Functionis.none
now also handles atomic vectors of length 0, e.g.character()
,numeric()
andlogical()
toscutil v2.5.0
CRAN release: 2022-06-30
-
Added
: Added functionscaller
,function_locals
,locals
,now_ms
andstub
-
Changed
: Changed default values for functioncat2
-
Changed
: Changed return value for functionnow
. 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 functionpredict.numeric
more robust (check for classes “matrix” and “array” is now done using functioninherits
). -
Deprecated
: Deprecated functionscat0
,catn
,cat0n
,catsn
andcatnn
toscutil v2.4.0
-
Added
: Added functionsconfig_dir
,data_dir
,norm_path
,config_file
,xdg_data_home
,xdg_config_home
,
toscutil v2.1.0
CRAN release: 2022-02-22
-
Infrastructure
: Added more details about package functionality and implemented methods in field Description of file DESCRIPTION -
Fixed
: ReplacedF
withFALSE
ingetfd.{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
: Argumentend
tocat
variants
toscutil v2.0.1
-
Fixed
: Removedman
folder from .gitignore -
Fixed
: Changed License entry inDESCRIPTION
to MIT + file LICENSE to prevent R CMD check note -
Fixed
: Made repo public to prevent invalid URL note in R CMD check -
Fixed
: Converted title inDESCRIPTION
to title case to prevent R CMD check note
toscutil v2.0.0
-
Removed
:cache
function, because of downstream dependencies which caused problems with R CMD check -
Fixed
: Documentation ofcat0
,catn
,cat0n
-
Fixed
: Documentation ofifthen
-
Fixed
: Documentation ofrm_all
-
Changed
:predict.numeric
to usepaste
instead ofglue::glue
to remove the dependency on packageglue
toscutil v1.4.1
-
Fixed
: filename of ./R/named.R (file extensions was missing) -
Infrastructure
: migrated from gitlab to github -
Infrastructure
: added github action for R CMD check.
toscutil v1.3.0
-
Fixed
: functiongetfd
.getfd
now returns the correct file directory also for scripts started throughRscript
-
Added
: optional parameteron.error
togetfd
-
Added
: optional parameterwinslash
togetfd