Closed ablack3 closed 1 year ago
Hi @ablack3 thanks for the report. Could you try installing the dev branch, as I think I caught this bug earlier this week.
remotes::install_github("darwin-eu-dev@dev")
I'd like to release that version (0.1.10) either later today or upcoming Monday to CRAN.
Also I'd like to point out that you are setting pathToRepo
like this:
tempDir <- tempdir()
pathToRepo <- file.path(tempDir, "glue")
But you are cloning the Eunomia repository into that glue
folder.
repo <- PaRe::Repository$new(path = pathToRepo)
Let me know if that helped!
@mvankessel-EMC I get this when try to generate the article for PatientProfiles (not sure if this relates to the same issue or not)
incomplete final line found on 'D:\github\patientProfiles\PatientProfiles/R/sysdata.rda'
@mvankessel-EMC I get this when try to generate the article for PatientProfiles (not sure if this relates to the same issue or not)
incomplete final line found on 'D:\github\patientProfiles\PatientProfiles/R/sysdata.rda'
The incomplete final line found on 'D:\github\patientProfiles\PatientProfiles/R/sysdata.rda'
is usually not something to worry about. If this happens in R-files for instance, you can add a blank line at the bottom, which will resolve this.
It it good that you brought this up though, as rda-files should not be picked up. I will update the matching pattern for this.
So for @ablack3 an rmd-file as included in the ./R/
folder, which cause the problem, for @edward-burn an rda-file. I've included a pattern that should ignore such files under the ./R/
folder, using \\.[Rr]$
. In adfd8af.
Hi @mvankessel-EMC I think this is a bug. Here is my reprex. Comes pretty much exactly from the example code.
Created on 2023-06-15 with reprex v2.0.2