Could not update the nuget package due to the Incompatibility - visual-studio

I could not update the WindowsAzure.Storage NuGet Package. It seems other package that probably depends on it, each time I update that package, I got the same error:
Install failed. Rolling back... Updating 'Microsoft.Data.OData 5.6.2'
to 'Microsoft.Data.OData 5.6.4' failed. Unable to find versions of
'WindowsAzure.MobileServices.Backend.Tables,
WindowsAzure.MobileServices.Backend.Entity' that are compatible with
'Microsoft.Data.OData 5.6.4'.
Why do I get this and how can I resolve this issue?

Why do I get this and how can I resolve this issue?
According to the nuget package of WindowsAzure.Storage, you will find this package have a dependencies is Microsoft.Data.OData (>= 5.6.2):
when you update the package WindowsAzure.Storage, the dependency package Microsoft.Data.OData (>= 5.6.2) also need to upgrade to 5.6.4.
However, the nuget packages WindowsAzure.MobileServices.Backend.Tables and WindowsAzure.MobileServices.Backend.Entity' are dependent on Microsoft.Data.OData (>= 5.6.2):
In this case, NuGet could not update the nuget package WindowsAzure.Storage.
To resolve this issue, you can use the option IgnoreDependencies when you update that package:
update-package WindowsAzure.Storage -IgnoreDependencies

Related

Package installing question, (Survival analysis)

I met this problem when I install the package “survminer”
Other packages are still available for installing except for this one.
How could I solve this problem?
Should I update my Rstudio ?
The part with namespace 'tibble' 2.1.3 is already loaded, but >= 3.0.0 is required is telling you that you need to upgrade your tibble package to version > 3.0.0. Try update.packages(ask=F)
Similar to R install package loaded namespace

Issue installing Tax4Fun

I'm trying to install the package "Tax4Fun" but keep failing.
I've tried 2 different ways:
install.packages("devtools")
devtools::install_url("http://tax4fun.gobics.de/Tax4Fun/Tax4Fun_0.3.1.tar.gz")
library(Tax4Fun)
The error that I get is:
ERROR: dependency 'biom' is not available for package 'Tax4Fun'
I've also tried installing biom directly
BiocManager::install("biom")
which does not work either
Bioconductor version 3.10 (BiocManager 1.30.10), R 3.6.1 (2019-07-05)
Installing package(s) 'biom'
Installation path not writeable, unable to update packages: boot, foreign, KernSmooth,
mgcv, nlme, survival
Warning message:
package ‘biom’ is not available (for R version 3.6.1)
The other way I've tried to install Tax4Fun directly is
BiocManager::install("Tax4Fun")
I get the following error code:
Bioconductor version 3.10 (BiocManager 1.30.10), R 3.6.1 (2019-07-05)
Installing package(s) 'Tax4Fun'
Installation path not writeable, unable to update packages: boot, foreign, KernSmooth,
mgcv, nlme, survival
Warning message:
package ‘Tax4Fun’ is not available (for R version 3.6.1)
Please help :)
You need to install it by downloading the packages from source (http://tax4fun.gobics.de). Then it depends whether you are running on Linux/Mac or Windows.
From the command line, you navigate to the folder containing the .tar.gz downloaded package. Then you should install it using:
R CMD INSTALL Tax4Fun_0.3.1.tar.gz
But dependancies are not installed by default. So you need to install dependancies manually, Qiimer and Biom, which are both deprecated on Cran. You install them using the same command, after you have downloaded the packages from the Cran archives.
Before that, you need to also install their dependancies in R:
install.packages("pheatmap")
install.packages("RJSONIO")
Then you should be able to proceed as mentioned above: install Qiimer and Biom from the command line first. Then Tax4Fun from the command line too.
If you are running on Windows you should have quite the same issues, but the installation of the different packages and dependancies is different. You can have a look at the readme at http://tax4fun.gobics.de

tidyverse package will not load

I am running the latest version of Rstudio (1.1.453) on Mac. Since installing the latest version of R-Studio, I can no longer get tidyverse package to load. Any suggestions on how I can fix this?
I get the following error message.
> library("tidyverse", lib.loc="/Library/Frameworks/R.framework/Versions/3.5/Resources/library")
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘dplyr’
Have you tried installing it with dependencies:install.packages("tidyverse", dependencies = TRUE)
I had a similar issue and if this doesn't fix it, try to install dplyr manually: install.packages("dplyr")

With composer, how to force the version of a package required from another one?

I would like to install a package ("Package 1") using composer.
But there is an incompatible version conflict : one of its dependencies ("Package 2") is incompatible with one of another package.
How could I force the installation of a package who requires an incompatible package version ("Package 2")?
Or How could I signify that the package 2 could have another version ?
This is the input and the output :
php composer require company1/package-name
.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Can only install one of: company2/package-name2[v5.8.0, v2.3.0].
Note : obviously, using a newer version of a package required by another one could cause some sort of instability/php problems in the overall website, but this is not an issue here

Not able to install CacheCow.Server 0.5.0-alpha

CacheCow.Server 0.5.0-alpha (Pre-release) has dependency on CacheCow.Common (≥ 0.5.0) but yet this version is not available on NuGet.
While I'm installing CacheCow.Server 0.5.0, it's failing due to the dependency on Cache.Common 0.5.0
Does anyone has idea when this will be available on NuGet ??
This issue is resolved.
Please refer following URL for the solution steps -
http://byterot.blogspot.in/2013/12/cachecow-0.5.0-alpha-new-feature-breaking-changes-asp-net-web-api.html

Resources