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

`install_version()` should create a CRAN remote, not a URL remote #224

Closed
jimhester opened this issue Oct 25, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@jimhester
Copy link
Member

commented Oct 25, 2018

It uses install_url() internally, but I think the metadata should be as if it was a CRAN remote.

jimhester added a commit to jimhester/remotes that referenced this issue Oct 26, 2018

Remove DESCRIPTION metadata from install_version
install_version calls install_url internally, so these packages were
being inadvertently installed as URL remote packages, which makes them
not update like normal packages.

Now we remove this extraneous metadata, so it is as if they were installed from
CRAN with `install.packages()` originally.

Fixes r-lib#224

jimhester added a commit to jimhester/remotes that referenced this issue Oct 26, 2018

Remove DESCRIPTION metadata from install_version
install_version calls install_url internally, so these packages were
being inadvertently installed as URL remote packages, which makes them
not update like normal packages.

Now we remove this extraneous metadata, so it is as if they were installed from
CRAN with `install.packages()` originally.

Fixes r-lib#224

jimhester added a commit to jimhester/remotes that referenced this issue Oct 26, 2018

Remove DESCRIPTION metadata from install_version
install_version calls install_url internally, so these packages were
being inadvertently installed as URL remote packages, which makes them
not update like normal packages.

Now we remove this extraneous metadata, so it is as if they were installed from
CRAN with `install.packages()` originally.

Fixes r-lib#224

jimhester added a commit to jimhester/remotes that referenced this issue Oct 26, 2018

Remove DESCRIPTION metadata from install_version
install_version calls install_url internally, so these packages were
being inadvertently installed as URL remote packages, which makes them
not update like normal packages.

Now we remove this extraneous metadata, so it is as if they were installed from
CRAN with `install.packages()` originally.

Fixes r-lib#224

jimhester added a commit to jimhester/remotes that referenced this issue Oct 26, 2018

Remove DESCRIPTION metadata from install_version
install_version calls install_url internally, so these packages were
being inadvertently installed as URL remote packages, which makes them
not update like normal packages.

Now we remove this extraneous metadata, so it is as if they were installed from
CRAN with `install.packages()` originally.

Fixes r-lib#224

jimhester added a commit that referenced this issue Oct 26, 2018

Remove DESCRIPTION metadata from install_version
install_version calls install_url internally, so these packages were
being inadvertently installed as URL remote packages, which makes them
not update like normal packages.

Now we remove this extraneous metadata, so it is as if they were installed from
CRAN with `install.packages()` originally.

Fixes #224
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.