From dda6acba471b6a23ea54734bb7e83b3b3e86f27b Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 27 Nov 2015 08:13:06 +0100 Subject: Recommend upgrading packages before installation This is recommended in the help file for install.packages. As package versions are not checked by install.packages upgrading to the latest published versions is the official method to make sure that versioned dependencies are met in the installation process. --- README.html | 5 ++++- README.md | 14 ++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/README.html b/README.html index ed8f5e7..f1555ac 100644 --- a/README.html +++ b/README.html @@ -77,7 +77,10 @@ img {

Installing gmkin and gWidgetsWWW2

-

Windows and Linux users running R 3.1.0 or later can make use of the package repository on R-Forge. For installing or upgrading to the latest released version, please start R and paste the command

+

Windows and Linux users running R 3.1.0 or later can make use of the package repository on R-Forge. Before installing gmkin, you should update your R packages already installed, e.g. by starting R, and pasting the command

+
update.packages()
+

or similar, depending on your R installation.

+

For installing gmkin or upgrading to the latest released version, please use the command

install.packages("gmkin", repos = c("http://r-forge.r-project.org", getOption("repos")))

If you have not set your CRAN mirror yet, you may have to select one from the list that appears.

The above command temporarily adds the R-Forge repository to your package sources. It should pull the gmkin package and its dependencies, notably the gWidgetsWWW2 package which is not available from the CRAN archive (see below). Mac users that have the necessary development files installed can probably install from the source files in this repository (not tested).

diff --git a/README.md b/README.md index 36183b1..7b6a14d 100644 --- a/README.md +++ b/README.md @@ -39,8 +39,18 @@ respective ### Installing gmkin and gWidgetsWWW2 Windows and Linux users running R 3.1.0 or later can make use of the -package repository on R-Forge. For installing or upgrading to the latest released -version, please start R and paste the command +package repository on R-Forge. Before installing gmkin, you should update +your R packages already installed, e.g. by starting R, and pasting the +command + +```s +update.packages() +``` + +or similar, depending on your R installation. + +For installing gmkin or upgrading to the latest released version, please +use the command ```s install.packages("gmkin", repos = c("http://r-forge.r-project.org", getOption("repos"))) -- cgit v1.2.1