Skip to content

Commit

Permalink
fix namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
yjunechoe committed Sep 8, 2023
1 parent df9612a commit 734c5d3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
9 changes: 7 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Generated by roxygen2: do not edit by hand


if (getRversion() >= "4.0.0") {
importFrom(tools, R_user_dir)
} else {
importFrom(backports, R_user_dir)
}
S3method(format,empirical_clusters)
S3method(format,jlmer_mod)
S3method(format,jlmer_spec)
Expand All @@ -15,10 +21,8 @@ S3method(tidy,empirical_clusters)
S3method(tidy,jlmer_mod)
S3method(tidy,null_cluster_dists)
S3method(tidy,timewise_statistics)
export()
export(calculate_clusters_pvalues)
export(clusterpermute)
export(clusters_are_comparable)
export(compute_timewise_statistics)
export(extract_empirical_clusters)
export(extract_null_cluster_dists)
Expand All @@ -35,6 +39,7 @@ export(permute_timewise_statistics)
export(reset_rng_state)
export(set_rng_seed)
export(set_rng_state)
export(stopJulia)
export(tidy)
export(to_jlmer)
export(walk_threshold_steps)
Expand Down
1 change: 0 additions & 1 deletion R/calculate_pvalue.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ calculate_clusters_pvalues <- function(empirical_clusters, null_cluster_dists, a

#' @param error Whether to throw an error if incompatible
#' @rdname calculate_clusters_pvalues
#' @export
clusters_are_comparable <- function(empirical_clusters, null_cluster_dists, error = FALSE) {
if (!inherits(empirical_clusters, "empirical_clusters") || !inherits(null_cluster_dists, "null_cluster_dists")) {
cli::cli_abort("Can only compare object of class {.cls empirical_clusters} against object of class {.cls null_cluster_dists}")
Expand Down
2 changes: 1 addition & 1 deletion R/interop-utils.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' @importFrom JuliaConnectoR stopJulia
#' @export
JuliaConnectoR::stopJulia()
JuliaConnectoR::stopJulia

#' Set/get options for Julia progress bar
#'
Expand Down
5 changes: 4 additions & 1 deletion man/reexports.Rd

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

0 comments on commit 734c5d3

Please sign in to comment.