Problems installing packages - install.packages

I have problems to install packages and I am not sure where the problem lays.
I tries to install, gives a lot of warnings and when I try to get to the library it is not there
The downloaded source packages are in
‘/private/var/folders/ts/xt7r92890wndz4_d5y2t27znb7q8z1/T/RtmpNAOKoW/downloaded_packages’
library (tidyverse)
Error in library(tidyverse) : there is no package called ‘tidyverse’

Related

Could not open the space navigator device. Did you remember to run spacenavd (as root)?

I am running the demo MoveIt Servoing,I am using the following commands
1. roslaunch ur_gazebo ur5.launch
2. roslaunch ur5_moveit_config ur5_moveit_planning_execution.launch sim:=true
3. roslaunch ur5_moveit_config moveit_rviz.launch config:=true
After running the following command
4. roslaunch moveit_servo spacenav_cpp.launch
I am getting the following error Could not open the space navigator device. Did you remember to run spacenavd (as root)? I tried resolving the issue using the [website Link Solution], however I am getting the following error
root#abc-ThinkPad-P17-Gen-2i:/home/abc/ws_moveit# rosrun spacenav spacenavd
Command 'rosrun' not found, but can be installed with:
apt install rosbash
root#abc-ThinkPad-P17-Gen-2i:/home/abc/ws_moveit# sudo apt install rosbash
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
rosbash : Depends: catkin but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root#abc-ThinkPad-P17-Gen-2i:/home/abc/ws_moveit#
I am using Ubuntu 20.04 and ROS Noetic

Installing Cocoapods broke previously installed packages

I am making a swift project and I decided to install Cocoapods in order to access functionality I did no have access to before. I had the firebase-ios-sdk packages installed prior to adding Cocoapods to the project. I am opening the project using the xcworkspace created by Cocoapods, and the packages that were working previously are now not working. The main error I am getting is: Missing package product "name". I am getting this error for all of the packages installed with the firebase-ios-sdk. I have attached an image of an example of just one of the errors. Can anyone assist with this issue? I am on Xcode 13.4.1, M1 Air with 12.4 Monterey, and cocoapods 1.11.3 installed.

Why do I get dependency-error trying to install package "tidytext" in RStudio

I tried to install tidytext package and received below dependency-ERROR. Please help.
ERROR: dependency ‘ISOcodes’ is not available for package ‘stopwords’
ERROR: dependency ‘stopwords’ is not available for package ‘tidytext’
Looks like you need to install the ISOcodes package. Try that out:
install.packages("ISOcodes")

Instaling lang pack on debian circular dependency

I have problems installing language packs on debian
I followed this https://stackoverflow.com/a/26940856/3202194
(I followed that because apt returns E: Unable to locate package language-pack-sk)
so I downloaded latest packages for sk and sk-base a tried to install them using dpkg
but i get this when i try to install sk
Unpacking language-pack-sk (1:16.04+20160415) over (1:16.04+20160415) ...
dpkg: dependency problems prevent configuration of language-pack-sk:
language-pack-sk depends on language-pack-sk-base (>= 1:16.04+20160415);
and this when sk-base
Unpacking language-pack-sk-base (1:16.04+20160415) ...
dpkg: dependency problems prevent configuration of language-pack-sk-base:
language-pack-sk-base depends on language-pack-sk (>= 1:16.04+20160415);
How do I install lang pack when there is circular dependency ?? (btw I need to instal more then sk, but I suppose it will be same)
Ok, if you only do "apt-get install" then after confirmation prompt it will install both at once
(all downloaded and not fully packages at once)
solving circular dependencies

Error installing core-elements and polymer-ui-elements

I was installing the polymer on my windows 8 pc by taking tutorials from tutplus. I was able to install Polymer/platform and Polymer/polymer using bower.
Now, I wanted to install the core-elements and polymer-ui-elements but every time when I do:
bower install Polymer/core-elements
bower install Polymer/polymer-ui-elements
The command line hangs up for a minute and then gives the error:
FATAL ERROR: JS Allocation failed - process out of memory
How to overcome this error?
This is from Installing Polymer through bower freezes
======================
according to http://github.com/bower/bower/issues/1324 there is a workaround.
edit bower.json by adding in a line so the dependency area looks like this
dependencies": {
"polymer": "Polymer/polymer#~0.3.1",
"core-elements": "Polymer/core-elements"
}
then run $ bower update
you can add other packages, too.
I'm actually brand new to polymer (had trouble installing it, as you can imagine) so I'm not positive this works.

Resources