Skip to content

Releases: mihaiconstantin/powerly

powerly release v1.7.1

08 Nov 08:42
Compare
Choose a tag to compare

Improvements

powerly release v1.7.0

08 Nov 08:00
Compare
Choose a tag to compare

Features

  • Add summary S3 method support for Validation class objects.

Improvements

  • Add new R version to the CI pipeline for the R CMD check job.

  • Update R CMD check workflow to use check action from r-lib/actions.

  • Add explicit .data and .env pronoun calls (i.e., from the rlang package) to variables used inside data-masking function (e.g., ggplot2::aes()) to avoid CRAN notes regarding missing bindings for global variables. See this question for more information: https://stackoverflow.com/q/9439256/5252007.

  • Update plot functions to respect the signature of the S3 plot generic.

  • Improve documentation and positioning of figures in the help pages.

  • Create roxygen2 templates for documenting the public API and S3 methods.

  • Extract plot() methods from R6 classes into standalone S3 methods.

  • Update package start-up logo with message to welcome and encourage users to submit ideas for improving the package.

  • Extend CI workflow to include branch dev.

  • Fix preprint URL in package documentation.

  • Fix heading typo in news file.

Bug fixes

  • Fix backend test where the cluster would contain an unexpected .Random.seed. The .Random.seed is caused by loading the bootnet package which in turn loads the snow package. The snow package uses the RNG within the .onLoad() function to draw from the uniform distribution and set a port number. The result of this operation is a .Random.seed in the .GlobalEnv. For more information see: https://stackoverflow.com/q/69866215/5252007 and SachaEpskamp/bootnet#82.

powerly release v1.6.1

05 Oct 15:15
Compare
Choose a tag to compare

Improvements

  • Update line exclusions for covr::codecov().

powerly release v1.6.0

05 Oct 15:03
Compare
Choose a tag to compare

Improvements

  • Add new Validation class plot to README.md file.

  • Update GgmModel tests to vary various model estimation and data generation parameters.

  • Update testthat::expect_equal to test with a tolerance of 1e-6 for Basis and Solver.

  • Replace own GgmModel estimation with qgraph::EBICglasso().

  • Add ECDF plot to Validation class.

  • Import external functions to NAMESPACE via Roxygen2.

  • Add more cool badges to README.md (e.g., CRAN version and check status).

  • Add missing period in package description in DESCRIPTION file.

Bug fixes

  • Fix issue where GGM estimation test would fail due to a precision level set too high.

powerly release v1.5.2

29 Sep 18:59
Compare
Choose a tag to compare

Bug fixes

  • Updated Description field in DESCRIPTION file to respect CRAN guidelines.

powerly release v1.5.1

29 Sep 13:54
Compare
Choose a tag to compare

Bug fixes

  • Updated preprint link in powerly() documentation to use the \doi{} syntax
    as indicated by CRAN member Uwe Ligges.

  • Updated DESCRIPTION to start with a capital letter as indicated by CRAN member
    Uwe Ligges.

  • Fix typo in DESCRIPTION.

powerly release v1.5.0

28 Sep 21:11
Compare
Choose a tag to compare

Features

  • Add preliminary summary() support for Method and Validation objects.

  • Add ggplot plots and saving support for StepOne, StepTwo, StepThree
    and Validation objects.

Improvements

  • Migrate from R base plots to ggplot2 and patchwork.

  • Update citation and references to link to the preprint available at psyarxiv.com/j5v7u.

  • Add more detailed Description in DESCRIPTION file as per comment by CRAN
    member Julia Haider.

Bug fixes

  • Fix seed in StepOne unit test.

  • Fix superfluous test fail for GGM model estimation. Restricted the unit test
    to compare the estimated edge weights up to 7 digits precision.

powerly release v1.4.0

31 Aug 17:34
Compare
Choose a tag to compare

Improvements

  • Add code coverage workflow based on action provided by usethis::use_github_action("test-coverage") and badge to README.md.

powerly release v1.3.0

31 Aug 15:24
Compare
Choose a tag to compare

Bug fixes

  • Fix cluster creation bug in Backend when the machine had only 1 or 2 cores.
    The previous version would result in an error when the machine contained only
    1 or 2 cores. Now, when the machine has only 1 core, the cluster creation will
    fail, with a message that not enough cores are available. When the machine has
    2 cores, all 2 cores are used. In all other cases, the number of cores used is
    given by the number of cores on the machine minus one.

Improvements

  • Add names and comments to workflow file R-CMD-check.yaml.

  • Update README.md and package startup logo to only show major version.

  • Update existing tests and added new ones.

  • Add type check for method argument of validate() to ensure that only
    instances of Method class (i.e., produced by powerly() are passed).

  • Add Backend stopping to on.exit() in powerly() to ensure the cluster is
    stopped no matter the execution status of the function.

  • Improve logic around setting and resetting the number of cores when the
    cluster is created and stopped (i.e., also for adopted clusters).

  • Correct version number and add changes in NEWS.md for 1.2.0.

powerly release v1.2.0

30 Aug 13:57
Compare
Choose a tag to compare

Features

  • add R CMD check GitHub workflow

Bug fixes

  • restrict tests to using a maximum of two cores to respect CRAN restriction

Improvements

  • hide package logo at startup if the R session is not interactive
  • add more informative changelogs to NEWS.md