Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Error in loadNamespace #6

@hvqd38

Description

@hvqd38

Hello,

I am trying to install the RangeShiftR package from GitHub into RStudio using the following line of code:

devtools::install_github("https://github.com/RangeShifter/RangeShiftR-package", ref = "main")
install.packages("RangeShiftR")

I have ran this code before and it has worked and successfully installed the package, but on this occasion I am getting an error that I have not seen before. This is the error message:

Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called ‘fs’
In addition: Warning message:
In readLines (file, skipNul = TRUE):
cannot open compressed file 'C:/Program Files/AppJ/R/R-4.2.2/library/matrixStats/DESCRIPTION', probable reason 'No such file or directory'

I am able to download the 'fs' package, but then when I try installing 'RangeShiftR' again, it gives the same error but for the package 'cli'.

I am not sure what is going on and was wondering if anyone could help me??

The sessionInfo is:
R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows Server x64 (build 17763)

Matrix products: default

Locale:
[1] LC_COLLATE=English_United Kingdom.1252
[2] LC_CTYPE=English_United Kingdom.1252
[3] LC_MONETARY=English_United Kingdom.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United Kingdom.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via namespace (and not attached):
see image attached for error messageenter image description here
Screenshot 2023-09-28 at 08 05 39

It may be worth noting that I am running this code through a remote desktop.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions