famuvie / breedR

Statistical methods for forest genetic resources analysts
http://famuvie.github.io/breedR/
GNU General Public License v3.0
31 stars 24 forks source link

Release breedR for R v4.0 #106

Closed enotivol closed 4 years ago

enotivol commented 4 years ago

Hi Facu, I have just upgrade R to version 4 and it requires reinstallation of packages (I don't know why), and it seems that from your repository it is not possible. Can you check it? thanks in advance, I tried manual installation from breeder master zip file and I got the same error

Eduardo

R version 4.0.1 (2020-06-06) -- "See Things Now" Copyright (C) 2020 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit)

library(breedR) Loading required package: sp Error: package or namespace load failed for ‘breedR’: package ‘breedR’ was installed before R 4.0.0: please re-install it

install.packages("breedR") WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/ Installing package into ‘C:/Users/enotivol/Documents/R/win-library/4.0’ (as ‘lib’ is unspecified) Warning in install.packages : unable to access index for repository https://famuvie.github.io/breedR/bin/windows/contrib/4.0: no fue posible abrir la URL 'https://famuvie.github.io/breedR/bin/windows/contrib/4.0/PACKAGES' Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘breedR’ These will not be installed

famuvie commented 4 years ago

Dear @enotivol, thanks for the report. You are right! I have to release the package for installing in R v4.0. Doing it right now. Thanks for the report!

famuvie commented 4 years ago

Edu, this is taking longer thank expected. In the meanwhile, can you please try install.packages("breedR", type = "source") ?

enotivol commented 4 years ago

No problem, I will check it out tomorrow in the office pc, at home I prefer keeping R 3.6 until it's safe the upgrade. Paso a la la lengua materna, espero que el confinamiento y la pandemia no te haya causado problemas ni a los tuyos, Un abrazo y seguimos en contacto.

El mar., 9 jun. 2020 a las 15:32, Facundo Muñoz (notifications@github.com) escribió:

Edu, this is taking longer thank expected. In the meanwhile, can you please try install.packages("breedR", type = "source") ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/famuvie/breedR/issues/106#issuecomment-641299854, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYEXAQWNOOUAVN65UHTVLDRVY2YDANCNFSM4NZH72ZA .

--

http://www.cita-aragon.es/

Eduardo Notivol Paíno

Investigador

Unidad de Recursos Forestales

+34 976 716 372 (ext .816372)

enotivol[at]cita-aragon.es, enotivol[at]aragon.es

web personal CITA https://portalcientifico.cita-aragon.es/ipublic/profile/index/iMarinaID/04-315188/, ORCID http://orcid.org/0000-0003-4272-4536

Centro de Investigación y Tecnología Agroalimentaria de Aragón (CITA)

Avda. Montañana 930, 50059 Zaragoza (España, Spain)

www.cita-aragon.es

AVISO LEGAL: La información de este mensaje, así como cualquier archivo adjunto, puede contener información confidencial.

Si ha recibido este mensaje por error, le ruego envíe una notificación al remitente y lo elimine de forma inmediata. Gracias por su colaboración.

Lo primero la bondad, lo segundo el talento y aquí termina el cuento (G. Fuertes)

First the goodness, second the talent, and here the story ends (G. Fuertes)

enotivol commented 4 years ago

Sigue sin funcionar la opcion source y falla la instalacion de Rtools.

R version 4.0.1 (2020-06-06) -- "See Things Now" Copyright (C) 2020 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit)

install.packages("breedR", type = "source") WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/ Installing package into ‘C:/Users/enotivol/Documents/R/win-library/4.0’ (as ‘lib’ is unspecified) probando la URL ' https://famuvie.github.io/breedR/src/contrib/breedR_0.12-4.tar.gz' Content type 'application/gzip' length 4932859 bytes (4.7 MB) downloaded 4.7 MB

The downloaded source packages are in ‘C:\Users\enotivol\AppData\Local\Temp\Rtmpg73hJP\downloaded_packages’

library(breedR) Error: package or namespace load failed for ‘breedR’: package ‘breedR’ was installed before R 4.0.0: please re-install it

