with_pro() now requires the data argument
be a list or data.frame (rather than just any recursive object).misc
operators.import_ functions will now trigger an
error if called from within a package environment other than
‘tinycodet’.as_* functions have been
removed.as_* functions are
superseded by the functions of the same name in the ‘broadcast’ package,
and will be removed from ‘tinycodet’ in a later version..Primitive or .Internal functions, to
comply with CRAN.import_as() now
allows hidden (i.e. dot-prefixed) names for alias
objects.stri_locate_ith(); it now internally uses
‘C’ code instead of ‘C++’.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.type argument in strcut_brk() can now also
directly accept a list produced by
stringi::stri_opts_brkiter().Documentation improvements:
%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().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”.More safety checks: * Improved safety against
malformed conditions in the 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.
Internal Re-write:
stri_locate_ith() has now been partially re-written,
and now includes ‘C++’ code, making it a bit faster.Added dependency:
New Features:
%ss% to the collection of string arithmetic
operators.strfind()<- method to the string search
operators.at argument in the list of the
right-hand side for the %s{}% operator.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.Optimization:
stri_locate_ith() even
further.%n&%, %sget%,
%strim%, and %=strtype% operators a bit
more.Argument changes:
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’.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).Bug fixes:
s_coll() worked properly when
assigned to an object (as usual), but not when called directly (like
nested inside a function).Other Changes:
import_as() when aliasing
packages is now slightly less verbose:Tests:
s_pattern operators.stri_locate_ith() when using argument
merge = FALSE.help.import().transform_if()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’).recom, and
rstudioapi arguments in pkg_get+deps().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().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”.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.