From f605f73f1eb92f7c04f54fe6fe32c1b063096b3c Mon Sep 17 00:00:00 2001 From: Hajk-Georg Drost Date: Sat, 2 Dec 2023 16:30:49 +0100 Subject: [PATCH] update docs --- docs/404.html | 2 +- docs/LICENSE-text.html | 2 +- docs/articles/Distances.html | 4 +-- docs/articles/Information_Theory.html | 2 +- docs/articles/Introduction.html | 2 +- docs/articles/Many_Distances.html | 32 +++++++++---------- docs/articles/index.html | 2 +- docs/authors.html | 2 +- docs/index.html | 6 ++-- docs/news/index.html | 28 ++++++++++------ docs/paper.html | 2 +- docs/pkgdown.yml | 2 +- docs/reference/CE.html | 2 +- docs/reference/H.html | 2 +- docs/reference/JE.html | 2 +- docs/reference/JSD.html | 2 +- docs/reference/KL.html | 2 +- docs/reference/MI.html | 2 +- docs/reference/additive_symm_chi_sq.html | 2 +- docs/reference/avg.html | 2 +- docs/reference/bhattacharyya.html | 2 +- docs/reference/binned.kernel.est.html | 2 +- docs/reference/canberra.html | 2 +- docs/reference/chebyshev.html | 2 +- docs/reference/clark_sq.html | 2 +- docs/reference/cosine_dist.html | 2 +- docs/reference/czekanowski.html | 2 +- docs/reference/dice_dist.html | 2 +- docs/reference/dist.diversity.html | 2 +- docs/reference/dist_many_many.html | 2 +- docs/reference/dist_one_many.html | 2 +- docs/reference/dist_one_one.html | 2 +- docs/reference/distance.html | 2 +- docs/reference/divergence_sq.html | 2 +- docs/reference/estimate.probability.html | 2 +- docs/reference/euclidean.html | 2 +- docs/reference/fidelity.html | 2 +- docs/reference/gJSD.html | 2 +- docs/reference/getDistMethods.html | 2 +- docs/reference/gower.html | 2 +- docs/reference/harmonic_mean_dist.html | 2 +- docs/reference/hellinger.html | 2 +- docs/reference/index.html | 2 +- docs/reference/inner_product.html | 2 +- docs/reference/intersection_dist.html | 2 +- docs/reference/jaccard.html | 2 +- docs/reference/jeffreys.html | 2 +- docs/reference/jensen_difference.html | 2 +- docs/reference/jensen_shannon.html | 2 +- docs/reference/k_divergence.html | 2 +- docs/reference/kulczynski_d.html | 2 +- docs/reference/kullback_leibler_distance.html | 2 +- docs/reference/kumar_hassebrook.html | 2 +- docs/reference/kumar_johnson.html | 2 +- docs/reference/lin.cor.html | 2 +- docs/reference/lorentzian.html | 2 +- docs/reference/manhattan.html | 2 +- docs/reference/matusita.html | 2 +- docs/reference/minkowski.html | 2 +- docs/reference/motyka.html | 2 +- docs/reference/neyman_chi_sq.html | 2 +- docs/reference/pearson_chi_sq.html | 2 +- docs/reference/prob_symm_chi_sq.html | 2 +- docs/reference/ruzicka.html | 2 +- docs/reference/soergel.html | 2 +- docs/reference/sorensen.html | 2 +- docs/reference/squared_chi_sq.html | 2 +- docs/reference/squared_chord.html | 2 +- docs/reference/squared_euclidean.html | 2 +- docs/reference/taneja.html | 2 +- docs/reference/tanimoto.html | 2 +- docs/reference/topsoe.html | 2 +- docs/reference/wave_hedges.html | 2 +- src/RcppExports.cpp | 8 ++--- 74 files changed, 113 insertions(+), 103 deletions(-) diff --git a/docs/404.html b/docs/404.html index 33b1e0b..fa58053 100644 --- a/docs/404.html +++ b/docs/404.html @@ -32,7 +32,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index ade8aa2..e2dc94f 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/articles/Distances.html b/docs/articles/Distances.html index b4c443c..bc8cc3d 100644 --- a/docs/articles/Distances.html +++ b/docs/articles/Distances.html @@ -33,7 +33,7 @@ philentropy - 0.8.0.9000 + 0.8.0 @@ -238,7 +238,7 @@

