Skip to content

Releases: dipterix/dipsaus

CRAN Release 0.2.3

06 Aug 18:01
Compare
Choose a tag to compare

See news.md for details.

Major Changes

  • Added rstudioapi wrapper rs_edit_file to allow editing files directly in RStudio
  • Added a special %OF% to make sure the result is constrained

Minor Changes

  • parse_svec handles multiple lengths all together, and parse_svec(1:10) is equivalent to parse_svec("1:10")
  • Allowed rs_exec to run nested. However, there is a risk of parent process ends before the nested child process finishes. In this case, parent temporary directory will be destroyed, and child process will become orphan (results will become unavailable)
  • Replaced some functions from stringr to self-implemented base-R functions, plan to remove stringr in the future
  • Create shiny_input_bindings list on package load

Bug Fixes

  • Fixed "offset-parent" issue in compoundInput2 when max-height is unset, but overflow is still hidden for the select inputs
  • Fixed print_directory_tree where an if condition generates warning for vectors with lengths greater than 1

CRAN Release 0.2.1

30 May 13:12
Compare
Choose a tag to compare

See news.md for details.

Major Changes

  • Removed synchronicity package from dependency
  • dipsaus_lock and dipsaus_unlock is exclusive-only and will be deprecated in the future
  • PersistContainer is scheduled to be deprecated in the future
  • Re-export detectCores and digest
  • Added get_credential to generate strong passwords for different services using one single master password

Enhancement

  • sync_shiny_inputs uses fastmap instead of environments
  • sync_shiny_inputs uses the new bindEvent scheme to replace observeEvent
  • Added sorted argument to as.list.fastmap2
  • Ignored ... argument in as.list.fastqueue2
  • rs_show_shortcut shows current shortcut expressions

Bug Fixes

  • compoundInput2 now activates callback functions once using updateCompoundInput2
  • Fixed get_ram not working on windows when user has no access to run wmic command
  • Allow lapply_async progress bar to show in shiny applications (with backward compatibility)

CRAN Release 0.2.0

27 Jan 18:11
Compare
Choose a tag to compare

Bump from 0.1.6:

See news.md for details.

Major Changes

  • Allow fastmap2 to as.list recursively
  • Added mean_se to calculate mean and standard error of mean
  • Re-exported digest from digest package
  • Added combine_html_class and remove_html_class to manipulate HTML classes
  • Force enabled ANSI color display for rs_exec when the jobs run in RStudio
  • compoundInput2 now respects the par(fg) and sets foreground accordingly
  • Added lapply_callr to replace async_workers with cleaner and more robust implementation
  • Added as_pipe to make any functions to pipe-friendly
  • Added rs_add_shortcut to allow customized shortcuts in RStudio
  • Added missing_dots to detect if dots are missing values
  • Added fastquantile to estimate single quantile, which is faster than base R
  • Added RStudio shortcuts, allowing customized code from shortcuts
  • Added shiny_alert2 that launches large alerts in shiny applications
  • Added %<-?% to only assign when right-hand side expression is valid and not null
  • Removed qs_map, redis_map
  • Removed dependence qs, RcppRedis, htmltools
  • Removed make_async_evaluator

Minor Changes

  • Cleaned get_os so it does not depend on stringr anymore

Big Fixes

  • Fixed progress2 not working properly in non-interactive sessions (but shiny is still running)
  • Fixed missing_dots freezing the session when incorrectly called
  • Fixed autoconf warnings
  • Fixed a bug in lapply_async2 when failing to restore plan

CRAN Release 0.1.6

09 Jul 04:35
Compare
Choose a tag to compare

Bump from 0.0.9:

See news.md for details.

Major Changes from 0.0.9 to 0.1.6

  • Added fastcov2 to calculate covariance in parallel
  • Added sumsquared to calculate sum-squared faster
  • Added sexp_type to obtain internal data type code
  • Added function to convert base64 to its encoding characters
  • Added a wrapper for fastmap::fastqueue (fastqueue2) that shows friendly messages and can query elements
  • Removed function get_cpu as it's unstable
  • Soft-deprecate lock and unlock functions
  • Soft remove the experimental function make_async_evaluator to embrace the new restbatch package (experimental)
  • Added make_forked_clusters to allow multicore future in RStudio in one function
  • Added async_works to allow scheduling works in the background using multiple sessions.

Bug Fixes from 0.0.9 to 0.1.6

  • Robust get_ram function. The function will return NA on Solaris, and actual memories in byte on other platforms.
  • Fixed rs_focus_console not doing its job
  • Fixed rs_exec when wait is true but not actually waiting
  • Robust get_ram function. The function will return NA on Solaris, and actual memories in byte on other platforms.
  • lapply_async2 now restores previous future strategy on exiting
  • rs_exec now allows packages to be loaded before scripts

