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

check --as-cran issue: checking package dependencies ... NOTE #53

Closed
appling opened this issue Jun 7, 2015 · 8 comments
Closed

check --as-cran issue: checking package dependencies ... NOTE #53

appling opened this issue Jun 7, 2015 · 8 comments
Projects

Comments

@appling
Copy link
Contributor

appling commented Jun 7, 2015

  • checking package dependencies ... NOTE
    No repository set, so cyclic dependency check skipped
@appling
Copy link
Contributor Author

appling commented Jun 15, 2015

@miguelcleon - can you figure this one out? it's a NOTE that only occurs when the --as-cran option is set for R CMD check.

@miguelcleon
Copy link

I think the advice here should do it, but it isn't working for me.
http://stackoverflow.com/questions/23164929/note-in-r-cran-check-no-repository-set-so-cyclic-dependency-check-skipped

@appling
Copy link
Contributor Author

appling commented Jun 16, 2015

Shoot, thought it might be hard. I have no time to work on this today, so
if you can keep trying, that'll be great.

On Tue, Jun 16, 2015 at 11:18 AM, miguelcleon notifications@github.com
wrote:

I think the advice here should do it, but it isn't working for me.

http://stackoverflow.com/questions/23164929/note-in-r-cran-check-no-repository-set-so-cyclic-dependency-check-skipped


Reply to this email directly or view it on GitHub
https://github.com/McDowellLab/loadflex/issues/53#issuecomment-112483892
.

Alison Appling
Cell: (919) 964-0196

@miguelcleon
Copy link

ok

@miguelcleon
Copy link

I thought something like this might work, but it didn't help.
Sys.setenv(R_PROFILE_USER="C:/Users/leonmi/Google Drive/loadflexGitHub/.RProfile")
Then in that .RProfile file setting
local({r <- getOption("repos"); r["CRAN"] <- 'http://cran.rstudio.com/'; options(repos = r)})

or the devtools recommended
options(
repos = c(CRAN = "http://cran.rstudio.com/"),
browserNLdisabled = TRUE,
deparse.max.lines = 2)

Neither worked.

I tried making the same changes in RProfile.site in C:\Users\leonmi\Documents\R\R-3.2.0\etc That didn't do it either.

This might be helpful:
It appears to be devtools working through the same issue.
r-lib/devtools#602

@appling
Copy link
Contributor Author

appling commented Jun 30, 2015

just came across this talk - about 2/3 of the way down, it hints that indicating the .Rprofile in the .travis.yml file (and therefore also appveyor.yml) might help. https://github.com/jennybc/2015-06-28_r-summit-talk/blob/master/2015-06-28_bryan-r-summit-talk.pdf

@miguelcleon
Copy link

So that will only affect the travis and appveyor builds, but I also get the warning locally in R studio which would be unaffected by changes to .travis.yml and appveyor.yml

appling added a commit that referenced this issue Nov 13, 2015
@aappling-usgs
Copy link
Contributor

Haven't seen this in a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

3 participants