loading...
  • The {ggsn} package is archived on CRAN, so, we remove it from the “spatial” topic and replace it by the {ggspatial} package that also provides a north arrow and a scale bar for ggplot2 plots. The {sp} and {raster} packages are not in the list of required packages anymore, as they are supposed to be superseded by {sf} and {terra}, respectively.
  • A chatbot is added with the ai_ask() function that displays a help page with the results from a question, ai_explain_term() to explain terminology, ai_explain_function() to create a simplified help page for an R function, ai_explain_code() to explain how a (short piece of) code works and ai_explain_error() which details error message given the code and the error it generates. Credentials are handled through API keys.
  • An old addin to insert : is removed.
  • Packages {tabularise} and {inferit} added.

  • Default for silent= argument of SciViews::R is now TRUE

  • The parameter threads.percent= argument is added to SciViews::R. It defines the percentage of threads that both {data.table} and {collapse} can use for their parallelized code.

  • Topics are now implemented in SciViews::R. One can specify, for instance, SciViews::R("model") to load more packages related to modeling with regressions. Current topics are ‘infer’, ‘model’, ‘explore’, ‘ml’, ‘ts’ and ‘spatial’. It is possible to specify more than one topic.

  • The new function sciviews_packages_topics() lists all packages required for each topic.

  • SciViews::R has now a new argument lang= to specify the default language to use. Hence, SciViews::R(lang = "fr") will set French as the default language used by functions like data.io::read(), or for plot axes labels or title.

  • {tidyverse} is not loaded any more, but a selected series of tidyverse packages useful for SciViews::R.

  • SciViews::R has now an argument to set which is the default data frame object to use (data.frame, tibble, or data.table with as_dtx=). The default value is data.table. In all cases, a message is printed to clearly indicate which is the default.

  • Startup messages with SciViews::R are now more complete regarding functions conflicts (it does not use tidyverse_conflicts() any more).

  • The {svBase}, {data.table}, {dtplyr} and {collapse} packages are now included in the list of the SciViews::R packages. With {svBase} the preferred data frame object is now data.table, and since {dtplyr} is loaded, it is used for {dplyr} verbs by default.
  • Change dependency to {svFlow} instead of {flow} after that package was renamed.
  • Restrict {cli} and {crayon} imports to avoid a conflict with num_ansi_colors() that is defined in both packages when called from ansi::num_colors().

  • {rmarkdown} dependency added to suggests field for the vignettes.

  • ‘flow’, ‘chart’, and ‘data.io’ are now part of the packages automatically loaded by SciViews::R.
  • SciViews::R is the instruction to use to load all required packages to install a complete SciViews::R dialect (R base + tidyverse + …).
  • ‘correlation’ objects are now ‘Correlation’ to avoid clash with ‘correlation’ objects from ‘nlme’ package.

  • Doc rewritten in Roxygen2 and R Markdown (keeping only pca vignette). More strict importFrom() in particular from ‘ellipse’ package.

  • Elimination of files.R, character.R & graphics.R (experimental code that never reached CRAN).

  • Code rewritten to match tidyverse style guide. Functions that are not snake case like rwb.colors() or panel.hist() now are seconded by they equivalent rwb_colors() or panel_hist().

  • p() is renamed p0() to avoid a clash with p() in the ‘ascii’ package.

  • rx objects are renamed regex and perl objects are renamed pcre.

  • fileSymlink() is renamed fileSymLink() for correct camel case support.

  • path object is renamed filePath to avoid a clash with a path object in ‘grid’ package. Related function path(), is.path(), as.path() are renamed accordingly filePath(), is.filePath() and as.filePath(). The print() method is also adapted.

  • warnAssignWithEqualSign, warnPartialMatchArgs, warnPartialMatchAttr and warnPartialMatchDollar in options() are now initialized to FALSE if they are not defined yet there.

  • Import from data.table is eliminated. For now, @:= is the same as @<-.

  • Temporary objects are now saved in SciViews:TempEnv instead of TempEnv.

  • Improvements to activate warnings regarding possible R traps: if warnPartialMatchArgs, warnPartialMatchAttr, or warnPartialMatchDollar options are not defined yet, they are set to TRUE when the packages loads.

  • For a similar purpose, we would like to avoid using = in place of <- for assignation. So, the = function is redefined to display a warning when it is used and when warnAssignWithEqualSign option is set to TRUE (by default). The warning message also suggests it may be == erroneously written =.

  • Many functions are added with more coherent names for graphics.

  • Several changes in character.R.

  • Added the rwg.colors() function.

  • Small corrections in man pages.

  • Partial argument matching for all(.names) in names(). Fixed.

  • Added further (misc) functions.

  • New syntax using x@attr for attributes, plus := for replacement by reference inspired from data.table package, which SciViews now imports too.

  • Added functions to homogenize function names for strings and files manipulations.
  • Slight style refactoring of R code and man pages.
  • This is the first version on R-forge. There used to be a SciViews bundle that contained ‘svMisc’, ‘svSocket’, ‘svGUI’, …, but bundles are obsolete now. The new ‘SciViews’ package plays a similar role as the bundle.