Simple Example# install.packages("microbenchmark") library(microbenchmark) -microbenchmark( +microbenchmark( distance(x,method = "euclidean", test.na = FALSE), dist(x,method = "euclidean"), euclidean(P, Q, FALSE) diff --git a/docs/articles/Information_Theory.html b/docs/articles/Information_Theory.html index ea99899..425d2ea 100644 --- a/docs/articles/Information_Theory.html +++ b/docs/articles/Information_Theory.html @@ -33,7 +33,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/articles/Introduction.html b/docs/articles/Introduction.html index 08502a4..510d3df 100644 --- a/docs/articles/Introduction.html +++ b/docs/articles/Introduction.html @@ -33,7 +33,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/articles/Many_Distances.html b/docs/articles/Many_Distances.html index d27606d..3bbdb1e 100644 --- a/docs/articles/Many_Distances.html +++ b/docs/articles/Many_Distances.html @@ -33,7 +33,7 @@ philentropy - 0.8.0.9000 + 0.8.0 @@ -176,11 +176,11 @@

## distance(rbind(P, Q), method = "euclidean", test.na = FALSE, mute.message = TRUE) ## euclidean(P, Q, FALSE) ## dist_one_one(P, Q, method = "euclidean", testNA = FALSE) -## min lq mean median uq max neval cld -## 6027 6396.0 8476.75 6724.0 7113.5 164943 100 ab -## 9512 10045.0 18886.24 10311.5 10844.5 845707 100 a -## 820 922.5 1442.79 1025.0 1107.0 32595 100 b -## 1230 1353.0 1758.90 1476.0 1599.0 27552 100 b +## min lq mean median uq max neval +## 5576 5986 7236.09 6211.5 6416.5 98728 100 +## 8897 9266 16638.21 9532.5 10291.0 689866 100 +## 738 820 1089.78 861.0 943.0 5371 100 +## 1066 1230 1887.23 1291.5 1435.0 34932 100

All of them return the same, single value. However, as you can see in the benchmark above, some are more flexible, and others are faster.

@@ -219,10 +219,10 @@

## as.matrix(dist(rbind(P, M), method = "euclidean"))[1, ][-1] ## distance(rbind(P, M), method = "euclidean", test.na = FALSE, mute.message = TRUE)[1, ][-1] ## dist_one_many(P, M, method = "euclidean", testNA = FALSE) -## min lq mean median uq max neval cld -## 141.491 166.337 179.89980 181.3225 192.413 299.300 100 a -## 9796.212 10308.589 11858.90929 10585.3185 13777.988 15164.670 100 b -## 10.045 10.701 14.06792 13.4685 16.031 56.867 100 a +## min lq mean median uq max neval +## 126.034 140.5890 152.14772 149.9780 160.1870 259.776 100 +## 8837.550 9265.1390 10530.81351 9853.6325 11721.6950 13247.551 100 +## 9.307 9.7785 11.84285 10.9265 12.2795 55.842 100

The dist_one_many() returns a vector of values. It is, in this case, much faster than distance(), and visibly faster than dist() while allowing for more possible @@ -264,12 +264,12 @@

