Skip to content

Commit

Permalink
update R-package-version (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlampros committed Sep 26, 2021
1 parent d705f37 commit bf80f68
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
4 changes: 2 additions & 2 deletions R-package/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: RGF
Type: Package
Title: Regularized Greedy Forest
Version: 1.0.8
Date: 2021-05-07
Version: 1.0.9
Date: 2021-09-11
Authors@R: c( person("Lampros", "Mouselimis", email = "[email protected]", role = c("aut", "cre"), comment = c(ORCID = "https://orcid.org/0000-0002-8024-1546")), person("Ryosuke", "Fukatani", role = "cph", comment = "Author of the python wrapper of the 'Regularized Greedy Forest' machine learning algorithm"), person("Nikita", "Titov", role = "cph", comment = "Author of the python wrapper of the 'Regularized Greedy Forest' machine learning algorithm"), person("Tong", "Zhang", role = "cph", comment = "Author of the 'Regularized Greedy Forest' and of the Multi-core implementation of Regularized Greedy Forest machine learning algorithm"), person("Rie", "Johnson", role = "cph", comment = "Author of the 'Regularized Greedy Forest' machine learning algorithm") )
BugReports: https://github.com/RGF-team/rgf/issues
URL: https://github.com/RGF-team/rgf/tree/master/R-package
Expand Down
4 changes: 4 additions & 0 deletions R-package/NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## RGF 1.0.9
* We've added a 'packageStartupMessage' informing the user in case of the error 'attempt to apply non-function' that he/she has to use the 'reticulate::py_config()' before loading the package (in a new R session)


## RGF 1.0.8
* We've modified the DESCRIPTION file by adding the 'Orcid' Number for the person 'Lampros Mouselimis'
* We've removed the 'maintainer' in the DESCRIPTION because this field is created automatically
Expand Down
5 changes: 5 additions & 0 deletions R-package/R/package.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@ RGF_mod <- NULL; RGF_utils <- NULL; SCP <- NULL;
}
}, silent=TRUE)
}


.onAttach <- function(libname, pkgname) {
packageStartupMessage("If the 'RGF' package gives the following error: 'attempt to apply non-function' then make sure to open a new R session and run 'reticulate::py_config()' before loading the package!")
}
6 changes: 3 additions & 3 deletions R-package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ gcc --version

<br>

Normally MinGW is installed in the **C:\\** directory. So, first delete the folder **C:\\MinGW** (if it already exists), and then remove the environment variable from (Control Panel >> System and Security >> System >> Advanced system settings >> Environment variables >> System variables >> Path >> Edit) which usually is **C:\\MinGW\\bin**. Then download the most recent version of [MinGW](http:https://mingw-w64.org/doku.php), and especially the **mingw-get-setup.exe** which is an *automated GUI installer assistant*. After the new version is installed successfully, update the environment variable by adding **C:\\MinGW\\bin** in (Control Panel >> System and Security >> System >> Advanced system settings >> Environment variables >> System variables >> Path >> Edit). Then open a new command prompt (console) and type,
Normally MinGW is installed in the **C:\\** directory. So, first delete the folder **C:\\MinGW** (if it already exists), and then remove the environment variable from (Control Panel >> System and Security >> System >> Advanced system settings >> Environment variables >> System variables >> Path >> Edit) which usually is **C:\\MinGW\\bin**. Then download the most recent version of [MinGW](https:https://www.mingw-w64.org/docs/overview/), and especially the **mingw-get-setup.exe** which is an *automated GUI installer assistant*. After the new version is installed successfully, update the environment variable by adding **C:\\MinGW\\bin** in (Control Panel >> System and Security >> System >> Advanced system settings >> Environment variables >> System variables >> Path >> Edit). Then open a new command prompt (console) and type,

<br>

Expand All @@ -364,7 +364,7 @@ A word of caution, If *Rtools* is already installed then make sure that it does

<br>

*FastRGF* works only with [MinGW-w64](http:https://mingw-w64.org/doku.php) because only this version provides POSIX threads. It can be downloaded from the project's [official SourceForge page](https://sourceforge.net/projects/mingw-w64/). After a successful download and installation the user should also update the environment variables field in (Control Panel >> System and Security >> System >> Advanced system settings >> Environment variables >> System variables >> Path >> Edit) by adding the following path (assuming the software is installed in **C:\\Program Files (x86)** folder),
*FastRGF* works only with [MinGW-w64](https:https://www.mingw-w64.org/docs/overview/) because only this version provides POSIX threads. It can be downloaded from the project's [official SourceForge page](https://sourceforge.net/projects/mingw-w64/). After a successful download and installation the user should also update the environment variables field in (Control Panel >> System and Security >> System >> Advanced system settings >> Environment variables >> System variables >> Path >> Edit) by adding the following path (assuming the software is installed in **C:\\Program Files (x86)** folder),

<br>

Expand Down Expand Up @@ -566,6 +566,6 @@ Use the following link to report bugs/issues,

If you use the code of this repository in your paper or research please cite both **RGF** and the **original articles / software**:

* [https://cran.r-project.org/web/packages/RGF/citation.html](https://cran.r-project.org/web/packages/RGF/citation.html)
* [https://CRAN.R-project.org/package=RGF/citation.html](https://CRAN.R-project.org/package=RGF/citation.html)

<br>

0 comments on commit bf80f68

Please sign in to comment.