Enhancements from 0.0.9 to 0.1.6

  • Updated JavaScript libraries to fix vulnerability issues
  • Allow rs_exec to return to console after submitting jobs (RStudio version 1.4 required)
  • Removed unused functions in README.md.
  • make_forked_clusters allows to set a backup strategy once forked process fails (for example, on windows)
  • Instead of showing "finished", progress bar now shows square box once finished for cleaner output
  • Internally added attached_packages to detect attached packages

CRAN Release 0.0.9

24 Jul 21:44
Compare
Choose a tag to compare

Major Changes

  • Added rstudioapi related functions. When running with 'RStudio', take advantages of 'RStudio' user interface; when running in console, or non-interactive context, use default methods.
    • rs_active_project: 'RStudio' current active project name
    • rs_save_all: save all editing document when 'RStudio' is running
    • rs_exec: run job in 'RStudio', otherwise use Rscript
    • ask_yesno, ask_or_default also uses 'RStudio' dialogue
    • other functions starting with rs
  • add_to_session stores key-value pairs in shiny reactive sessions
  • clear_env clear elements in environments or fastmap2 instances
  • do_nothing literally does nothing
  • shiny_is_running returns whether current context is within a shiny app
  • test_farg tests whether a function contains certain arguments
  • capture_expr captures outputs when evaluating expression and returns a string
  • get_dev_attr get attributes from graphic devices
  • print_directory_tree generates directory tree as text

Minor Changes

  • dev_create can now set attributes and those attributes can be obtained by function get_dev_attr or method dev_attributes

Bug Fixes

  • soft-deprecated prepare_install that might cause infinite loops

CRAN Release 0.0.8

24 Jun 22:09
Compare
Choose a tag to compare

Major Changes

  • Removed dependency on crayon, added yaml
  • Added shared_finalizer to finalize multiple objects only when last one is garbage collected
  • added flex_div to generate div with flex layout and calculate size automatically

CRAN Release 0.0.7

12 May 11:01
Compare
Choose a tag to compare

dipsaus 0.0.7

Major Changes

  • Removed dependency on txtq and functions related
  • Added list_to_fastmap2 to convert a list to fastmap2
  • Exported to_datauri, allowing any files, especially images to be translated to base-64 code and can be directly used in websites
  • mask_function2 to mask variables within function by adding one environment layer on top of the function
  • new_function2 creates function that supports 'quasi-quosure' syntax

Minor Changes

  • Allow maximum height set for compoundInput2
  • fastmap2 now accept multi-assignment with single value

Bug Fixes

  • fastmap2 subset method now accept integers instead raising errors

CRAN Release 0.0.6

05 Apr 23:36
Compare
Choose a tag to compare

dipsaus 0.0.6

Major Changes

  • Added support for R 3.5
  • Added %D% a decorator function that works like python decorators
  • Added get_dots that can get variable from ... without evaluating other variables
  • Added dev_create to control switching among graphical devices
  • Added use_shiny_dipsaus() to import all styles and JavaScript
  • Added a wrapper for fastmap::fastmap - fastmap2, which provides several generic functions, making the original fastmap more like an environment
  • Added lapply_async2, a naive version of future.lapply, but with callbacks, which is useful if play-back message is required. This is experimental. In the future when package progressr is online, this function will be adjusted.
  • Added prepare_install to install CRAN packages at next startup, avoiding restarting R session multiple times.

Minor Changes

  • lapply_async2 now supporting more load-balance settings

Bug Fixes

  • 11 JavaScript library vulnerability bug fixed

CRAN Release 0.0.4

21 Jan 01:01
Compare
Choose a tag to compare

Major Changes

  • Canceled exporting queues because of strange behavior in windows. (plan to fix this for the next version)
  • Implemented function to convert Base64 DataURI string to image
  • cat2 now persist logger files on local drive, and can be exported via packup_logger
  • set_shiny_input to set shiny input object
  • baselineArray calculates baseline for arrays with internal parallel support
  • shift_array to fast shift array along certain dimension
  • %+-% plus-minus operator; %=>% a "JavaScript" style of creating functions

Bug Fixes

  • Fixed compoundInput2 not initialized when rendered in shiny::renderUI

CRAN Release 0.0.3

18 Nov 12:01
Compare
Choose a tag to compare

Major Changes

  • Added four cross-session map types qs_map, text_map, rds_map, and redis_map
  • Created R6 class PersistContainer, designed to cache key-value pairs on the local hard disk
  • Implemented function make_async_evaluator that works as scheduler to queue arbitrary number of tasks without blocking main R session

Minor Changes

  • Renamed txtq_queue to text_queue
  • Added four vignettes
  • Minor fixes