dist_many_many(M1, M2, method = "euclidean", testNA = FALSE) )
## Unit: microseconds
-##                                                          expr      min       lq
-##                                            many_dists(M1, M2) 1038.940 1080.494
-##  dist_many_many(M1, M2, method = "euclidean", testNA = FALSE)   15.088   16.277
-##        mean    median       uq      max neval cld
-##  1232.97537 1125.9420 1216.306 5800.516   100  a 
-##    18.62712   18.2655   20.213   44.936   100   b
+## expr min lq +## many_dists(M1, M2) 939.433 956.284 +## dist_many_many(M1, M2, method = "euclidean", testNA = FALSE) 13.940 14.391 +## mean median uq max neval +## 1103.78724 976.005 1011.183 4453.543 100 +## 15.16098 14.637 14.924 39.606 100

Both many_dists()and dist_many_many() return a matrix. The above benchmark concludes that dist_many_many() is about 30 times faster than our custom diff --git a/docs/articles/index.html b/docs/articles/index.html index ef3f963..e69929a 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/authors.html b/docs/authors.html index 65a42b9..2d88e04 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/index.html b/docs/index.html index 4c8bb4b..47a5ade 100644 --- a/docs/index.html +++ b/docs/index.html @@ -33,7 +33,7 @@ philentropy - 0.8.0.9000 + 0.8.0 @@ -89,7 +89,7 @@

-

Travis-CI Build Status status rstudio mirror downloads rstudio mirror downloads

+

status rstudio mirror downloads rstudio mirror downloads

Similarity and Distance Quantification between Probability Functions

@@ -104,7 +104,7 @@

Si

Installation

-# install philentropy version 0.7.0 from CRAN
+# install philentropy version 0.8.0 from CRAN
 install.packages("philentropy")
diff --git a/docs/news/index.html b/docs/news/index.html index 7849c44..fe02957 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0
@@ -67,10 +67,20 @@

Changelog

- +
-

New Features

-
+

Updates

+

Fixing warning on Debian systems:

+
Result: WARN 
+  Found the following significant warnings:
+    RcppExports.cpp:865:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
+    RcppExports.cpp:899:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
+    RcppExports.cpp:933:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
+    RcppExports.cpp:967:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
+  See ‘/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/philentropy.Rcheck/00install.out’ for details.
+  * used C++ compiler: ‘Debian clang version 17.0.5 (1)’
+
  • The solution was to implement this quick fix by reinstalling Rcpp v1.0.11.6 via devtools::install_github("https://github.com/RcppCore/Rcpp") and rerun Rcpp::compileAttributes().
  • +
@@ -100,7 +110,7 @@

