Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Cannot install pliman using devtools #15

Open
brunociro opened this issue May 9, 2024 · 4 comments
Open

Cannot install pliman using devtools #15

brunociro opened this issue May 9, 2024 · 4 comments

Comments

@brunociro
Copy link

Cannot install pliman using devtools:
Error: object ‘Filters’ is not exported by 'namespace:utils'

R 4.4.0
Ubuntu 22.04.3

@TiagoOlivoto
Copy link
Owner

Hi!
Try using the pak package

pak::pkg_install("TiagoOlivoto/pliman")

@brunociro
Copy link
Author

brunociro commented May 22, 2024

Hello Tiago!
Already tried, with no success:

callr_error/rlib_error_3_0/rlib_error/error>
Error: 
! error in pak subprocess
Caused by error in `stop_task_build(state, worker)`:
! Failed to build source package pliman.
---
Backtrace:
1. pak::pkg_install("TiagoOlivoto/pliman")
2. pak:::remote(function(...) get("pkg_install_do_plan", asNamespace("pak"))(...), …
3. err$throw(res$error)
---
Subprocess backtrace:
 1. base::withCallingHandlers(cli_message = function(msg) { …
 2. get("pkg_install_do_plan", asNamespace("pak"))(...)
 3. proposal$install()
 4. pkgdepends::install_package_plan(plan, lib = private$library, num_workers = nw, …
 5. base::withCallingHandlers({ …
 6. pkgdepends:::handle_events(state, events)
 7. pkgdepends:::handle_event(state, i)
 8. pkgdepends:::stop_task(state, worker)
 9. pkgdepends:::stop_task_build(state, worker)
10. base::throw(pkg_error("Failed to build source package {.pkg {pkg}}.", …
11. | base::signalCondition(cond)
12. global (function (e) …

@TiagoOlivoto
Copy link
Owner

Hi,
If you are a windows user, also check if Rtools is installed. It is necessary to build the binary files.

@brunociro
Copy link
Author

I'm using Ubuntu 22.04.3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants