Skip to content

Commit

Permalink
Major version
Browse files Browse the repository at this point in the history
  • Loading branch information
masiraji committed May 2, 2024
1 parent a648922 commit 6edef33
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 113 deletions.
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

# tabledown 1.0.0

- Internal changes only.
- Version number updated to major updates
-No example requires execution time >5s.


# tabledown 0.0.3.9003
Expand Down
18 changes: 0 additions & 18 deletions R/cfa.tab.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,6 @@
#' @param x A lavaan class object.
#' @param robust If TRUE, will provide robust fit indices when applicable instead of the default indices.
#'
#' @examples
#'data <- tabledown::FFMQ.CFA
#'FF.model.Original <- "Observe =~ item1 + item6 + item11 + item15 +
#'item20 + item26 + item31 + item36
#'Describe =~ item2 + item7 + Ritem12 + Ritem16 + Ritem22 + item27 +
#'item32 + item37
#'Awareness =~ Ritem5 + Ritem8 + Ritem13 + Ritem18 + Ritem23 + Ritem28
#'+ Ritem34 + Ritem38
#'Nonjudge =~ Ritem3 + Ritem10 + Ritem14 + Ritem17 + Ritem25 + Ritem30+
#'Ritem35 + Ritem39
#'Nonreact =~ item4 + item9 + item19 + item21 + item24 + item29 + item33 "
#'fit.original <- lavaan::cfa(FF.model.Original, data = data, estimator = "MLR",
#'mimic = "Mplus")
#'table <- cfa.tab(fit.original, robust =TRUE)
#'
#'
#'@return
#'A summary with CFA fit indices in a matrix structure.


#' @importFrom lavaan fitmeasures
Expand Down
37 changes: 0 additions & 37 deletions R/cfa.tab.multi.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,43 +14,6 @@
#' @param b fifth object of class lavaan (Optional).
#' @param robust If TRUE, will provide robust fit indices when applicable instead of the default indices.
#'
#'@examples
#'data <- tabledown::FFMQ.CFA
#'FF.model.Original <- "Observe =~ item1 + item6 + item11 + item15 +
#'item20 + item26 + item31 + item36
#'Describe =~ item2 + item7 + Ritem12 + Ritem16 + Ritem22 + item27 +
#'item32 + item37
#' Awareness =~ Ritem5 + Ritem8 + Ritem13 + Ritem18 + Ritem23 + Ritem28 +
#' Ritem34 + Ritem38
#' Nonjudge =~ Ritem3 + Ritem10 + Ritem14 + Ritem17 + Ritem25 +
#' Ritem30+ Ritem35 + Ritem39
#' Nonreact =~ item4 + item9 + item19 + item21 + item24 + item29 + item33 "

#'fit.original <- lavaan::cfa(FF.model.Original, data = data,
#'estimator = "MLR", mimic = "Mplus")

#'FF.model.Cor <- "Observe =~ item1 + item6 + item11 + item15 +
#'item20 + item26 + item31 + item36
#' Describe =~ item2 + item7 + item27 + item32 + item37
#' Awareness =~ Ritem5 + Ritem8 + Ritem13 + Ritem18 + Ritem23 +
#' Ritem28 + Ritem34
#' Nonjudge =~ Ritem10 + Ritem14 + Ritem25 + Ritem30+ Ritem35
#' Nonreact =~ item4 + item9 + item19 + item21 + item24 + item29 + item33
#'Ritem28 ~~ Ritem34
#'Ritem23 ~~ Ritem34"
#'fit.Cor <- lavaan::cfa(FF.model.Cor, data = data, estimator = "MLR", mimic = "Mplus")

#'FF.short <- "Observe =~ item36 + item26 +item20 + item11
#'Describe =~ item2 + item7 + item27 + item32
#'Awareness =~ Ritem8 + Ritem13 + Ritem23 + Ritem28
#' Nonjudge =~ Ritem10 + Ritem25 + Ritem30 + Ritem35
#' Nonreact =~ item9 + item19 + item21 + item24"
#'fit.short <- lavaan::cfa(FF.short, data = data, estimator = "MLR", mimic = "Mplus")

#'table <- cfa.tab.multi(fit.original, fit.Cor, fit.short, robust = TRUE)
#'
#'@return
#'A summary of CFA fit indices from several lavaan class objects. Output object is a matrix.
#' @importFrom lavaan fitmeasures
#' @importFrom MOTE apa
#' @export
Expand Down
13 changes: 13 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## Resubmission 07 on 02 MAY 2024

This is the 7th re submission. In this submission -
-There is no notes in feasibility checks.
-Version number no longer contains latge component
-No examples requires execution time higher than 5s
R-CMD results indicated
* 0 errors, 0 warnings, 0 notes.





## Resubmission 06 on 30 April 2024

This is the 6th re submission. In this submission we have checked for all R-CMD-Check failures as suggested.
Expand Down
7 changes: 5 additions & 2 deletions data-raw/devtools.R
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ devtools::check_rhub()
devtools::release()
devtools::check_win_devel()

fledge::bump_version("patch")

fledge::bump_version("major")
#change the bump_version type before doing edits

#Resubmit
devtools::submit_cran()
Expand All @@ -119,3 +119,6 @@ usethis::use_pkgdown_github_pages()

#Fesibility check
devtools::check_rhub()

# Update version number
usethis::use_version()
20 changes: 0 additions & 20 deletions man/cfa.tab.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 0 additions & 35 deletions man/cfa.tab.multi.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6edef33

Please sign in to comment.