The first error said your package couldn't be installed, so look in
00install.out.
That file said it couldn't find your DESCRIPTION file. That file should
be in the top level directory of your package. I don't know if Roxygen2
can create it or not. I always write mine by editing the file produced
by package.skeleton, I don't use Roxygen2 or devtools at this point.
So fix that, and work on the next error.
Duncan Murdoch
On 19/10/2019 5:19 p.m., Sérgio Oliveira wrote:
Hello,
I am trying to create a simple package for R using R 3.6.1, devtools, Rtools
and roxegen2 on windows 8.1.
After generating the documentation, I use check (), which returns me the
following error:
___________________________________________________
- checking whether package 'leontief' can be installed ...|- checking
whether package 'leontief' can be installed ... | E checking whether package
'leontief' can be installed (345ms)
Installation failed.
See
'C:/Users/Sérgio/AppData/Local/Temp/RtmpGGGNop/leontief.Rcheck/00install.out'
for details.
-
See
'C:/Users/Sérgio/AppData/Local/Temp/RtmpGGGNop/leontief.Rcheck/00check.log'
for details.
|- -- R CMD check results
--------------------------------------------------------------------------------------------------------------------------
leontief 0.0.0.3 ----
Duration: 2.8s
checking whether package 'leontief' can be installed ... ERROR
See below...
-- Install failure
----------------------------------------------------------------------------------------------------------------------------------------------------
* installing *source* package 'leontief' ...
** using staged installation
Warning in file(file, if (append) "a" else "w") :
cannot open file
'C:/Users/Sirgio/AppData/Local/Temp/RtmpGGGNop/leontief.Rcheck/00LOCK-leontief/00new/leontief/DESCRIPTION':
No such file or directory
Error in file(file, if (append) "a" else "w") :
não é possÃvel abrir a conexão
ERROR: installing package DESCRIPTION failed for package 'leontief'
* removing
'C:/Users/Sérgio/AppData/Local/Temp/RtmpGGGNop/leontief.Rcheck/leontief'
1 error x | 0 warnings √ | 0 notes √
____________________________________________________
Can anybody help me?
Sérgio.
[[alternative HTML version deleted]]
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel