Я пытаюсь выполнить код R CMD check pkgname
, но его результат
C:\Users\username>R CMD check pkgname
Warning: 'pkgname' is neither a file nor directory, skipping
Я также выполняю следующее, но это не очень хорошо.
C:\Users\username>R CMD Rd2pdf pkgname
Converting Rd files to LaTeX ...
pkgname
Warning in file(con, "r") :
cannot open file 'pkgname': No such file or directory
Error in file(con, "r") : cannot open the connection
------------ Мое имя пакета BayesianAAAA --------------------------------
C:\Users\username>R CMD check BayesianAAAA
Warning: 'BayesianAAAA' is neither a file nor directory, skipping
C:\Users\username>R CMD Rd2pdf BayesianAAAA
Converting Rd files to LaTeX ...
BayesianAAAA
Warning in file(con, "r") :
cannot open file 'BayesianAAAA': No such file or directory
Error in file(con, "r") : cannot open the connection
----------- Открыть командную строку в каталоге моего пакета --------------------------------
[shift] + щелчок правой кнопкой мыши, я открываю командную строку на моем пакете и запускаю приведенный выше код.Однако результат такой же, как и предыдущий.
C:\Users\usename\Desktop\BayesianAAAA>R CMD Rd2pdf BayesianAAAA
Converting Rd files to LaTeX ...
BayesianAAAA
Warning in file(con, "r") :
cannot open file 'BayesianAAAA': No such file or directory
Error in file(con, "r") : cannot open the connection
--------- Запись по пути к моему каталогу pkg, код идет хорошо !!Отлично !! ------------------
C:\Users\usename>R CMD Rd2pdf C:\Users\usename\Desktop\BayesianFROC
Hmm ... looks like a package
Converting Rd files to LaTeX ...
Creating pdf output from LaTeX ...
sed: not found
sed: not found
kpsewhich: not found
cat: not found
Warning: running command '"C:\w32tex\bin\texi2dvi.exe" --pdf "Rd2.tex" ' had status 1
Saving output to 'BayesianAAAA.pdf' ...
Done
'BayesianAAAA.pdf' not found
Warning: running command 'open BayesianAAAA.pdf' had status 34