El mar., 9 jun. 2020 a las 16:11, Eduardo Notivol Paino (< enotivol@cita-aragon.es>) escribió:

No problem, I will check it out tomorrow in the office pc, at home I prefer keeping R 3.6 until it's safe the upgrade. Paso a la la lengua materna, espero que el confinamiento y la pandemia no te haya causado problemas ni a los tuyos, Un abrazo y seguimos en contacto.

El mar., 9 jun. 2020 a las 15:32, Facundo Muñoz (notifications@github.com) escribió:

Edu, this is taking longer thank expected. In the meanwhile, can you please try install.packages("breedR", type = "source") ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/famuvie/breedR/issues/106#issuecomment-641299854, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYEXAQWNOOUAVN65UHTVLDRVY2YDANCNFSM4NZH72ZA .

--

http://www.cita-aragon.es/

Eduardo Notivol Paíno

Investigador

Unidad de Recursos Forestales

+34 976 716 372 (ext .816372)

enotivol[at]cita-aragon.es, enotivol[at]aragon.es

web personal CITA https://portalcientifico.cita-aragon.es/ipublic/profile/index/iMarinaID/04-315188/, ORCID http://orcid.org/0000-0003-4272-4536

Centro de Investigación y Tecnología Agroalimentaria de Aragón (CITA)

Avda. Montañana 930, 50059 Zaragoza (España, Spain)

www.cita-aragon.es

AVISO LEGAL: La información de este mensaje, así como cualquier archivo adjunto, puede contener información confidencial.

Si ha recibido este mensaje por error, le ruego envíe una notificación al remitente y lo elimine de forma inmediata. Gracias por su colaboración.

Lo primero la bondad, lo segundo el talento y aquí termina el cuento (G. Fuertes)

First the goodness, second the talent, and here the story ends (G. Fuertes)

--

http://www.cita-aragon.es/

Eduardo Notivol Paíno

Investigador

Unidad de Recursos Forestales

+34 976 716 372 (ext .816372)

enotivol[at]cita-aragon.es, enotivol[at]aragon.es

web personal CITA https://portalcientifico.cita-aragon.es/ipublic/profile/index/iMarinaID/04-315188/, ORCID http://orcid.org/0000-0003-4272-4536

Centro de Investigación y Tecnología Agroalimentaria de Aragón (CITA)

Avda. Montañana 930, 50059 Zaragoza (España, Spain)

www.cita-aragon.es

AVISO LEGAL: La información de este mensaje, así como cualquier archivo adjunto, puede contener información confidencial.

Si ha recibido este mensaje por error, le ruego envíe una notificación al remitente y lo elimine de forma inmediata. Gracias por su colaboración.

Lo primero la bondad, lo segundo el talento y aquí termina el cuento (G. Fuertes)

First the goodness, second the talent, and here the story ends (G. Fuertes)

enotivol commented 4 years ago

FUNCIONA! Instalando type=source si previamente se instala correctamente Rtools40 ( ver: https://cran.r-project.org/bin/windows/Rtools/)

El mié., 10 jun. 2020 a las 12:25, Eduardo Notivol Paino (< enotivol@cita-aragon.es>) escribió:

Sigue sin funcionar la opcion source y falla la instalacion de Rtools.

R version 4.0.1 (2020-06-06) -- "See Things Now" Copyright (C) 2020 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit)

install.packages("breedR", type = "source") WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/ Installing package into ‘C:/Users/enotivol/Documents/R/win-library/4.0’ (as ‘lib’ is unspecified) probando la URL ' https://famuvie.github.io/breedR/src/contrib/breedR_0.12-4.tar.gz' Content type 'application/gzip' length 4932859 bytes (4.7 MB) downloaded 4.7 MB

  • installing source package 'breedR' ... using staged installation libs Warning in system(cmd) : 'make' not found ERROR: compilation failed for package 'breedR'
  • removing 'C:/Users/enotivol/Documents/R/win-library/4.0/breedR'
  • restoring previous 'C:/Users/enotivol/Documents/R/win-library/4.0/breedR' Warning in install.packages : installation of package ‘breedR’ had non-zero exit status

