Skip to content

29 when running devtoolscheck we got the following warning - #39

Merged
cebarboza merged 3 commits into
developfrom
29-when-running-devtoolscheck-we-got-the-following-warning
Jun 4, 2026
Merged

29 when running devtoolscheck we got the following warning#39
cebarboza merged 3 commits into
developfrom
29-when-running-devtoolscheck-we-got-the-following-warning

Conversation

@ariannaa7

Copy link
Copy Markdown
Collaborator

Updated the example to be on multiple lines to avoid the truncation issue and close #29. Merged develop into the this branch to make sure the changes from #22 were included.

@cebarboza
cebarboza self-requested a review June 4, 2026 15:52
Comment thread man/getPkgZips.Rd Outdated

\item{backupRrel}{A string of the R minor-release to use if preferred package version cannot be found under any of the minor releases specified in `r_rels_vect`}

<<<<<<< HEAD

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ariannaa7

There this conflict here. I will clean this.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can catch this stuff with devtools::document and devtools::check before pushing. This files get generated automatically.

@cebarboza

Copy link
Copy Markdown
Member

Great, everything looks ok for this. I will merge, the issue seems solved in the three git actions. Just is kind of weird that in my mac I am having an error with the example. When you run your local devtools::check() do you see this?

checking examples ... ERROR
  Running examples instudyGenerics-Ex.Rfailed
  The error most likely occurred in:
  
  > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
  > ### Name: getPkgZips
  > ### Title: Download zip-compressed Windows binaries from a renv.lock file
  > ### Aliases: getPkgZips
  > 
  > ### ** Examples
  > 
  > pkg_status_list <- getPkgZips()
  Warning in dir.create(outDir) :
    cannot create dir '/private/var/folders/sr/lw0bmhn50k3cj_1pf68l9_r80000gp/T/Rtmp9taGMA/file3b6f20301e97/studyGenerics.Rcheck/renv/cellar', reason 'No such file or directory'
  Warning in file(con, "r") :
    cannot open file '/private/var/folders/sr/lw0bmhn50k3cj_1pf68l9_r80000gp/T/Rtmp9taGMA/file3b6f20301e97/studyGenerics.Rcheck/renv.lock': No such file or directory
  Error in file(con, "r") : cannot open the connection
  Calls: getPkgZips ... <Anonymous> -> renv_lockfile_read -> readLines -> file
  Execution halted

@cebarboza
cebarboza merged commit 2ae58fb into develop Jun 4, 2026
3 checks passed
@cebarboza
cebarboza deleted the 29-when-running-devtoolscheck-we-got-the-following-warning branch June 4, 2026 16:15
@cebarboza cebarboza linked an issue Jun 4, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When running devtools::check() we got the following warning

2 participants