Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency on `forcats` #269

Closed
yht opened this issue Jul 1, 2020 · 1 comment
Closed

Dependency on `forcats` #269

yht opened this issue Jul 1, 2020 · 1 comment
Labels

Comments

@yht
Copy link

@yht yht commented Jul 1, 2020

Please check dependency on forcats that make an error for me when install.

> install.packages("rio", repos=repos)
Installing package into ‘/home/yht/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://cran.r-project.org/src/contrib/rio_0.5.16.tar.gz'
Content type 'application/x-gzip' length 420489 bytes (410 KB)
==================================================
downloaded 410 KB

* installing *source* package ‘rio’ ...
** package ‘rio’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called ‘forcats’
Calls: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
ERROR: lazy loading failed for package ‘rio’
* removing ‘/home/yht/R/x86_64-pc-linux-gnu-library/3.6/rio’

The downloaded source packages are in
	‘/tmp/RtmpLfybDv/downloaded_packages’

I just fIx it by install.packages('forcats').

@leeper leeper added the question label Jul 4, 2020
@leeper
Copy link
Owner

@leeper leeper commented Jul 4, 2020

rio does not have a direct dependency on forcats, though haven (which rio imports) does. update.packages() would probably have solved this.

@leeper leeper closed this Jul 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.