Error in read.dcf(path) : cannot open the connection

We have R code in Github repository and our purpose is GitHub actions check automatically R code using github action. So we are using all these action from R-lib actions ( into our repository but getting same error "read.dcf(path) : cannot open the connection " with almost all actions are available in R-lib ( For error see below image as reference. So is there permission issue with github actions?

We would appreciate your help.

Hi @hirenpatel35,

This is due to ‘DESCRIPTION’ file doesn’t exist in your repository.

I can repro the same error and it’s fixed after i add the file.

Please check my workflow for your reference.


1 Like

Thank You for this, Now it’s working

Glad to know it works! @hirenpatel35

It’s recommended to mark the answer then it could help others who encounter the same problem.