Skip to content

Commit cce4a2b

Browse files
committed
update version, authors, metadata
1 parent 0090c46 commit cce4a2b

File tree

10 files changed

+68
-27
lines changed

10 files changed

+68
-27
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@
2626
^man/figures/card.png$
2727
^tools$
2828
^\.editorconfig$
29+
^revdep$

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ rjavaenv
1515
/Meta/
1616

1717
/.quarto/
18+
revdep

CITATION.cff

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ message: 'To cite package "rJavaEnv" in publications use:'
88
type: software
99
license: MIT
1010
title: 'rJavaEnv: ''Java'' Environments for R Projects'
11-
version: 0.2.2.9000
11+
version: 0.3.0
1212
doi: 10.32614/CRAN.package.rJavaEnv
1313
identifiers:
1414
- type: doi
@@ -47,6 +47,10 @@ preferred-citation:
4747
given-names: Egor
4848
4949
orcid: https://orcid.org/0000-0001-6690-5345
50+
- family-names: Chan
51+
given-names: Chung-hong
52+
53+
orcid: https://orcid.org/0000-0002-6232-7530
5054
year: '2024'
5155
url: https://github.com/e-kotov/rJavaEnv
5256
doi: 10.32614/CRAN.package.rJavaEnv

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: rJavaEnv
22
Title: 'Java' Environments for R Projects
3-
Version: 0.2.2.9000
3+
Version: 0.3.0
44
Authors@R: c(
55
person("Egor", "Kotov", , "[email protected]", role = c("aut", "cre", "cph"),
66
comment = c(ORCID = "0000-0001-6690-5345")),

NEWS.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
1-
# rJavaEnv (development version)
1+
# rJavaEnv 0.3.0
22

33
## New features
44

55
- `Java` version (currently still only for `Amazon Corretto`) is now determined dynamically using the official GitHub `json` with releases, so when new `Java` version becomes available, you will not be depenent on `rJavaEnv` to be updated. As a fallback, versions up to 24 are hardcoded.
6-
- `force` argument in `java_download()`. When set to `TRUE`, allows to overwrite the distribution file if it already exist in the cache.
7-
- new function `java_valid_versions()` allows to retrieve a list of all available `Java` versions for the current automatically detected OS and CPU architecture, or user-specified platform and architecture.
6+
7+
- Added `force` argument to `java_download()`. When set to `TRUE`, allows to overwrite the distribution file if it already exist in the cache. This save the trouble of deleting the cached file with `java_clear()` before re-downloading.
8+
9+
- Added a new function `java_valid_versions()` allows to retrieve a list of all available `Java` versions for the current automatically detected OS and CPU architecture, or user-specified platform and architecture.
810

911
## Improvements
1012

11-
- better command line `Java` detection (thanks to Jonas Lieth)
13+
- Better command line `Java` detection (thanks to Jonas Lieth)
14+
15+
- Test coverage is now 7.2%
1216

1317
# rJavaEnv 0.2.2 (2024-09-13)
1418

codemeta.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"codeRepository": "https://github.com/e-kotov/rJavaEnv",
99
"issueTracker": "https://github.com/e-kotov/rJavaEnv/issues",
1010
"license": "https://spdx.org/licenses/MIT",
11-
"version": "0.2.2.9000",
11+
"version": "0.3.0",
1212
"programmingLanguage": {
1313
"@type": "ComputerLanguage",
1414
"name": "R",
@@ -185,7 +185,7 @@
185185
},
186186
"SystemRequirements": null
187187
},
188-
"fileSize": "351785.837KB",
188+
"fileSize": "351786.753KB",
189189
"citation": [
190190
{
191191
"@type": "SoftwareSourceCode",
@@ -197,6 +197,13 @@
197197
"familyName": "Kotov",
198198
"email": "[email protected]",
199199
"@id": "https://orcid.org/0000-0001-6690-5345"
200+
},
201+
{
202+
"@type": "Person",
203+
"givenName": "Chung-hong",
204+
"familyName": "Chan",
205+
"email": "[email protected]",
206+
"@id": "https://orcid.org/0000-0002-6232-7530"
200207
}
201208
],
202209
"name": "rJavaEnv: Java Environments for R Projects",

