Skip to content
Prev 52150 / 63421 Next

package installation fails when symlink of same name exists

On Wed, Jul 20, 2016 at 3:52 AM, Martin Maechler
<maechler at stat.math.ethz.ch> wrote:
For packrat's case at least, removing the symlink and installing to a
newly-created directory within the library would be fine -- later,
when a user wants to 'save the state' of their library, they would
call 'packrat::snapshot()', and that call would take care of moving
the newly-installed package to the cache and restoring the symlink as
required.

That said, installing within the symlinked directory would definitely
be nice :-) I just thought the request might be out of scope.
I agree this would be ideal, I just thought this request might be out
of scope, since the typical use case for R libraries is a
directory-of-directories, not a directory-of-symlinks-to-directories
(although packrat has had a lot of success with the second scenario!)

Thanks, Martin!