All notable changes to this project will be documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
duration
field to StepTwo
class to record the execution time for the spline fitting procedureCNAME
for apex domain https://powerly.dev
served via GitHub Pages.mvnorm
package (#11). Closes #5.cores
in Backend
when more cores than available were requested (#12). Closes #2.StepThree
plot (#13). Closes #3.Method
and step classes execution time (#15). The duration is now recorded in seconds. Closes #9.dev
branch from all GitHub
workflows (#14). Switched to the GitHub
flow. Closes #4.README.md
and removed open issues badge.NEWS
file.0.0000001
) for test checking whether the spline coefficients are estimated correctly.Range
instance to run only when the the 2.5th and 97.5th selected sample sizes are different quantities.summary
S3 method support for Validation
class objects.R
version to the CI pipeline for the R CMD check
job.R CMD check
workflow to use check
action from r-lib/actions
..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.roxygen2
templates for documenting the public API and S3 methods.plot()
methods from R6
classes into standalone S3 methods.dev
..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 https://github.com/SachaEpskamp/bootnet/issues/82.covr::codecov()
.Validation
class plot to README.md
file.GgmModel
tests to vary various model estimation and data generation parameters.testthat::expect_equal
to test with a tolerance of 1e-6
for Basis
and Solver
.GgmModel
estimation with qgraph::EBICglasso()
.Validation
class.NAMESPACE
via Roxygen2
.README.md
(e.g., CRAN version and check status).DESCRIPTION
file.GGM
estimation test would fail due to a precision level set too high.Description
field in DESCRIPTION
file to follow CRAN guidelines.powerly()
documentation to use the \doi{}
syntax as indicated by CRAN member Uwe Ligges.DESCRIPTION
to start with capital letter as indicated by CRAN member Uwe Ligges.DESCRIPTION
.summary()
support for Method
and Validation
objects.ggplot
plots and saving support for StepOne
, StepTwo
, StepThree
and Validation
objects.R
base plots to ggplot2
and patchwork
.Description
in DESCRIPTION
file as per comment by CRAN member Julia Haider.StepOne
unit test.GGM
model estimation. Restricted the unit test to compare the estimated edge weights up to 7 digits precision.usethis::use_github_action("test-coverage")
and badge to README.md
.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.R-CMD-check.yaml
.README.md
and package startup logo to only show major version.method
argument of validate()
to ensure that only instances of Method
class (i.e., produced by powerly()
are passed).Backend
stopping to on.exit()
in powerly()
to ensure the cluster is stopped no matter the execution status of the function.NEWS.md
for 1.2.0
.usethis::use_github_action_check_standard()
.R
session is not interactive.NEWS.md
for previous releases..remove_missing()
to clear any NA
values that may be present in .measures
in StepOne
class after the Monte Carlo procedure.validate()
public API to validate method results.Validation
class to perform validation on a Method
object.README.md
for validation()
and fixed images.StepThree
class.StepThree
class plots.powerly()
public API to run the method.generate_model()
public API to generate true models.Method
class.Method
class to run the method steps iteratively.Backend
class to manage parallel clusters.R6
OOP style into first stable release.ggm
object.statistic.power()
and statistic.mean()
.validate.recommendation()
prototype for validating a sample size recommendation.run.method()
prototype for running all method steps iteratively.run.step.1()
prototype for Step 1 of the method.run.step.2()
prototype for Step 2 of the method.run.step.3()
prototype for Step 3 of the method.Validation
class.parallel::setclusterSetRNGStream
pkgdown
generator.README.md
file from README.Rmd
via knitr
.StepThree
for better precision.