Updatesdplyr::between() which is now poorman::between() (Many thanks to Patrice Kiener for this suggestion)
  • distance(..., as.dist.obj = TRUE) now returns the same values as stats::dist() when working with 2 dimensional input matrices (2 vector inputs) (see #29) (Many thanks to Jakub Nowosad (@Nowosad)) Example:
  • -
    +
     
     library(philentropy)
     
    @@ -120,7 +130,7 @@ 
    diff --git a/docs/reference/additive_symm_chi_sq.html b/docs/reference/additive_symm_chi_sq.html index 55ddf7e..f0e3556 100644 --- a/docs/reference/additive_symm_chi_sq.html +++ b/docs/reference/additive_symm_chi_sq.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0
    diff --git a/docs/reference/avg.html b/docs/reference/avg.html index 169f836..662c70f 100644 --- a/docs/reference/avg.html +++ b/docs/reference/avg.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0

    diff --git a/docs/reference/bhattacharyya.html b/docs/reference/bhattacharyya.html index 5d1ac8d..2aa9ffa 100644 --- a/docs/reference/bhattacharyya.html +++ b/docs/reference/bhattacharyya.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/binned.kernel.est.html b/docs/reference/binned.kernel.est.html index 1c0942c..a885702 100644 --- a/docs/reference/binned.kernel.est.html +++ b/docs/reference/binned.kernel.est.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/canberra.html b/docs/reference/canberra.html index 068492b..a1cddfd 100644 --- a/docs/reference/canberra.html +++ b/docs/reference/canberra.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/chebyshev.html b/docs/reference/chebyshev.html index 106f591..556fd0f 100644 --- a/docs/reference/chebyshev.html +++ b/docs/reference/chebyshev.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/clark_sq.html b/docs/reference/clark_sq.html index 2ebcfeb..80aa9a2 100644 --- a/docs/reference/clark_sq.html +++ b/docs/reference/clark_sq.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/cosine_dist.html b/docs/reference/cosine_dist.html index 2b86271..32cb296 100644 --- a/docs/reference/cosine_dist.html +++ b/docs/reference/cosine_dist.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/czekanowski.html b/docs/reference/czekanowski.html index a1d6ec7..9e17d8c 100644 --- a/docs/reference/czekanowski.html +++ b/docs/reference/czekanowski.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/dice_dist.html b/docs/reference/dice_dist.html index eb7f88b..daf9970 100644 --- a/docs/reference/dice_dist.html +++ b/docs/reference/dice_dist.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/dist.diversity.html b/docs/reference/dist.diversity.html index 1d64b78..8db8754 100644 --- a/docs/reference/dist.diversity.html +++ b/docs/reference/dist.diversity.html @@ -18,7 +18,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/dist_many_many.html b/docs/reference/dist_many_many.html index 0244a36..d18200f 100644 --- a/docs/reference/dist_many_many.html +++ b/docs/reference/dist_many_many.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/dist_one_many.html b/docs/reference/dist_one_many.html index 8bb8322..c95c5e4 100644 --- a/docs/reference/dist_one_many.html +++ b/docs/reference/dist_one_many.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/dist_one_one.html b/docs/reference/dist_one_one.html index 670e8a0..082f2fc 100644 --- a/docs/reference/dist_one_one.html +++ b/docs/reference/dist_one_one.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/distance.html b/docs/reference/distance.html index 4a520b7..79d5238 100644 --- a/docs/reference/distance.html +++ b/docs/reference/distance.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/divergence_sq.html b/docs/reference/divergence_sq.html index 57e7ab5..90eb52a 100644 --- a/docs/reference/divergence_sq.html +++ b/docs/reference/divergence_sq.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/estimate.probability.html b/docs/reference/estimate.probability.html index 00c8358..c7e646b 100644 --- a/docs/reference/estimate.probability.html +++ b/docs/reference/estimate.probability.html @@ -25,7 +25,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/euclidean.html b/docs/reference/euclidean.html index 6c971ed..c63430b 100644 --- a/docs/reference/euclidean.html +++ b/docs/reference/euclidean.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/fidelity.html b/docs/reference/fidelity.html index 2a0bdc7..51313d7 100644 --- a/docs/reference/fidelity.html +++ b/docs/reference/fidelity.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/gJSD.html b/docs/reference/gJSD.html index 5d0080c..40c6971 100644 --- a/docs/reference/gJSD.html +++ b/docs/reference/gJSD.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/getDistMethods.html b/docs/reference/getDistMethods.html index 5307461..48cd15d 100644 --- a/docs/reference/getDistMethods.html +++ b/docs/reference/getDistMethods.html @@ -19,7 +19,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/gower.html b/docs/reference/gower.html index a8bb17a..cc39ff5 100644 --- a/docs/reference/gower.html +++ b/docs/reference/gower.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/harmonic_mean_dist.html b/docs/reference/harmonic_mean_dist.html index 3ebfd6c..14e8d54 100644 --- a/docs/reference/harmonic_mean_dist.html +++ b/docs/reference/harmonic_mean_dist.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/hellinger.html b/docs/reference/hellinger.html index b97f52d..88330c2 100644 --- a/docs/reference/hellinger.html +++ b/docs/reference/hellinger.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/index.html b/docs/reference/index.html index 3b92ed1..6c3606f 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/inner_product.html b/docs/reference/inner_product.html index 399a15a..9d440b0 100644 --- a/docs/reference/inner_product.html +++ b/docs/reference/inner_product.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/intersection_dist.html b/docs/reference/intersection_dist.html index 6927c98..114a3a0 100644 --- a/docs/reference/intersection_dist.html +++ b/docs/reference/intersection_dist.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/jaccard.html b/docs/reference/jaccard.html index 94792d1..7f6182d 100644 --- a/docs/reference/jaccard.html +++ b/docs/reference/jaccard.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/jeffreys.html b/docs/reference/jeffreys.html index f722b57..ed386de 100644 --- a/docs/reference/jeffreys.html +++ b/docs/reference/jeffreys.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/jensen_difference.html b/docs/reference/jensen_difference.html index f782f4a..dc45d9f 100644 --- a/docs/reference/jensen_difference.html +++ b/docs/reference/jensen_difference.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/jensen_shannon.html b/docs/reference/jensen_shannon.html index d408051..7ceea58 100644 --- a/docs/reference/jensen_shannon.html +++ b/docs/reference/jensen_shannon.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/k_divergence.html b/docs/reference/k_divergence.html index e099c22..49e6927 100644 --- a/docs/reference/k_divergence.html +++ b/docs/reference/k_divergence.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/kulczynski_d.html b/docs/reference/kulczynski_d.html index 36f7b04..f558f6c 100644 --- a/docs/reference/kulczynski_d.html +++ b/docs/reference/kulczynski_d.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/kullback_leibler_distance.html b/docs/reference/kullback_leibler_distance.html index eafe598..35cbfb6 100644 --- a/docs/reference/kullback_leibler_distance.html +++ b/docs/reference/kullback_leibler_distance.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/kumar_hassebrook.html b/docs/reference/kumar_hassebrook.html index 10299df..e30d466 100644 --- a/docs/reference/kumar_hassebrook.html +++ b/docs/reference/kumar_hassebrook.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/kumar_johnson.html b/docs/reference/kumar_johnson.html index ed3fe27..be76c6e 100644 --- a/docs/reference/kumar_johnson.html +++ b/docs/reference/kumar_johnson.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/lin.cor.html b/docs/reference/lin.cor.html index 6370b97..9df5cc8 100644 --- a/docs/reference/lin.cor.html +++ b/docs/reference/lin.cor.html @@ -18,7 +18,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/lorentzian.html b/docs/reference/lorentzian.html index e3976c5..53cdf9d 100644 --- a/docs/reference/lorentzian.html +++ b/docs/reference/lorentzian.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/manhattan.html b/docs/reference/manhattan.html index 27b13f0..c705af7 100644 --- a/docs/reference/manhattan.html +++ b/docs/reference/manhattan.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/matusita.html b/docs/reference/matusita.html index 2975fb7..43fd70b 100644 --- a/docs/reference/matusita.html +++ b/docs/reference/matusita.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/minkowski.html b/docs/reference/minkowski.html index 5ea5074..0a8f9a1 100644 --- a/docs/reference/minkowski.html +++ b/docs/reference/minkowski.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/motyka.html b/docs/reference/motyka.html index 6243bfe..6dba7c0 100644 --- a/docs/reference/motyka.html +++ b/docs/reference/motyka.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/neyman_chi_sq.html b/docs/reference/neyman_chi_sq.html index 5794812..26b8a58 100644 --- a/docs/reference/neyman_chi_sq.html +++ b/docs/reference/neyman_chi_sq.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/pearson_chi_sq.html b/docs/reference/pearson_chi_sq.html index 229cf30..797cd30 100644 --- a/docs/reference/pearson_chi_sq.html +++ b/docs/reference/pearson_chi_sq.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/prob_symm_chi_sq.html b/docs/reference/prob_symm_chi_sq.html index 2d728d4..3a6fbd4 100644 --- a/docs/reference/prob_symm_chi_sq.html +++ b/docs/reference/prob_symm_chi_sq.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/ruzicka.html b/docs/reference/ruzicka.html index 2287129..fed18d7 100644 --- a/docs/reference/ruzicka.html +++ b/docs/reference/ruzicka.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/soergel.html b/docs/reference/soergel.html index 9e2d14d..15fa63f 100644 --- a/docs/reference/soergel.html +++ b/docs/reference/soergel.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/sorensen.html b/docs/reference/sorensen.html index 77ef3de..1279925 100644 --- a/docs/reference/sorensen.html +++ b/docs/reference/sorensen.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/squared_chi_sq.html b/docs/reference/squared_chi_sq.html index 3b99c6c..5df9e5f 100644 --- a/docs/reference/squared_chi_sq.html +++ b/docs/reference/squared_chi_sq.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/squared_chord.html b/docs/reference/squared_chord.html index 17e100a..3d8d781 100644 --- a/docs/reference/squared_chord.html +++ b/docs/reference/squared_chord.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/squared_euclidean.html b/docs/reference/squared_euclidean.html index f35c5bc..8588a86 100644 --- a/docs/reference/squared_euclidean.html +++ b/docs/reference/squared_euclidean.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/taneja.html b/docs/reference/taneja.html index 7d19b61..dda6536 100644 --- a/docs/reference/taneja.html +++ b/docs/reference/taneja.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/tanimoto.html b/docs/reference/tanimoto.html index 4d19496..6ae78bb 100644 --- a/docs/reference/tanimoto.html +++ b/docs/reference/tanimoto.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/topsoe.html b/docs/reference/topsoe.html index bd05a96..df54911 100644 --- a/docs/reference/topsoe.html +++ b/docs/reference/topsoe.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/docs/reference/wave_hedges.html b/docs/reference/wave_hedges.html index 454cec7..52179ca 100644 --- a/docs/reference/wave_hedges.html +++ b/docs/reference/wave_hedges.html @@ -17,7 +17,7 @@ philentropy - 0.8.0.9000 + 0.8.0 diff --git a/src/RcppExports.cpp b/src/RcppExports.cpp index 76160e5..ad464ea 100644 --- a/src/RcppExports.cpp +++ b/src/RcppExports.cpp @@ -862,7 +862,7 @@ RcppExport SEXP _philentropy_as_matrix(SEXP xSEXP) { if (rcpp_isError_gen) { SEXP rcpp_msgSEXP_gen = Rf_asChar(rcpp_result_gen); UNPROTECT(1); - Rf_error(CHAR(rcpp_msgSEXP_gen)); + Rf_error("%s", CHAR(rcpp_msgSEXP_gen)); } UNPROTECT(1); return rcpp_result_gen; @@ -896,7 +896,7 @@ RcppExport SEXP _philentropy_as_data_frame(SEXP matSEXP) { if (rcpp_isError_gen) { SEXP rcpp_msgSEXP_gen = Rf_asChar(rcpp_result_gen); UNPROTECT(1); - Rf_error(CHAR(rcpp_msgSEXP_gen)); + Rf_error("%s", CHAR(rcpp_msgSEXP_gen)); } UNPROTECT(1); return rcpp_result_gen; @@ -930,7 +930,7 @@ RcppExport SEXP _philentropy_sum_rcpp(SEXP vecSEXP) { if (rcpp_isError_gen) { SEXP rcpp_msgSEXP_gen = Rf_asChar(rcpp_result_gen); UNPROTECT(1); - Rf_error(CHAR(rcpp_msgSEXP_gen)); + Rf_error("%s", CHAR(rcpp_msgSEXP_gen)); } UNPROTECT(1); return rcpp_result_gen; @@ -964,7 +964,7 @@ RcppExport SEXP _philentropy_est_prob_empirical(SEXP CountVecSEXP) { if (rcpp_isError_gen) { SEXP rcpp_msgSEXP_gen = Rf_asChar(rcpp_result_gen); UNPROTECT(1); - Rf_error(CHAR(rcpp_msgSEXP_gen)); + Rf_error("%s", CHAR(rcpp_msgSEXP_gen)); } UNPROTECT(1); return rcpp_result_gen;