ThinkR-open / attachment

Tools to deal with dependencies in scripts, Rmd and packages
https://thinkr-open.github.io/attachment/
Other
108 stars 13 forks source link

Package in `data("example", package = "mypkgperso")` not detected #104

Closed statnmap closed 1 month ago

statnmap commented 1 year ago

Validation

Run :

  tmpdir <- tempfile("dummysuggestdata")
  dir.create(tmpdir)
  file.copy(system.file("dummypackage",package = "attachment"), tmpdir, recursive = TRUE)
  dummypackage <- file.path(tmpdir, "dummypackage")

attachment::att_amend_desc(path = dummypackage, check_if_suggests_is_installed = FALSE)
readLines(file.path(dummypackage, "DESCRIPTION"))

{stringr} is used in example of my_mean.R :

image

=> {stringr} has added in Suggest

image

MurielleDelmotte commented 1 month ago

validate