cran-comments.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
1-
# rJavaEnv 0.2.2 (2024-09-13)
1+
# rJavaEnv 0.3.0 (2025-04-04)
22

3-
* Hot fix: improve robustness of setting Java environment in the current session with either `use_java()` or `java_quick_install()`. See bug fix below.
43

5-
* Bug fix: Setting Java environment via `rJava::.jniInitialized()` rendered impossible changing Java version for `rJava`-dependent packages, because it somehow pre-initialised `rJava`
4+
## New features
5+
6+
- `Java` version (currently still only for `Amazon Corretto`) is now determined dynamically using the official GitHub `json` with releases, so when new `Java` version becomes available, you will not be depenent on `rJavaEnv` to be updated. As a fallback, versions up to 24 are hardcoded.
7+
8+
- Added `force` argument to `java_download()`. When set to `TRUE`, allows to overwrite the distribution file if it already exist in the cache. This save the trouble of deleting the cached file with `java_clear()` before re-downloading.
9+
10+
- Added a new function `java_valid_versions()` allows to retrieve a list of all available `Java` versions for the current automatically detected OS and CPU architecture, or user-specified platform and architecture.
11+
12+
## Improvements
13+
14+
- Better command line `Java` detection (thanks to Jonas Lieth)
15+
16+
- Test coverage is now 7.2%

inst/CITATION

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
bibentry(
2-
key = "rjavaenv",
3-
bibtype = "Manual",
4-
title = "rJavaEnv: Java Environments for R Projects",
5-
author = person("Egor", "Kotov", , "[email protected]", role = c("aut", "cre", "cph"),
2+
key = "rjavaenv",
3+
bibtype = "Manual",
4+
title = "rJavaEnv: Java Environments for R Projects",
5+
author = c(
6+
person("Egor", "Kotov", , "[email protected]", role = c("aut", "cre", "cph"),
67
comment = c(ORCID = "0000-0001-6690-5345")),
7-
year = "2024",
8-
url = "https://github.com/e-kotov/rJavaEnv",
9-
doi = "10.32614/CRAN.package.rJavaEnv"
8+
person("Chung-hong", "Chan", , "[email protected]", role = "aut",
9+
comment = c(ORCID = "0000-0002-6232-7530"))
10+
),
11+
year = "2024",
12+
url = "https://github.com/e-kotov/rJavaEnv",
13+
doi = "10.32614/CRAN.package.rJavaEnv"
1014
)

inst/schemaorg.json

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,27 @@
6767
"url": "https://cran.r-project.org"
6868
},
6969
"runtimePlatform": "R version 4.4.3 (2025-02-28)",
70-
"version": "0.2.2.9000"
70+
"version": "0.3.0"
7171
},
7272
{
7373
"id": "https://doi.org/10.32614/CRAN.package.rJavaEnv",
7474
"type": "SoftwareSourceCode",
75-
"author": {
76-
"id": "https://orcid.org/0000-0001-6690-5345",
77-
"type": "Person",
78-
"email": "[email protected]",
79-
"familyName": "Kotov",
80-
"givenName": "Egor"
81-
},
75+
"author": [
76+
{
77+
"id": "https://orcid.org/0000-0001-6690-5345",
78+
"type": "Person",
79+
"email": "[email protected]",
80+
"familyName": "Kotov",
81+
"givenName": "Egor"
82+
},
83+
{
84+
"id": "https://orcid.org/0000-0002-6232-7530",
85+
"type": "Person",
86+
"email": "[email protected]",
87+
"familyName": "Chan",
88+
"givenName": "Chung-hong"
89+
}
90+
],
8291
"name": "rJavaEnv: Java Environments for R Projects"
8392
}
8493
]

tools/meta-data-update-and-submission.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# before release
22
# usethis::use_version("patch")
3+
usethis::use_tidy_description()
34
cffr::cff_write()
45
codemetar::write_codemeta(write_minimeta = T)
5-
usethis::use_tidy_description()
66
# urlchecker::url_check()
77
# devtools::check(remote = TRUE, manual = TRUE)
88
# devtools::check_win_devel()

0 commit comments

Comments
 (0)