The downloaded source packages are in ‘C:\Users\enotivol\AppData\Local\Temp\Rtmpg73hJP\downloaded_packages’

library(breedR) Error: package or namespace load failed for ‘breedR’: package ‘breedR’ was installed before R 4.0.0: please re-install it

El mar., 9 jun. 2020 a las 16:11, Eduardo Notivol Paino (< enotivol@cita-aragon.es>) escribió:

No problem, I will check it out tomorrow in the office pc, at home I prefer keeping R 3.6 until it's safe the upgrade. Paso a la la lengua materna, espero que el confinamiento y la pandemia no te haya causado problemas ni a los tuyos, Un abrazo y seguimos en contacto.

El mar., 9 jun. 2020 a las 15:32, Facundo Muñoz (< notifications@github.com>) escribió:

Edu, this is taking longer thank expected. In the meanwhile, can you please try install.packages("breedR", type = "source") ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/famuvie/breedR/issues/106#issuecomment-641299854, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYEXAQWNOOUAVN65UHTVLDRVY2YDANCNFSM4NZH72ZA .

--

http://www.cita-aragon.es/

Eduardo Notivol Paíno

Investigador

Unidad de Recursos Forestales

+34 976 716 372 (ext .816372)

enotivol[at]cita-aragon.es, enotivol[at]aragon.es

web personal CITA https://portalcientifico.cita-aragon.es/ipublic/profile/index/iMarinaID/04-315188/, ORCID http://orcid.org/0000-0003-4272-4536

Centro de Investigación y Tecnología Agroalimentaria de Aragón (CITA)

Avda. Montañana 930, 50059 Zaragoza (España, Spain)

www.cita-aragon.es

AVISO LEGAL: La información de este mensaje, así como cualquier archivo adjunto, puede contener información confidencial.

Si ha recibido este mensaje por error, le ruego envíe una notificación al remitente y lo elimine de forma inmediata. Gracias por su colaboración.

Lo primero la bondad, lo segundo el talento y aquí termina el cuento (G. Fuertes)

First the goodness, second the talent, and here the story ends (G. Fuertes)

--

http://www.cita-aragon.es/

Eduardo Notivol Paíno

Investigador

Unidad de Recursos Forestales

+34 976 716 372 (ext .816372)

enotivol[at]cita-aragon.es, enotivol[at]aragon.es

web personal CITA https://portalcientifico.cita-aragon.es/ipublic/profile/index/iMarinaID/04-315188/, ORCID http://orcid.org/0000-0003-4272-4536

Centro de Investigación y Tecnología Agroalimentaria de Aragón (CITA)

Avda. Montañana 930, 50059 Zaragoza (España, Spain)

www.cita-aragon.es

AVISO LEGAL: La información de este mensaje, así como cualquier archivo adjunto, puede contener información confidencial.

Si ha recibido este mensaje por error, le ruego envíe una notificación al remitente y lo elimine de forma inmediata. Gracias por su colaboración.

Lo primero la bondad, lo segundo el talento y aquí termina el cuento (G. Fuertes)

First the goodness, second the talent, and here the story ends (G. Fuertes)

--

http://www.cita-aragon.es/

Eduardo Notivol Paíno

Investigador

Unidad de Recursos Forestales

+34 976 716 372 (ext .816372)

enotivol[at]cita-aragon.es, enotivol[at]aragon.es

web personal CITA https://portalcientifico.cita-aragon.es/ipublic/profile/index/iMarinaID/04-315188/, ORCID http://orcid.org/0000-0003-4272-4536

Centro de Investigación y Tecnología Agroalimentaria de Aragón (CITA)

Avda. Montañana 930, 50059 Zaragoza (España, Spain)

www.cita-aragon.es

AVISO LEGAL: La información de este mensaje, así como cualquier archivo adjunto, puede contener información confidencial.

Si ha recibido este mensaje por error, le ruego envíe una notificación al remitente y lo elimine de forma inmediata. Gracias por su colaboración.

Lo primero la bondad, lo segundo el talento y aquí termina el cuento (G. Fuertes)

First the goodness, second the talent, and here the story ends (G. Fuertes)

famuvie commented 4 years ago

Excelente. RTools es independiente de breedR, pero necesario para instalar el paquete en forma de source. Yo sigo intentando compilar el paquete para Windows. Hay una serie de correcciones necesarias derivadas de cambios en el comportamiento de Rv4. Nada grave, sobre todo para garantizar que los ejemplos y tutoriales funcionen correctamente. Lo subiré tan pronto como pueda, pero necesito atender otros asuntos.

enotivol commented 4 years ago

Ya, por cierto he actualizado en un pc viejo con Linux y sin problema. Windows siempre problematico

Eduardo Notivol Unidad de Recursos Forestales Centro de Investigación y Tecnología Agroalimentaria de Aragón (CITA) Avda. Montañana 930, 50059 Zaragoza Tel: 976 716372 Fax: 976 716335 enotivol[at]aragon.es enotivol[at]cita-aragon.es http://www.cita-aragon.es

El mié., 10 jun. 2020 13:32, Facundo Muñoz notifications@github.com escribió:

Excelente. RTools es independiente de breedR, pero necesario para instalar el paquete en forma de source. Yo sigo intentando compilar el paquete para Windows. Hay una serie de correcciones necesarias derivadas de cambios en el comportamiento de Rv4. Nada grave, sobre todo para garantizar que los ejemplos y tutoriales funcionen correctamente. Lo subiré tan pronto como pueda, pero necesito atender otros asuntos.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/famuvie/breedR/issues/106#issuecomment-641942084, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYEXAR3LARCJC33UGW6PWTRV5VMVANCNFSM4NZH72ZA .

famuvie commented 4 years ago

Eduardo, it should be working now. I released a new breedR version 0.12-5 to cope with necessary changes for Rv4. It is compatible with previous versions of R as well. Also, breedR v0.12-4 works fine with Rv4, except some minor differences in output with respect to documentation (e.g. R v4 no longer considers stringsAsFactors TRUE by default).

Could you please try to re-install with install.packages("breedR") (without type = source) just to check that it works? I currently don't have an up-to-date Windows virtual machine to test myself.

Thanks. ƒacu.-

enotivol commented 4 years ago

Hi Facundo, v 0.12-5 successfully updated on R4, without needing Rtools. The only extra work to do is install manually breedR and their dependencies packages (without type= "source", of course): Matrix, gtable, R6, munsell, colorspace, magrittr, crayon and pkconfig. I list just in case you want to document in github forum. After that, library breedR is properly loaded. I didn't check the functionality of the package yet but I presume it will be ok. Thanks for the update again.

El jue., 11 jun. 2020 a las 10:01, Facundo Muñoz (notifications@github.com) escribió:

Closed #106 https://github.com/famuvie/breedR/issues/106.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/famuvie/breedR/issues/106#event-3432962354, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYEXAXS4MRPOIPOEXRBZZTRWCFPPANCNFSM4NZH72ZA .

--

http://www.cita-aragon.es/

Eduardo Notivol Paíno

Investigador

Unidad de Recursos Forestales

+34 976 716 372 (ext .816372)

enotivol[at]cita-aragon.es, enotivol[at]aragon.es

web personal CITA https://portalcientifico.cita-aragon.es/ipublic/profile/index/iMarinaID/04-315188/, ORCID http://orcid.org/0000-0003-4272-4536

Centro de Investigación y Tecnología Agroalimentaria de Aragón (CITA)

Avda. Montañana 930, 50059 Zaragoza (España, Spain)

www.cita-aragon.es

AVISO LEGAL: La información de este mensaje, así como cualquier archivo adjunto, puede contener información confidencial.

Si ha recibido este mensaje por error, le ruego envíe una notificación al remitente y lo elimine de forma inmediata. Gracias por su colaboración.

Lo primero la bondad, lo segundo el talento y aquí termina el cuento (G. Fuertes)

First the goodness, second the talent, and here the story ends (G. Fuertes)

famuvie commented 4 years ago

Thanks Edu for the confirmation. I'll check that as soon as possible.