- New bibentry format for the CITATION file.
- The deprecated
methods::getMethods()
function was imported but not used any more. The import is dropped now.
- The JGR version of
file_edit()
is not available any more because JGR is not maintained any more and we can eliminate the dependency to {rJava} and a Java installation.
-
The
aka()
function objects are now aka and function objects withprint()
andstr()
methods. A new argumenturl=
allows to indicate an http(s) URL for the help page of the object. -
A function
section()
allows to document different sections in sets of objects.
- First implementation of concise help pages for functions aliased with
aka()
(description + seealso + example).
- Bug correction:
print.rbenchmark()
was not exported.
-
Function
._(x, code)
is removed from here to be included into the {svFlow} package where it is more appropriate. -
Function
hint()
is renamedaka()
(also known as) because the name is much more in line with what it does.alias()
would have been an even better name, but there is alreadystats::alias()
and we don't want a conflict on this function. -
rbenchmark()
provides R Benchmark version 2.6 without needing to source external code. -
Function
cut_quantile()
likecut()
, but calculating breaks on quantiles in order to break down the vector into intervals of equal number of items. -
Function
hint()
added to attach information to an object (an "alias" to another object that has an help page, or a "comment" information to display about the object). The corresponding information and help page can be displayed with.?obj
. -
Function
._(x, code)
allows to use a concise syntax to pass a left-hand side argument to dot (.
) into the right-hand side of a pipe operator, even if it does not support the dot itself (like the standard R pipe|>
in R >= 4.1).
- Several examples set as \dontrun{} because time to run all examples is too long on CRAN.
- Link to a JSS paper replaced by the DOI link.
- No more assignation (
last.warning
) into base environment: not permitted any more in R >= 4.1.0.
- Two new functions
pcloud()
andpcloud_crypto()
ease the management of files that are located in a p-Cloud drive (p-Cloud is a cloud storage system).
- Minor changes in the documentation to avoid notes in latest devel R CMD check.
.Traceback
is not set any more in the base environment bycapture_all()
because CRAN policy does not allow it. The variable.Traceback_capture_all
is set intemp_env()
instead. It can be retrieved withget_temp(".Traceback_capture_all")
.
- A new argument is added to
completion()
:name.or.addition=
which determines if the function returns the completion name, completion additions or both. Thanks to @rhuffy.
-
News.md
reworked inR CMD build
-compatible format, andTODO
reworked asTODO.md
. -
'pkgdown' site added.
-
about()
added and a special version of?
accepts.?
as a shortcut toabout()
, but is otherwise, compatible withutils::?
. -
subsettable
functions for argumentstype =
orwhich =
added.
captureAll()
andparseText()
were not exported anymore after switching help pages to Roxygen2. Fixed.
- This is a minor update to avoid 2 notes on CRAN
R CMD check
.
-
New, snake_case names of all the functions. Old camelCase functions names are kept for compatibility, e.g.,
captureAll()
->capture_all()
. -
All documentation converted to Roxygen2 format.
-
Tests converted to
testthat
format. -
package()
is reworked to record packages it cannot install, and theInstall()
function uses these automatically.
_ New is_rstudio()
, and is_rstudio_server()
functions. Also, file_edit()
detects if RStudio is used and get an internal buffer to edit a file by default in that case.
- Vignette added.
toRjson()
adapted to be compatible with R >= 3.5.0 (thanks to Martin Maechler).
-
Switch to Github for development; CI added.
-
Code added to make 'svUnit' tests compatibles with RStudio and
devtools::test()
.
-
Deprecated functions
Args()
,CallTip()
,clipsource()
,Complete()
,CompletePlus()
,getEnvironment()
,Parse()
,r()
,Sys.tempdir()
,Sys.userdir()
are now defunct and eliminated from the package. -
Function
pkg()
is renamedpackage()
. -
Reworked code that was using
:::
.
-
On MacOS >= 10.7, the package could not load because of a warning (converted into an error) in
.onLoad()
. Solved. (thanks Travis Porco for bug report). -
isHelp()
now usesfind.package()
instead of the deprecated.find.package()
.
- The temporary environment that
TempEnv()
attaches to the search path is now called'SciViews:TempEnv'
instead of simply'TempEnv'
to avoid potential conflicts with other packages in CRAN.
-
Added the
fileEdit()
function. -
Reworked
argsTip()
function to eliminate old code (for R < 2.10). -
parseText()
reported an error instead ofNA
in the case last string is incomplete in R 2.15.
-
Added function
isJGR()
. -
Added batch processing function
batch()
.
-
Partial argument matching in
completion()
,progress()
andrmTemp()
code fixed. -
Call to
.Internal(...)
incaptureAll()
eliminated, but need to call.signalSimpleWarning()
that is not intended for external use anyway. -
Call to
.Internal(dput(....))
intoRjson()
eliminated.
-
Added
listToJson()
for conversion of lists of character strings into correct JSON format. -
Added
pkgManXXX()
functions to run R code for the SciViews package manager.
progress()
used\8
, that was treated as octal for R < 2.14. Changed to\b
in order to correct this bug. Thanks Duncan Murdoch for pointing me on this.
-
captureAll()
now handles user interrupts and allows fortraceback()
afterwards and default value forsplit=
now changed toTRUE
. Theecho =
argument allows for echoing expressions being evaluated, like in the usual R console, but a mechanism allows to abbreviate very long expressions. -
parseText()
is reworked internally and it uses thesrcfile
/srcref
mechanism introduced in R recently.firstline =
,srcfilename =
andencoding =
arguments are added. -
Unit tests added (should run with both 'svUnit' (advised) and 'RUnit').
-
A bug in
objList()
is corrected: if the list of objects in the environment is cleared, e.g., byrm(list = ls())
, the function returned as if nothing was changed withcompare = TRUE
. Now, an attributechanged =
is set toTRUE
orFALSE
to differentiate between "no changes" and "changes towards an empty environment".
- Better handling of non syntactically correct names in
objList()
.
-
A couple of functions are renamed:
Parse()
->parseText()
,clipsource()
->sourceClipboard()
. Old names are declared deprecated, and will become defunct before version 1.0-0 of the package. -
captureAll()
now returnsNA
in case of incomplete line of code parsed byparseText()
. It also detects ifexpr =
is a valid language expression or isNA
. -
isMac()
was not working correctly on Mac OS X Leopard and Snow Leopard (bug corrected). -
Sys.userdir()
did not expanded tilde in recent R versions (corrected). -
Little change in
def()
arguments:length.out =
instead oflength =
to use the same name as corresponding argument inrep()
. Coercion to logical is now done usingas.logical()
... the result may differ from previous implementations. -
For
listTypes()
, the convention has changed. Method/type is now separated by an underscore instead as with two dots (like inview_text.default
). -
Sys.tempdir()
andSys.userdir()
are deprecated in favor of the new more general functionssystemFile()
andsystemDir()
. -
r()
is deprecated in favor ofpkg()
(r()
is not informative enough and more susceptible to be used elsewhere too). -
Args()
is deprecated in favor ofargsTip()
andCallTip()
is deprecated in favor ofcallTip()
(further homogenization of svMisc function names). The newargsTip()
andcallTip()
functions can reflow the tip to a given width, andcallTip()
can also return a short description of the function as well as the list of available methods if the tip os asked for a generic function. -
Complete()
andCompletePlus()
are deprecated in favor of a uniquecompletion()
function. Code of both original functions has been fused and reworked.
-
RJSON objects now use a customized
list()
function to build lists, but also structures and new S4 objects. -
captureAll()
has now asplit =
argument that allows to output to the R console, while capturing output. -
Bug correction in
captureAll()
: call[[1L]] is not subsettable.
- Additions of functions
toRjson()
andevalRjson()
and specification of the RJSON (R-JavaScript Object Notation), an object exchange format not unlike JSON, but richer and more adapted to represent most R objects.
-
Small changes to
objList()
(now look at objects in their correct environment). -
A bug in
descArgs()
with R >= 2.10 did not allowed to gest arguments description for functions using the...
argument. Thanks to Diego Zardetto for pointing this bug.
- Temporary code to disable
index.search()
in devel R 2.11 inisHelp()
anddescFun()
.
- Implement
descArgs()
using the new help system (parse_Rd()
), this eliminates the need for the workaround of version 0.9-54
- Cosmetic changes in Rd files to make them compatible with R 2.11 (devel). A part of the example of
CompletePlus()
is eliminated because it raises an error.
-
Complete()
now sorts items alphabetically and does not return completions as factor type in the data frame any more. -
CallTip()
does a better work to find current function, i.e., not only after the opening parentheses(
. -
Args()
now do no place a space anymore between the name of a function and its arguments
Complete()
now manages cases where code is likeiris[
,iris[[
, or where last parsed token is empty (in this case, it returns the list of objects loaded in.GlobalEnv
).
Complete()
now includes additions fromComplete2()
andCompletePlus()
.
-
CompletePlus()
removes the weird object names (.__M__
, ...) which were causing trouble. -
CompletePlus()
handles completions likea[m
.
Complete2()
is a temporary new version ofComplete()
for experiments.
Parse()
does not detect incomplete R code any more, fixed [PhG].
objList()
,print.objectList()
andwrite.objList()
reworked [PhG].
-
Added
objList()
,print()
method for 'objList' objects andwrite.objList()
[KB]. -
Localization complete and French local file done.
-
Made backward compatible with R 2.6.0 (was R >= 2.7.0 in previous version).
-
captureAll()
is reworked by Kamil Barton [KB]. Debugging code eliminated (data saved in.GlobalEnv
for debugging). -
Error handler added to
captureAll()
- [KB].
-
CompletePlus()
reworked to use man pages instead of .Rd files. -
descFun()
anddescArgs()
added.
CompletePlus()
created to obtain information on the completion possibilities.
-
objList()
did not place each item in a line when result is written in a file. -
objXXX()
functions did not always returned results invisibly. Solved. -
Args()
is more robust against badname =
parameter because it now callsargsAnywhere()
within atry()
.
-
objInfo()
returns also estimated size of objects that are not functions. -
objSearch()
is reworked to return a single string usingsep =
as separator whensep =
is notNULL
.
- This is the first version distributed on R-forge. It is completely refactored from older versions (on CRAN since 2003) to make it run with SciViews-K and Komodo Edit (Tinn-R is also supported, but not SciViews-R Console any more).