Am 08.05.2014 08:35, schrieb Tobias Verbeke:
Hi Knut,

The code will contain library or require statements, which
do not belong there, but need to replaced by specifying the
dependencies on these packages in the DESCRIPTION file
(Depends / Imports field). For imports you also need to
make sure the NAMESPACE file contains the intended statements.

See

http://cran.r-project.org/doc/manuals/R-exts.html#Package-Dependencies

Best,
Tobias

Hi Tobias,

if I am right it should be a code from the utils package

# Use the internal win32consoleCompletion function in utils package
    res <- utils:::.win32consoleCompletion(code, nchar(code))

IMPORT field ... Namespaces accessed by the ‘::’ and ‘:::’ operators must be listed here,

DESCRIPTION
Imports: utils, foo, ...

it is included

NAMESAPCE:
import(utils, foo, ....)


could it be another problem? I found:
Using foo:::f instead of foo::f allows access to unexported objects. This is generally not recommended, as the semantics of unexported objects may be changed by the package author in routine maintenance.


Best
Knut

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to