Skip to content

Getting SSDbain in the R package repository for R version 4.2.2 #1

Description

@digikar99
> install.packages("SSDbain")
Installing package into ‘/home/user/R/x86_64-pc-linux-gnu-library/4.2’
(as ‘lib’ is unspecified)
Warning message:
package ‘SSDbain’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages 
> version
               _                                          
platform       x86_64-pc-linux-gnu                        
arch           x86_64                                     
os             linux-gnu                                  
system         x86_64, linux-gnu                          
status         Patched                                    
major          4                                          
minor          2.2                                        
year           2022                                       
month          11                                         
day            10                                         
svn rev        83330                                      
language       R                                          
version.string R version 4.2.2 Patched (2022-11-10 r83330)
nickname       Innocent and Trusting                 

However, after installing its dependencies listed below, I was able to install it manually:

> install.packages("https://github.com/Qianrao-Fu/SSDbain/raw/main/SSDbain_0.1.0.tar.gz")
Installing package into ‘/home/shubhamkar/R/x86_64-pc-linux-gnu-library/4.2’
(as ‘lib’ is unspecified)
inferring 'repos = NULL' from 'pkgs'
trying URL 'https://github.com/Qianrao-Fu/SSDbain/raw/main/SSDbain_0.1.0.tar.gz'
Content type 'application/octet-stream' length 50986 bytes (49 KB)
==================================================
downloaded 49 KB

ERROR: dependencies ‘WRS2’, ‘EnvStats’, ‘conflicted’, ‘bain’, ‘doParallel’, ‘fungible’, ‘pkgmaker’, ‘foreach’, ‘doRNG’ are not available for package ‘SSDbain’
* removing ‘/home/user/R/x86_64-pc-linux-gnu-library/4.2/SSDbain’
Warning message:
In install.packages("https://github.com/Qianrao-Fu/SSDbain/raw/main/SSDbain_0.1.0.tar.gz") :
  installation of package ‘/tmp/Rtmpf1TQzv/downloaded_packages/SSDbain_0.1.0.tar.gz’ had non-zero exit status
## AFTER INSTALLING THE DEPENDENCIES using install.packages
> install.packages("https://github.com/Qianrao-Fu/SSDbain/raw/main/SSDbain_0.1.0.tar.gz")
Installing package into ‘/home/shubhamkar/R/x86_64-pc-linux-gnu-library/4.2’
(as ‘lib’ is unspecified)
inferring 'repos = NULL' from 'pkgs'
trying URL 'https://github.com/Qianrao-Fu/SSDbain/raw/main/SSDbain_0.1.0.tar.gz'
Content type 'application/octet-stream' length 50986 bytes (49 KB)
==================================================
downloaded 49 KB

* installing *source* package ‘SSDbain’ ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (SSDbain)

Can something be done to get SSDbain back into the R package repository?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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