Skip to content

PLP package generated by WebAPI v2.12.0 fails on renv  #2162

@konstjar

Description

@konstjar

Expected behavior

As a user I'm able to run generated package from RStudio

Actual behavior

a. Wrong command in STUDY-PACKAGE-SETUP.md

# Download the lock file:
download.file("https://raw.githubusercontent.com/ohdsi-studies/regressPLP/main/renv.lock", "renv.lock")

b. The 'renv::init()' failes on the error:

Retrieving 'https://cloud.r-project.org/src/contrib/Archive/CohortGenerator/CohortGenerator_0.3.0.tar.gz' ...
Warning: failed to find binary for 'CohortGenerator 0.3.0' in package repositories
Warning: failed to find source for 'CohortGenerator 0.3.0' in package repositories
Warning: failed to retrieve 'https://cloud.r-project.org/src/contrib/Archive/CohortGenerator/CohortGenerator_0.3.0.tar.gz' [error code 22]
Error: failed to retrieve package 'CohortGenerator@0.3.0'
In addition: Warning message:
curl: (22) The requested URL returned error: 404 

image

Steps to reproduce behavior

  1. Download zip file for PLP package from ATLAS UI
  2. Follow steps in STUDY-PACKAGE-SETUP.md instruction
  3. Run 'renv::init()' command

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions