andrewzm / FRK

Fixed Rank Kriging with big data
https://andrewzm.github.io/FRK/
67 stars 20 forks source link

Issue with library loading #2

Closed FerRacimo closed 3 years ago

FerRacimo commented 4 years ago

Hi! I'm following some of your examples from the "Spatio-Temporal Statistics with R" book and I'm getting the following error when trying to load this library in R:

Error: package or namespace load failed for ‘FRK’: .onLoad failed in loadNamespace() for 'checkmate', details: call: get0(oNam, envir = ns) error: lazy-load database '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/backports/R/backports.rdb' is corrupt In addition: Warning messages: 1: In get0(oNam, envir = ns) : restarting interrupted promise evaluation 2: In get0(oNam, envir = ns) : internal error -3 in R_decompress1

Same thing happens with another one of your libraries ("IDE"). Any idea what could be causing this?

Thanks! Fernando

andrewzm commented 4 years ago

Hi Fernando, There seem to be some sporadic issues with Rv4 which are not clear to me yet. Personally I have not upgraded to Rv4 yet.

Do you get the FRK error when you do install.packages()? That shouldn't be happening as it has passed the CRAN check for v4. Regarding the IDE package can you try to download the package manually from github and install from source?

Thanks, Andrew

On Mon, Nov 16, 2020 at 2:02 AM Fernando Racimo notifications@github.com wrote:

Hi! I'm following some of your examples from the "Spatio-Temporal Statistics with R" book and I'm getting the following error when trying to load this library in R:

Error: package or namespace load failed for ‘FRK’: .onLoad failed in loadNamespace() for 'checkmate', details: call: get0(oNam, envir = ns) error: lazy-load database '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/backports/R/backports.rdb' is corrupt In addition: Warning messages: 1: In get0(oNam, envir = ns) : restarting interrupted promise evaluation 2: In get0(oNam, envir = ns) : internal error -3 in R_decompress1

Same thing happens with another one of your libraries ("IDE"). Any idea what could be causing this?

Thanks! Fernando

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/andrewzm/FRK/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABEU3O7H7GOFTY552FCIPTSP7UQFANCNFSM4TWHTTUQ .

FerRacimo commented 4 years ago

Hi Andrew,

Thanks for replying. install.packages() goes smoothly, the error appears when I do library("FRK") or library ("IDE"). I've tried installing them both manually from github (using "install_github()") and from CRAN (using "install.pakages()"). In both cases, they both install ok (without any errors) but I get the error when I try loading them, regardless of how I install them (for both packages).

Best, Fernando

andrewzm commented 4 years ago

Hi Fernando, That's very strange; I cannot reproduce the error.

One thing you can do is go on the CRAN page and download FRK_0.2.2.1.tar.gz https://cran.r-project.org/src/contrib/FRK_0.2.2.1.tar.gz Then use devtools::load_all to load the package. Do you still get an error message?

Regards, Andrew

On Mon, Nov 16, 2020 at 2:44 PM Fernando Racimo notifications@github.com wrote:

Hi Andrew,

Thanks for replying. install.packages() goes smoothly, the error appears when I do library("FRK") or library ("IDE"). I've tried installing them both manually from github (using "install_github()") and from CRAN (using "install.pakages()"). In both cases, they both install ok (without any errors) but I get the error when I try loading them, regardless of how I install them (for both packages).

Best, Fernando

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/andrewzm/FRK/issues/2#issuecomment-727717141, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABEU3O5KYHSEP7ZWFEJ4QLSQCNYJANCNFSM4TWHTTUQ .

FerRacimo commented 3 years ago

That seems to have worked. Thanks!

On Mon, Nov 16, 2020 at 12:23 AM Andrew Zammit Mangion < notifications@github.com> wrote:

Hi Fernando, There seem to be some sporadic issues with Rv4 which are not clear to me yet. Personally I have not upgraded to Rv4 yet.

Do you get the FRK error when you do install.packages()? That shouldn't be happening as it has passed the CRAN check for v4. Regarding the IDE package can you try to download the package manually from github and install from source?

Thanks, Andrew

On Mon, Nov 16, 2020 at 2:02 AM Fernando Racimo notifications@github.com wrote:

Hi! I'm following some of your examples from the "Spatio-Temporal Statistics with R" book and I'm getting the following error when trying to load this library in R:

Error: package or namespace load failed for ‘FRK’: .onLoad failed in loadNamespace() for 'checkmate', details: call: get0(oNam, envir = ns) error: lazy-load database

'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/backports/R/backports.rdb' is corrupt In addition: Warning messages: 1: In get0(oNam, envir = ns) : restarting interrupted promise evaluation 2: In get0(oNam, envir = ns) : internal error -3 in R_decompress1

Same thing happens with another one of your libraries ("IDE"). Any idea what could be causing this?

Thanks! Fernando

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/andrewzm/FRK/issues/2, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AABEU3O7H7GOFTY552FCIPTSP7UQFANCNFSM4TWHTTUQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/andrewzm/FRK/issues/2#issuecomment-727655740, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLXSAQB7GRH5OKWWTDVD33SQBPG7ANCNFSM4TWHTTUQ .

-- Fernando Racimo, PhD Associate Professor of Population Genetics Globe Institute University of Copenhagen Øster Voldgade 5-7, DK-1350 Copenhagen, Denmark