Displaying 12 results from an estimated 12 matches for "testpackag".
Did you mean:
testpackage
2008 Dec 07
1
Compile Packages on vista
...packages (may be
still because of the security properties of vista). I checked several
mailing list/forums/website but I did not found any solution. Does anybody
have the same problem and found a solution? I''ve got the following error:
##################################
R CMD install testPackage
installing to ''D:\Rtmp''
---------- Making package testPackage ------------
adding build stamp to DESCRIPTION
installing R files
installing inst files
find: `D:/Rtmp/ testPackage /doc'': Permission denied
find: `D:/Rtmp/ testPackage /unitTests'': Pe...
2020 Mar 11
1
R CMD INSTALL cannot recognize full path on Windows
...ppExports.cpp as well as additional flags which are not in your GH project. I suspect the issue is with the extra flags you're adding - those don't come from R. Please make sure you can replicate the issue with the GH package you created.
Cheers,
Simon
* installing *source* package 'testPackage' ...
** using staged installation
** libs
*** arch - i386
echo "test1 is [1] 0.1522111 0.2533619 0.6591809"
test1 is [1] 0.1522111 0.2533619 0.6591809
echo "R_HOME is C:/R/R-3.6.2"
R_HOME is C:/R/R-3.6.2
echo "Fake library" > testPackage.dll
installing to C:/R...
2020 Mar 10
4
R CMD INSTALL cannot recognize full path on Windows
...exe" -f example-master/src/Makevars
> test1 is [1] 0.2039269 0.1454402 0.1578401
> test2 is [1] 0.1919521 0.9257183 0.2130247
> test3 is [1] 0.06255174 0.27555363 0.72737111
> mingw32-make: *** No targets. Stop.
>
> 2. "C:\Program Files\R\R-3.6.2\bin\R" CMD INSTALL testPackage_1.0.tar.gz
> *** arch - x64
> test1 is [1] 0.1584299 0.9338829 0.9528810
> The filename, directory name, or volume label syntax is incorrect.
> test2 is
> The filename, directory name, or volume label syntax is incorrect.
> test3 is
>
> 3. "C:\Program Files\R\R-devel...
2004 May 03
1
Help making a simple R code only package
Hello,
I am new to R and I am trying to figure out how to build and install a
package with nothing but R code inside. I have run 'package.skeleton' to
get the basic structure.
When I run 'Rcmd INSTALL testPackage' I get this error message:
make: *** No rule to make target `Files/R/rw1080'. Stop.
*** Installation of testPackage failed ***
When I run 'Rcmd build testPackage' I get this error message:
C:\Program Files\R\rw1080>Rcmd build testPackage
* checking for file ' testPackag...
2020 Apr 03
4
The finalizer of the externalPtr does not work when closing R?
...pointer is removed when closing R,
so the finalizer should be called in this procedure. However, the temp file
still exists after closing the R session.
Here is the test code(which can be found in inst/example/example.R)
## Create a temporary file
tmpFile <- paste0(system.file(package = "testPackage"), "/tmp")
tmpFile
file.create(tmpFile)
file.exists(tmpFile)
## Create an external pointer whose finalizer will delete
## the file when the variable is not in used
x <- testPackage:::makeExtPtr(file.remove,tmpFile)
## GC is working fine
rm(list="x")
gc()
file.exists(tmp...
2020 Mar 11
0
R CMD INSTALL cannot recognize full path on Windows
...On Wed, Mar 11, 2020 at 9:56 AM Tomas Kalibera <tomas.kalibera at gmail.com>
wrote:
> On 3/11/20 2:26 PM, Wang Jiefei wrote:
>
> Thanks, Tomas. I took your suggestion and change the make file to
>
> test1:=$(shell $(R_HOME)/bin/R --slave -e 'runif(3)')
>
> all: testPackage.dll
> echo "test1 is $(test1)"
> echo "R_HOME is $(R_HOME)"
>
> However, R CMD INSTALL still gives me the same error:
>
> > R CMD INSTALL testPackage_1.0.tar.gz* installing to library 'C:/Program
> Files/R/R-devel/library'
> * installi...
2020 Mar 11
0
R CMD INSTALL cannot recognize full path on Windows
...rc/Makevars
> test1 is [1] 0.2039269 0.1454402 0.1578401
> test2 is [1] 0.1919521 0.9257183 0.2130247
> test3 is [1] 0.06255174 0.27555363 0.72737111
> mingw32-make: *** No targets.? Stop.
>
> 2. "C:\Program Files\R\R-3.6.2\bin\R" CMD INSTALL
> testPackage_1.0.tar.gz
> *** arch - x64
> test1 is [1] 0.1584299 0.9338829 0.9528810
> The filename, directory name, or volume label syntax is incorrect.
> test2 is
> The filename, directory name, or volume label syntax is incorrect.
> test3 is
>
> ? 3. &quo...
2020 Apr 03
0
The finalizer of the externalPtr does not work when closing R?
...R,
> so the finalizer should be called in this procedure. However, the temp file
> still exists after closing the R session.
>
> Here is the test code(which can be found in inst/example/example.R)
>
> ## Create a temporary file
> tmpFile <- paste0(system.file(package = "testPackage"), "/tmp")
> tmpFile
> file.create(tmpFile)
> file.exists(tmpFile)
> ## Create an external pointer whose finalizer will delete
> ## the file when the variable is not in used
> x <- testPackage:::makeExtPtr(file.remove,tmpFile)
> ## GC is working fine
> rm(...
2020 Apr 03
0
[External] The finalizer of the externalPtr does not work when closing R?
...R,
> so the finalizer should be called in this procedure. However, the temp file
> still exists after closing the R session.
>
> Here is the test code(which can be found in inst/example/example.R)
>
> ## Create a temporary file
> tmpFile <- paste0(system.file(package = "testPackage"), "/tmp")
> tmpFile
> file.create(tmpFile)
> file.exists(tmpFile)
> ## Create an external pointer whose finalizer will delete
> ## the file when the variable is not in used
> x <- testPackage:::makeExtPtr(file.remove,tmpFile)
> ## GC is working fine
> rm(...
2011 Apr 29
4
R CMD check and Suggests Packages
Hello,
In my description file, I have an example data package in Suggests: that I've deleted from my library to test what the user who doesn't have it will experience.
However, R CMD check won't even pass my package :
* checking package dependencies ... ERROR
Package required but not available: RepitoolsExamples
Why would it have to be installed, if it's only a data package,
2023 Jul 19
0
proposal for WRE: clarify that use of S4 classes implies use of superclasses
...Notably, I think that this rule would resolve some of the problems
with stale caches that I described in this thread from September:
https://stat.ethz.ch/pipermail/r-devel/2022-September/081971.html
I've attached a script demonstrating my point. It creates and installs a
package named TestPackage with
importClassesFrom(Matrix, dgCMatrix, CsparseMatrix)
in NAMESPACE and
setClass("whatever", contains = "dgCMatrix")
in R/*.R. After installing the package, I see:
> ns <- asNamespace("TestPackage")
> names(ns)
[1] ".__C__generalMa...
2023 Jun 03
3
codetools wrongly complains about lazy evaluation in S4 methods
.... Any ideas?
I've attached a script that creates and installs a test package and reproduces
the check output by calling tools:::.check_code_usage_in_package(). Hope it
gets through.
Mikael
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: TestPackage.txt
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20230603/20664345/attachment.txt>