Skip to content

[R-pkg-devel] Note about "No repository set, so cyclic dependency check skipped"

3 messages · Antonio José Sáez Castillo, Martyn Plummer, Dirk Eddelbuettel

#
When checking a package I am getting

* checking package dependencies ... NOTE
   No repository set, so cyclic dependency check skipped

This is an old source of discussion and I've found a lot of suggestions,
but none of them work for me (.Rprofile and/or Rprofile.site edition and
so). What is more worrying is that I'm also getting this note when I check
in R-devel on win-builder site (win-builder.r-project.org). There is
another similar topic in relation to that (
http://r.789695.n4.nabble.com/No-repository-set-so-cyclic-dependency-check-skipped-td4684184.html),
but I don't know if it is the same problem.

How can I avoid this note?







*Dr. Antonio Jos? S?ez-Castillo*Department of Statistics and
Operational Research
Escuela Polit?cnica Superior de Linares
UNIVERSIDAD DE JA?N
C/ Alfonso X el Sabio, 28
23700 Linares (Ja?n)
Tel?fono: +34 953 64 85 78
e-mail: ajsaez at ujaen.es
 <https://www.researchgate.net/profile/Antonio_Saez-Castillo>
<http://twitter.com/ajsaezUJA>
#
On Mon, 2015-07-20 at 07:36 +0200, Antonio Jos? Saez Castillo wrote:
This is covered in the Writing R Extensions manual (page 32), but if you
tried creating a .Rprofile file and it didn't work then the problem
might be that it is in the wrong place. On my Windows 7 desktop, R opens
in my "Documents" folder rather than my home directory, so my .Rprofile
folder has to go into "Documents".

Martyn
-----------------------------------------------------------------------
This message and its attachments are strictly confidenti...{{dropped:8}}
#
On 20 July 2015 at 08:53, Martyn Plummer wrote:
| On Mon, 2015-07-20 at 07:36 +0200, Antonio Jos? Saez Castillo wrote:
| > When checking a package I am getting
| > 
| > * checking package dependencies ... NOTE
| >    No repository set, so cyclic dependency check skipped
| > 
| > This is an old source of discussion and I've found a lot of suggestions,
| > but none of them work for me (.Rprofile and/or Rprofile.site edition and
| > so). What is more worrying is that I'm also getting this note when I check
| > in R-devel on win-builder site (win-builder.r-project.org). There is
| > another similar topic in relation to that (
| > http://r.789695.n4.nabble.com/No-repository-set-so-cyclic-dependency-check-skipped-td4684184.html),
| > but I don't know if it is the same problem.
| > 
| > How can I avoid this note?
| 
| This is covered in the Writing R Extensions manual (page 32), but if you
| tried creating a .Rprofile file and it didn't work then the problem
| might be that it is in the wrong place. On my Windows 7 desktop, R opens
| in my "Documents" folder rather than my home directory, so my .Rprofile
| folder has to go into "Documents".

If I recall correctly, setting the environment variable HOME (which is not
standard under Window) allows you to control that.  Files such as ~/.Rprofile
will then be searched in the directory pointed to by the value assigned to
HOME.

Dirk