Skip to content

Commit 34bdb3b

Browse files
committed
updated website
1 parent a5d2fcf commit 34bdb3b

File tree

4 files changed

+56
-13
lines changed

4 files changed

+56
-13
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: Silhouette
22
Type: Package
33
Title: Proximity Measure Based Diagnostics for Standard, Soft, and Multi-Way Clustering
4-
Version: 0.9.6.1
4+
Version: 0.9.6
55
Depends: R (>= 4.2.0)
66
Language: en-US
77
Authors@R: c(person(given = "Shrikrishna",

_pkgdown.yml

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,36 @@ search: true
2626

2727
home:
2828
title: Silhouette Package
29-
links:
30-
- text: "CRAN Task View: Cluster"
31-
href: https://CRAN.R-project.org/view=Cluster
32-
# - text: <img src="https://img.shields.io/badge/CRAN%20Task%20View-Cluster-orange" alt="CRAN Task View">
33-
# href: https://CRAN.R-project.org/view=Cluster
3429
sidebar:
35-
structure: [downloads, links, license, community, citation, authors]
30+
structure: [downloads, inviews, links, license, community, citation, authors, dev]
3631
components:
3732
downloads:
3833
title: "Downloads"
3934
text: |
40-
[![CRAN monthly downloads](https://cranlogs.r-pkg.org/badges/last-month/Silhouette?color=brightgreen)](https://kskbhat.r-universe.dev/Silhouette)
41-
[![CRAN downloads](https://cranlogs.r-pkg.org/badges/grand-total/Silhouette?color=blue)](https://r-pkg.org/pkg/Silhouette)
35+
<p>
36+
<b>Monthly Downloads:</b> <span id="monthly">Loading...</span><br>
37+
<b>Total Downloads:</b> <span id="total">Loading...</span>
38+
</p>
39+
<script>
40+
// Fetch live download counts from CRANlogs API
41+
fetch("https://cranlogs.r-pkg.org/downloads/total/last-month/Silhouette")
42+
.then(r => r.json())
43+
.then(d => {
44+
document.getElementById("monthly").textContent =
45+
d.downloads.toLocaleString();
46+
});
47+
fetch("https://cranlogs.r-pkg.org/downloads/total/1900-01-01:2100-01-01/Silhouette")
48+
.then(r => r.json())
49+
.then(d => {
50+
document.getElementById("total").textContent =
51+
d.downloads.toLocaleString();
52+
});
53+
</script>
4254
55+
inviews:
56+
title: "In Views"
57+
text: |
58+
[CRAN Task View: Cluster](https://CRAN.R-project.org/view=Cluster)
4359
4460
authors:
4561
Shrikrishna Bhat K:
@@ -64,4 +80,4 @@ reference:
6480

6581
navbar:
6682
structure:
67-
right: [search,github,lightswitch]
83+
right: [search, github, lightswitch]

docs/index.html

Lines changed: 29 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/pkgdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pkgdown: 2.1.3
33
pkgdown_sha: ~
44
articles:
55
Silhouette: Silhouette.html
6-
last_built: 2025-10-15T10:11Z
6+
last_built: 2025-10-22T05:21Z
77
urls:
88
reference: https://kskbhat.github.io/Silhouette/reference
99
article: https://kskbhat.github.io/Silhouette/articles

0 commit comments

Comments
 (0)