-
Notifications
You must be signed in to change notification settings - Fork 137
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I am starting a golem (v0.5.1) project from scratch and have followed almost verbatim the steps included in 01_start.R.
However, moving to 02_dev.R, the first instruction (attachment::att_amend_desc()) gives me an error. Thank you for your help.
To Reproduce
Steps to reproduce the behavior:
- Create a golem project
- Execute the entirety of
01_start.R - Run
attachment::att_amend_desc()and obtain the following bug:
Documentation parameters were restored from attachment config file.
Updating CPEPEApp documentation
Writing NAMESPACE
ℹ Loading CPEPEApp
Writing NAMESPACE
ℹ Loading CPEPEApp
Error in parse(path) :
/tmp/RtmpDZ4Ql9/roxy.examples164ad2b8d49.R:1:3: unexpected '\\'
1: 1 \
^
Expected behavior
No error?
session info
─ Session info ─────────────────────────────────────────────────────────────────────────────────────
setting value
version R version 4.4.3 (2025-02-28)
os Ubuntu 24.04.2 LTS
system x86_64, linux-gnu
ui RStudio
language (EN)
collate C.UTF-8
ctype C.UTF-8
tz Europe/Brussels
date 2025-03-14
rstudio 2024.12.1+563 Kousa Dogwood (desktop)
pandoc 3.2 @ /usr/lib/rstudio/resources/app/bin/quarto/bin/tools/x86_64/ (via rmarkdown)
quarto 1.5.57 @ /usr/lib/rstudio/resources/app/bin/quarto/bin/quarto
─ Packages ─────────────────────────────────────────────────────────────────────────────────────────
! package * version date (UTC) lib source
askpass 1.2.1 2024-10-04 [1] CRAN (R 4.4.3)
attachment 0.4.4 2025-02-08 [1] CRAN (R 4.4.3)
attempt 0.3.1 2020-05-03 [1] CRAN (R 4.4.3)
brio 1.1.5 2024-04-24 [1] CRAN (R 4.4.3)
cachem 1.1.0 2024-05-16 [1] CRAN (R 4.4.3)
callr 3.7.6 2024-03-25 [1] CRAN (R 4.4.3)
cli 3.6.4 2025-02-13 [1] CRAN (R 4.4.3)
clipr 0.8.0 2022-02-22 [1] CRAN (R 4.4.3)
config 0.3.2 2023-08-30 [1] CRAN (R 4.4.3)
R CPEPEApp * 1.8.0 <NA> [?] <NA>
credentials 2.0.2 2024-10-04 [1] CRAN (R 4.4.3)
desc 1.4.3 2023-12-10 [1] CRAN (R 4.4.3)
devtools 2.4.5 2022-10-11 [1] CRAN (R 4.4.3)
digest 0.6.37 2024-08-19 [1] CRAN (R 4.4.3)
ellipsis 0.3.2 2021-04-29 [1] CRAN (R 4.4.3)
evaluate 1.0.3 2025-01-10 [1] CRAN (R 4.4.3)
fastmap 1.2.0 2024-05-15 [1] CRAN (R 4.4.3)
fs 1.6.5 2024-10-30 [1] CRAN (R 4.4.3)
gert 2.1.4 2024-10-14 [1] CRAN (R 4.4.3)
glue 1.8.0 2024-09-30 [1] CRAN (R 4.4.3)
golem 0.5.1 2024-08-27 [1] CRAN (R 4.4.3)
htmltools 0.5.8.1 2024-04-04 [1] CRAN (R 4.4.3)
htmlwidgets 1.6.4 2023-12-06 [1] CRAN (R 4.4.3)
httpuv 1.6.15 2024-03-26 [1] CRAN (R 4.4.3)
knitr 1.49 2024-11-08 [1] CRAN (R 4.4.3)
later 1.4.1 2024-11-27 [1] CRAN (R 4.4.3)
lifecycle 1.0.4 2023-11-07 [1] CRAN (R 4.4.3)
magrittr 2.0.3 2022-03-30 [1] CRAN (R 4.4.3)
memoise 2.0.1 2021-11-26 [1] CRAN (R 4.4.3)
mime 0.12 2021-09-28 [1] CRAN (R 4.4.3)
miniUI 0.1.1.1 2018-05-18 [1] CRAN (R 4.4.3)
openssl 2.3.2 2025-02-03 [1] CRAN (R 4.4.3)
pillar 1.10.1 2025-01-07 [1] CRAN (R 4.4.3)
pkgbuild 1.4.6 2025-01-16 [1] CRAN (R 4.4.3)
pkgconfig 2.0.3 2019-09-22 [1] CRAN (R 4.4.3)
pkgload 1.4.0 2024-06-28 [1] CRAN (R 4.4.3)
processx 3.8.6 2025-02-21 [1] CRAN (R 4.4.3)
profvis 0.4.0 2024-09-20 [1] CRAN (R 4.4.3)
promises 1.3.2 2024-11-28 [1] CRAN (R 4.4.3)
ps 1.9.0 2025-02-18 [1] CRAN (R 4.4.3)
purrr 1.0.4 2025-02-05 [1] CRAN (R 4.4.3)
R6 2.6.1 2025-02-15 [1] CRAN (R 4.4.3)
Rcpp 1.0.14 2025-01-12 [1] CRAN (R 4.4.3)
remotes 2.5.0 2024-03-17 [1] CRAN (R 4.4.3)
reprex * 2.1.1 2024-07-06 [1] CRAN (R 4.4.3)
rlang 1.1.5 2025-01-17 [1] CRAN (R 4.4.3)
rmarkdown 2.29 2024-11-04 [1] CRAN (R 4.4.3)
roxygen2 7.3.2 2024-06-28 [1] CRAN (R 4.4.3)
rprojroot 2.0.4 2023-11-05 [1] CRAN (R 4.4.3)
rsconnect 1.3.4 2025-01-22 [1] CRAN (R 4.4.3)
rstudioapi 0.17.1 2024-10-22 [1] CRAN (R 4.4.3)
sessioninfo 1.2.3 2025-02-05 [1] CRAN (R 4.4.3)
shiny 1.10.0 2024-12-14 [1] CRAN (R 4.4.3)
stringi 1.8.4 2024-05-06 [1] CRAN (R 4.4.3)
stringr 1.5.1 2023-11-14 [1] CRAN (R 4.4.3)
sys 3.4.3 2024-10-04 [1] CRAN (R 4.4.3)
testthat 3.2.3 2025-01-13 [1] CRAN (R 4.4.3)
tibble 3.2.1 2023-03-20 [1] CRAN (R 4.4.3)
urlchecker 1.0.1 2021-11-30 [1] CRAN (R 4.4.3)
usethis 3.1.0 2024-11-26 [1] CRAN (R 4.4.3)
vctrs 0.6.5 2023-12-01 [1] CRAN (R 4.4.3)
withr 3.0.2 2024-10-28 [1] CRAN (R 4.4.3)
xfun 0.51 2025-02-19 [1] CRAN (R 4.4.3)
xml2 1.3.7 2025-02-28 [1] CRAN (R 4.4.3)
xtable 1.8-4 2019-04-21 [1] CRAN (R 4.4.3)
yaml 2.3.10 2024-07-26 [1] CRAN (R 4.4.3)
[1] /home/zenofl01/R/x86_64-pc-linux-gnu-library/4.4
[2] /usr/local/lib/R/site-library
[3] /usr/lib/R/site-library
[4] /usr/lib/R/library
* ── Packages attached to the search path.
R ── Package was removed from disk.
Additional context
This is the beginning of the content of the temporary file mentioned in the error.
1 \%not_in\% 1:10
not_null(NULL)
NULL \%||\% 1
NA \%|NA|\% 1
list_to_li(c("a", "b"))
list_to_p(c("This is the first paragraph", "this is the second paragraph"))
a <- shiny::tags$p(src = "plop", "pouet")
tagRemoveAttributes(a, "src")
## Hide
a <- shiny::tags$p(src = "plop", "pouet")
undisplay(a)
b <- shiny::actionButton("go_filter", "go")
undisplay(b)
with_red_star("Enter your name here")
rep_br(5)
enurl("https://www.thinkr.fr", "ThinkR")
if (interactive()) {
library(shiny)
link <- a(href = "#", "My super link", style = "color: lightblue;")Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working