dreamRs / dreamRs/addinit

installed packages not found when setting some options in .Rprofile

Open
#2 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
52
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Double checked which .Rprofile is loading to be sure.
Using the example from documentation:

```
my_custom_params <- list(
author = "Victor",
project = list(
folders = list(
default = c("R", "inst", "man", "data-raw", "data", "tests"),
selected = c("R", "man")
),
packages = list(
default = rownames(installed.packages()),
selected = "shiny"
)
)
)
options("addinit" = my_custom_params)
```

an error is shown:

```
Error in installed.packages() :
"installed.packages" not found
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.