diff --git a/.Rbuildignore b/.Rbuildignore index 28c9a0387..e1a72099b 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -1,3 +1,4 @@ +.ls-lint.yml ^.*\.Rproj$ ^.dev$ ^.gitlab-ci\.yml$ diff --git a/.lintr b/.lintr index b46e0047c..a7324e54e 100644 --- a/.lintr +++ b/.lintr @@ -1,4 +1,4 @@ -linters: linters_with_defaults( +linters: all_linters( absolute_path_linter = NULL, assignment_linter = NULL, commented_code_linter = NULL, @@ -18,6 +18,5 @@ linters: linters_with_defaults( undesirable_function_linter = NULL, undesirable_operator_linter = NULL, unnecessary_concatenation_linter(allow_single_expression = FALSE), - unused_import_linter = NULL, - defaults = linters_with_tags(tags = NULL) + unused_import_linter = NULL ) diff --git a/.ls-lint.yml b/.ls-lint.yml new file mode 100644 index 000000000..0da089971 --- /dev/null +++ b/.ls-lint.yml @@ -0,0 +1,2 @@ +ls: + .R: kebab-case diff --git a/R/combine_plots.R b/R/combine-plots.R similarity index 100% rename from R/combine_plots.R rename to R/combine-plots.R diff --git a/R/extract_stats.R b/R/extract-stats.R similarity index 100% rename from R/extract_stats.R rename to R/extract-stats.R diff --git a/R/ggbetweenstats_helpers.R b/R/ggbetweenstats-helpers.R similarity index 100% rename from R/ggbetweenstats_helpers.R rename to R/ggbetweenstats-helpers.R diff --git a/R/gghistostats_helpers.R b/R/gghistostats-helpers.R similarity index 100% rename from R/gghistostats_helpers.R rename to R/gghistostats-helpers.R diff --git a/R/ggpiestats_ggbarstats_helpers.R b/R/ggpiestats-ggbarstats-helpers.R similarity index 100% rename from R/ggpiestats_ggbarstats_helpers.R rename to R/ggpiestats-ggbarstats-helpers.R diff --git a/R/theme_ggstatsplot.R b/R/theme-ggstatsplot.R similarity index 100% rename from R/theme_ggstatsplot.R rename to R/theme-ggstatsplot.R diff --git a/data-raw/Titanic_full.R b/data-raw/Titanic-full.R similarity index 100% rename from data-raw/Titanic_full.R rename to data-raw/Titanic-full.R diff --git a/data-raw/bugs_long.R b/data-raw/bugs-long.R similarity index 100% rename from data-raw/bugs_long.R rename to data-raw/bugs-long.R diff --git a/data-raw/bugs_wide.R b/data-raw/bugs-wide.R similarity index 100% rename from data-raw/bugs_wide.R rename to data-raw/bugs-wide.R diff --git a/data-raw/iris_long.R b/data-raw/iris-long.R similarity index 100% rename from data-raw/iris_long.R rename to data-raw/iris-long.R diff --git a/data-raw/movies_wide_long.R b/data-raw/movies-wide-long.R similarity index 100% rename from data-raw/movies_wide_long.R rename to data-raw/movies-wide-long.R diff --git a/man/combine_plots.Rd b/man/combine_plots.Rd index b482818dd..62006ac4d 100644 --- a/man/combine_plots.Rd +++ b/man/combine_plots.Rd @@ -1,5 +1,5 @@ % Generated by roxygen2: do not edit by hand -% Please edit documentation in R/combine_plots.R +% Please edit documentation in R/combine-plots.R \name{combine_plots} \alias{combine_plots} \title{Combining and arranging multiple plots in a grid} diff --git a/man/extract_stats.Rd b/man/extract_stats.Rd index db9e10753..705534cad 100644 --- a/man/extract_stats.Rd +++ b/man/extract_stats.Rd @@ -1,5 +1,5 @@ % Generated by roxygen2: do not edit by hand -% Please edit documentation in R/extract_stats.R +% Please edit documentation in R/extract-stats.R \name{extract_stats} \alias{extract_stats} \alias{extract_subtitle} diff --git a/man/theme_ggstatsplot.Rd b/man/theme_ggstatsplot.Rd index 3287bd806..860e08cde 100644 --- a/man/theme_ggstatsplot.Rd +++ b/man/theme_ggstatsplot.Rd @@ -1,5 +1,5 @@ % Generated by roxygen2: do not edit by hand -% Please edit documentation in R/theme_ggstatsplot.R +% Please edit documentation in R/theme-ggstatsplot.R \name{theme_ggstatsplot} \alias{theme_ggstatsplot} \title{Default theme used in \code{{ggstatsplot}}} diff --git a/tests/testthat/test-combine_plots.R b/tests/testthat/test-combine-plots.R similarity index 100% rename from tests/testthat/test-combine_plots.R rename to tests/testthat/test-combine-plots.R diff --git a/tests/testthat/test-extract_stats.R b/tests/testthat/test-extract-stats.R similarity index 100% rename from tests/testthat/test-extract_stats.R rename to tests/testthat/test-extract-stats.R diff --git a/tests/testthat/test-pairwise_ggsignif.R b/tests/testthat/test-pairwise-ggsignif.R similarity index 100% rename from tests/testthat/test-pairwise_ggsignif.R rename to tests/testthat/test-pairwise-ggsignif.R