Nothing
pkgs %installed in% lib.loc
will now return NA
for "packages" that are part of core 'R' (i.e. 'base', 'stats', etc.).NA
when Inf
is compared with Inf
, or when -Inf
is compared to -Inf
.%s><%
and %s<>%
as aliases for %sget%
and %strim%
, respectively.pversion_
- functions.help.import()
now directly evaluates the arguments under help()
if both arguments i
and alias
are missing.import_as()
can now include functions from core R if necessary, except 'base'.help.import()
sometimes gave an unnecessary error, when searching topics of un-exported objects or non-functions via an alias object instead of searching functions directly.form()
function, as its use-case is too rare to justify having a whole function for it (with all the tests and maintenance that come with it). I rarely remove functions; this is an exception.help.import()
can now also be called without any arguments, just like the original help()
function.i
in stri_locate_ith()
. Also improved the performance of stri_locate_ith()
.strfind()<-
to be a bit more informative.as_cplx()
and as_raw()
to the atomic typecasting functions.stri_locate_ith()
.aes_pro()
, with_pro()
, and safer_partialmatch()
. Naturally, added tests for these new functions.%row%
and %col~%
operators.is_wholenumber()
to the decimal truth testing section.rt
argument to strfind()<-
, and moved the i
and rt
arguments more to the end of the functions. The type
argument in strcut_brk()
can now also directly accept a list produced by stringi::stri_opts_brkiter()
.%col~%
and %row~%
strip attributes.merge = FALSE
for pattern charclass
,
in the documentation of the stri_locate_ith()
function.p
argument can also be a character vector of length 1.stri_locate_ith()
documentation that one should not pass the capture_groups
argument; also clarified how to capture the ith
group using stri_locate_ith()
. And clarified that stri_locate_ith()
does not support long vectors.stringi::
piece in the example code for import_LL()
.s_pattern
functions is now actually titled "s_pattern".import_as()
when aliasing packages is now slightly less verbose: removed the line "Methods work like normally", and replaced the line "Importing packages ..." with "Importing packages and registering methods...".strcut_brk()
function now includes the tolist
argument to return a list. Moreover, the n
argument may now also be specified (n = -1L
by default).transform_if()
function. stri_locate_ith()
now gives a warning when an empty string or pattern is given. The help.import()
function now gives an error if neither topic/package
nor i/alias
is supplied, instead of just silently doing nothing. The %sget%
and %strim%
operators now give an explicit error message if the arguments do not have proper lengths.stri_locate_ith()
has now been partially re-written, and now includes 'C++' code, making it a bit faster. Also cleaned up the internal code for some other functions here and there.%ss%
to the collection of string arithmetic operators, and added the strfind()<-
method to the string search operators.
One can now supply the at
argument in the list of the right-hand side for the %s{}%
operator. Supplying at = "start"
will check if the pattern appears at the start of a string. Supplying at = "end"
will check if the pattern appears at the end of a string.stri_locate_ith()
even further. Optimised the 'subset_if' operators a bit more. Also optimised the %n&%
, %sget%
, %strim%
, and %=strtype%
operators a bit more.s_pattern
functions now wrap additional arguments in a list for the user, in case of using vector arguments, preventing potential confusion.type
argument in stri_locate_ith_boundaries()
is now not a mandatory argument; one can now also supply it through stri_opts_brikiter()
, to keep it more consistent with the rest of 'stringi'.s_pattern
operators. Added tests for stri_locate_ith()
when using argument merge = FALSE
. Added more error check tests for help.import()
. Added tests for unequal vector sizes for the logic operators. Added tests for empty condition subsets for transform_if()
. Added tests for the new functionalities introduced in this version. Added tests for malformed 'stringi' pattern searches in all relevant functions.s_coll()
worked properly when assigned to an object (as usual), but not when called directly (like nested inside a function). This is now fixed.import_as()
to be make it slightly clearer.decimal_truth
operators.import_as()
now does not allow more than 10 packages to be loaded under a single alias, to prevent abusive usage of import_as()
.pkg_get_deps()
function now also has the shared_tidy
argument to ignore the shared 'tidyverse' libraries ('rlang', 'lifecycle', 'cli', 'glue', and 'withr'). Also changed the default values of the recom
, and rstudioapi
arguments.pkg_get_deps_minimal()
function. Also changed the default arguments of pkg_get_deps()
.pversion_
functions to help in checking package versions.pversion_
functions.import_as()
function, changed argument name loadorder
to import_order
, to avoid confusion with the concept of loading a package.import_*
functions and for transform_if()
.pkg_get_deps()
where it didn't properly ignore all the recommended R-packages when recom = FALSE
.stri_join_mat()
, and produced better examples in both help file and website.@name
and @rdname
parameters of the tinycodet overview help files, such that they get on the top of the pdf file.pkgs
help file, as this is no longer applicable (the list of recommended R packages is hard coded).installed.packages()
in the %installed in%
operator with find.package()
. Also added the sentence "As pkgs %installed in% lib.loc does not even load a package, the user can safely use it without fearing any unwanted side-effects." to the help page.installed.packages()
with a manually specified character vector in the R scripts/functions "internal_functions.R", "import_misc.R", "import_inops.R", "x.import.R".Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.