Skip to content

[R-pkg-devel] trouble with R check

3 messages · Erin Hodgess, Duncan Murdoch

#
Hello!


I'm working with R-3.4.3 and when I run R CMD check
rmpiFort_0.0.0.9000.tar.gz, here is the output file.


* installing *source* package ?rmpiFort? ...

** libs

** arch -

make: Nothing to be done for `all'.

installing to /home/hodgess/R-3.4.3/bin/rmpiFort.Rcheck/rmpiFort/libs

** R

** preparing package for lazy loading

Error : package or namespace load failed for ?rmpiFort? in
loadNamespace(packag\

e, lib.loc):

 cyclic namespace dependency detected when loading ?rmpiFort?, already
loading \

?rmpiFort?

Error : unable to load R code in package ?rmpiFort?

ERROR: lazy loading failed for package ?rmpiFort?

* removing ?/home/hodgess/R-3.4.3/bin/rmpiFort.Rcheck/rmpiFort?


This is done on the Bridges Supercomputer at the Pittsburgh Supercomputing
Center.

Thanks,
Erin
PS.  OS is Centos 6.
#
On 31/05/2018 8:35 AM, Erin Hodgess wrote:
Sounds as though something in the package says it depends on itself. 
Possibilities off the top of my head:

You have Depends: rmpiFort or Imports: rmpiFort (or even Suggests: 
rmpiFort, or LinkingTo: rmpiFort) in your DESCRIPTION file.

You have importFrom(rmpiFort, ...) or import(rmpiFort) in your NAMESPACE 
file.

You have requireNamespace("rmpiFort") (or require("rmpiFort"), or 
library("rmpiFort")) in your R source.

Duncan Murdoch
#
Hi Duncan

That was exactly it.  Thank you very much

Erin

On Thu, May 31, 2018 at 7:50 AM, Duncan Murdoch <murdoch.duncan at gmail.com>
wrote: