Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not loading packages #33

Open
sje30 opened this issue Sep 19, 2023 · 2 comments
Open

not loading packages #33

sje30 opened this issue Sep 19, 2023 · 2 comments
Assignees

Comments

@sje30
Copy link
Collaborator

sje30 commented Sep 19, 2023

it doesn't automatically load 'zen4R'or 'yaml' when the package is
loaded. yet, those packages are listed on the Imports: part of
DESCRIPTION. What am I missing?




> setwd('/Users/stephen/proj/2020/codecheckers/rmr-solver/codecheck')
> library("codecheck")
Loading required package: gh
Loading required package: R.cache
R.cache v0.16.0 (2022-07-21 16:20:02 UTC) successfully loaded. See ?R.cache for help.
Loading required package: parsedate
Loading required package: git2r
> metadata = read_yaml( "../codecheck.yml")
Error in read_yaml("../codecheck.yml") : 
  could not find function "read_yaml"

@sje30
Copy link
Collaborator Author

sje30 commented Sep 19, 2023

ok, now I seee there are two things:

Depends:

Imports:

what's the best thing to do here @nuest ? I don't understand. e.g. the package doesn't install zen4R for use but we clearly need it to use the package. but in that case, shouldn't all of our 'Imports' statements be 'Depends'>

@nuest
Copy link
Member

nuest commented Sep 20, 2023

The DESCRIPTION file might still be from a time when zen4R was not on CRAN, so I see no reason not to make these changes.

IIRC the DESCRIPTION file should be updated by roxygen2 as well, but I may be mistaken.

@sje30 sje30 self-assigned this Mar 15, 2024
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

No branches or pull requests

2 participants