Skip to content

renv cellar package install not reflected in lockfile #1927

@shotgun1

Description

@shotgun1

Trying to install a package from renv/cellar which installs fine locally: when snapshotting it's not reflected in the lockfile.

Hence when deploying to posit connect, it tries to install the package from CRAN or other repo. Also when installing the same package from a URL, rsconnect deployApp still installs it from a repo rather than the stated url. What do I need to change in lockfile for it to 100% only install from the stated URL please?

Have tried below unsuccessfully from here:
{
"Package": "skeleton",
"Version": "1.0.1",
"Source": "/mnt/r/pkg/skeleton_1.0.1.tar.gz"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions