-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from e-kotov/2024-08-19-cran-resubmission
CRAN resubmission fixes
- Loading branch information
Showing
48 changed files
with
1,199 additions
and
731 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,5 @@ renv | |
rjavaenv | ||
/doc/ | ||
/Meta/ | ||
|
||
/.quarto/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,18 +7,24 @@ cff-version: 1.2.0 | |
message: 'To cite package "rJavaEnv" in publications use:' | ||
type: software | ||
license: MIT | ||
title: 'rJavaEnv: Java Environments for R Projects' | ||
version: 0.1.0 | ||
title: 'rJavaEnv: ''Java'' Environments for R Projects' | ||
version: 0.1.1 | ||
doi: 10.5281/zenodo.11403010 | ||
abstract: Install specific version of Java runtime environment at the R project level. | ||
The goal of rJavaEnv is to manage multiple Java JDKs in R projects by automating | ||
the process of downloading, installing, and configuring Java environments on a per-project | ||
basis. This package is inspired by the renv <https://rstudio.github.io/renv/> package | ||
for managing R environments in R projects. You can request a specific Java Development | ||
Kit (JDK) in your project, and rJavaEnv will download and install the requested | ||
Java environment in a project-specific directory and set the PATH and JAVA_HOME | ||
for when you are using this project. Therefore, you can have different Java versions | ||
for different projects without contaminating your system with different Java versions. | ||
abstract: 'The ''rJavaEnv'' package addresses common issues with ''Java'' environment | ||
management in ''R'' for users of ''Java''/''rJava''-dependent ''R'' packages such | ||
as ''r5r'', ''opentripplanner'', ''xlsx'', ''openNLP'', ''rWeka'', ''RJDBC'', ''tabulapdf'', | ||
and many more. It resolves common problems like ''Java'' not found, ''Java'' version | ||
conflicts, missing ''Java'' installations, and the inability to install ''Java'' | ||
due to lack of administrative privileges. ''rJavaEnv'' automates the download, installation, | ||
and setup of the ''Java Development Kit'' (''JDK'') on a per-project basis by setting | ||
the relevant ''JAVA_HOME'' in the current ''R'' session or the current working directory | ||
(via ''.Rprofile'', with the user''s consent). Similar to what ''renv'' does for | ||
''R'' packages, ''rJavaEnv'' allows different ''Java'' versions to be used across | ||
different projects, but can also be configured to allow multiple versions within | ||
the same project (e.g. with the help of ''targets'' package). Note: there are a | ||
few extra steps for ''Linux'' users, who don''t have any ''Java'' previously installed | ||
in their systemm, and who prefer package installation from source, rather then installing | ||
binaries from ''Posit Package Manager''. See documentation for details.' | ||
authors: | ||
- family-names: Kotov | ||
given-names: Egor | ||
|
@@ -107,16 +113,20 @@ references: | |
address: Vienna, Austria | ||
year: '2024' | ||
- type: software | ||
title: knitr | ||
abstract: 'knitr: A General-Purpose Package for Dynamic Report Generation in R' | ||
title: quarto | ||
abstract: 'quarto: R Interface to ''Quarto'' Markdown Publishing System' | ||
notes: Suggests | ||
url: https://yihui.org/knitr/ | ||
repository: https://CRAN.R-project.org/package=knitr | ||
url: https://quarto-dev.github.io/quarto-r/ | ||
repository: https://CRAN.R-project.org/package=quarto | ||
authors: | ||
- family-names: Xie | ||
given-names: Yihui | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0003-0645-5666 | ||
- family-names: Allaire | ||
given-names: JJ | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0003-0174-9868 | ||
- family-names: Dervieux | ||
given-names: Christophe | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0003-4474-2498 | ||
year: '2024' | ||
- type: software | ||
title: rJava | ||
|
@@ -129,49 +139,6 @@ references: | |
given-names: Simon | ||
email: [email protected] | ||
year: '2024' | ||
- type: software | ||
title: rmarkdown | ||
abstract: 'rmarkdown: Dynamic Documents for R' | ||
notes: Suggests | ||
url: https://pkgs.rstudio.com/rmarkdown/ | ||
repository: https://CRAN.R-project.org/package=rmarkdown | ||
authors: | ||
- family-names: Allaire | ||
given-names: JJ | ||
email: [email protected] | ||
- family-names: Xie | ||
given-names: Yihui | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0003-0645-5666 | ||
- family-names: Dervieux | ||
given-names: Christophe | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0003-4474-2498 | ||
- family-names: McPherson | ||
given-names: Jonathan | ||
email: [email protected] | ||
- family-names: Luraschi | ||
given-names: Javier | ||
- family-names: Ushey | ||
given-names: Kevin | ||
email: [email protected] | ||
- family-names: Atkins | ||
given-names: Aron | ||
email: [email protected] | ||
- family-names: Wickham | ||
given-names: Hadley | ||
email: [email protected] | ||
- family-names: Cheng | ||
given-names: Joe | ||
email: [email protected] | ||
- family-names: Chang | ||
given-names: Winston | ||
email: [email protected] | ||
- family-names: Iannone | ||
given-names: Richard | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0003-3925-190X | ||
year: '2024' | ||
- type: software | ||
title: testthat | ||
abstract: 'testthat: Unit Testing for R' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,30 @@ | ||
Package: rJavaEnv | ||
Title: Java Environments for R Projects | ||
Version: 0.1.0 | ||
Title: 'Java' Environments for R Projects | ||
Version: 0.1.1 | ||
Authors@R: c( | ||
person("Egor", "Kotov", , "[email protected]", role = c("aut", "cre", "cph"), | ||
comment = c(ORCID = "0000-0001-6690-5345")), | ||
person("Mauricio", "Vargas", , "[email protected]", role = "ctb", | ||
comment = c(ORCID = "0000-0003-1017-7574")) | ||
) | ||
Description: Install specific version of Java runtime environment at the R | ||
project level. The goal of rJavaEnv is to manage multiple Java JDKs in | ||
R projects by automating the process of downloading, installing, and | ||
configuring Java environments on a per-project basis. This package is | ||
inspired by the renv <https://rstudio.github.io/renv/> package for | ||
managing R environments in R projects. You can request a specific Java | ||
Development Kit (JDK) in your project, and rJavaEnv will download and | ||
install the requested Java environment in a project-specific directory | ||
and set the PATH and JAVA_HOME for when you are using this project. | ||
Therefore, you can have different Java versions for different projects | ||
without contaminating your system with different Java versions. | ||
Description: The 'rJavaEnv' package addresses common issues with 'Java' | ||
environment management in 'R' for users of 'Java'/'rJava'-dependent | ||
'R' packages such as 'r5r', 'opentripplanner', 'xlsx', 'openNLP', | ||
'rWeka', 'RJDBC', 'tabulapdf', and many more. It resolves common | ||
problems like 'Java' not found, 'Java' version conflicts, missing | ||
'Java' installations, and the inability to install 'Java' due to lack | ||
of administrative privileges. 'rJavaEnv' automates the download, | ||
installation, and setup of the 'Java Development Kit' ('JDK') on a | ||
per-project basis by setting the relevant 'JAVA_HOME' in the current | ||
'R' session or the current working directory (via '.Rprofile', with | ||
the user's consent). Similar to what 'renv' does for 'R' packages, | ||
'rJavaEnv' allows different 'Java' versions to be used across | ||
different projects, but can also be configured to allow multiple | ||
versions within the same project (e.g. with the help of 'targets' | ||
package). Note: there are a few extra steps for 'Linux' users, who | ||
don't have any 'Java' previously installed in their systemm, and who | ||
prefer package installation from source, rather then installing | ||
binaries from 'Posit Package Manager'. See documentation for details. | ||
License: MIT + file LICENSE | ||
URL: https://github.com/e-kotov/rJavaEnv, https://www.ekotov.pro/rJavaEnv/ | ||
BugReports: https://github.com/e-kotov/rJavaEnv/issues | ||
|
@@ -28,12 +35,11 @@ Imports: | |
jsonlite, | ||
utils | ||
Suggests: | ||
knitr, | ||
quarto, | ||
rJava, | ||
rmarkdown, | ||
testthat (>= 3.0.0) | ||
VignetteBuilder: | ||
knitr | ||
quarto | ||
Config/testthat/edition: 3 | ||
Encoding: UTF-8 | ||
Roxygen: list(markdown = TRUE) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
# rJavaEnv 0.1.1 | ||
|
||
* Improved documentation | ||
|
||
* Better handling of cache directory | ||
|
||
* Bug fixes and changes to address CRAN reviewer's comments to the first submission | ||
|
||
# rJavaEnv 0.1.0 | ||
|
||
* Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#' @title Global Quiet Parameter | ||
#' | ||
#' @description | ||
#' Documentation for the `quiet` parameter, used globally. | ||
#' | ||
#' @param quiet A `logical` value indicating whether to suppress messages. Can be `TRUE` or `FALSE`. | ||
#' @keywords internal | ||
global_quiet_param <- function(quiet){ | ||
# this is just a placeholder for global quiet parameter | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.