R 4.2.0 formr package not installing

Skip to first unread message

Haína Coelho

May 24, 2022, 11:38:41 AMMay 24
to formr
I have been using an older version of R (3.6.0) for Mac OSX for a while and the package worked perfectly, but after I updated to the latest R version (4.2.0) the package is not being installed. I get this message by installing from R:

> devtools::install_github("rubenarslan/formr")
Downloading GitHub repo rubenarslan/formr@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet,  :
  download from 'https://api.github.com/repos/rubenarslan/formr/tarball/HEAD' failed

and if I try to install it locally I get these messages:

> install.packages("~/Downloads/rubenarslan-formr-0.7.4-21-g8f77582.tar", repos = NULL, type = "source")
Warning in untar2(tarfile, files, list, exdir, restore_times) :
  skipping pax global extended headers
ERROR: dependency ‘keyring’ is not available for package ‘formr’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/formr’
Warning in install.packages :
  installation of package ‘/Users/Haina/Downloads/rubenarslan-formr-0.7.4-21-g8f77582.tar’ had non-zero exit status

> install.packages("~/Downloads/rubenarslan-formr-0.7.4-21-g8f77582.tar", repos = NULL, type = "binary")
Error in install.packages : file ‘~/Downloads/rubenarslan-formr-0.7.4-21-g8f77582.tar’ is not a macOS binary package

Is there any other way this can work?

Ulrik Lyngs

Jul 25, 2022, 4:02:59 AMJul 25
to formr
try installing the keyring package with install.packages("keyring")     (as per the error message, ERROR: dependency ‘keyring’ is not available for package ‘formr’)
Reply all
Reply to author
0 new messages