Skip to content

Can´t install package #4

@MartinsRodrigo

Description

@MartinsRodrigo

Installing 'ooc' as instructed yields the following error:

devtools::install_github('tzuliu/ooc')
Downloading GitHub repo tzuliu/ooc@HEAD
Skipping 1 packages not available: aspace
√  checking for file 'C:\Users\rodri\AppData\Local\Temp\RtmpAj6M69\remotes4a807872bc7\tzuliu-ooc-c9650bc/DESCRIPTION' (611ms)
-  preparing 'ooc':
√  checking DESCRIPTION meta-information ... 
-  cleaning src
-  checking for LF line-endings in source and make files and shell scripts
-  checking for empty or unneeded directories
-  looking to see if a 'data/datalist' file should be added
-  building 'ooc_0.1.tar.gz'
   
Installing package into ‘C:/Users/rodri/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
ERROR: dependency 'aspace' is not available for package 'ooc'
* removing 'C:/Users/rodri/Documents/R/win-library/4.0/ooc'
Erro: Failed to install 'ooc' from GitHub:
  (convertido do aviso) installation of package ‘C:/Users/rodri/AppData/Local/Temp/RtmpAj6M69/file4a802dd97045/ooc_0.1.tar.gz’ had non-zero exit status`

I see that "aspace" was not installed because this package was removed from CRAN. When I try to install from the archive, the following error occurs:

devtools::install_version("aspace", version = "3.2", 
+                           repos = "http://cran.us.r-project.org")
Downloading package from url: http://cran.us.r-project.org/src/contrib/Archive/aspace/aspace_3.2.tar.gz
Installing package into ‘C:/Users/rodri/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
* installing *source* package 'aspace' ...
** package 'aspace' successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Erro: (convertido do aviso) package 'Hmisc' was built under R version 4.0.5
Execução interrompida
ERROR: lazy loading failed for package 'aspace'
* removing 'C:/Users/rodri/Documents/R/win-library/4.0/aspace'
Erro: Failed to install 'unknown package' from URL:
  (convertido do aviso) installation of package ‘C:/Users/rodri/AppData/Local/Temp/RtmpAj6M69/remotes4a8023bf4ca7/aspace’ had non-zero exit status

Any idea about how I can solve this problem?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions