Last updated on 2023-02-27 07:50:03 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.1 | 32.68 | 419.01 | 451.69 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.0.1 | 28.56 | 341.08 | 369.64 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.0.1 | 639.70 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.1 | 645.85 | OK | |||
r-devel-windows-x86_64 | 1.0.1 | 114.00 | 509.00 | 623.00 | ERROR | |
r-patched-linux-x86_64 | 1.0.1 | 40.58 | 374.19 | 414.77 | OK | |
r-release-linux-x86_64 | 1.0.1 | 34.15 | 338.66 | 372.81 | OK | |
r-release-macos-arm64 | 1.0.1 | 115.00 | OK | |||
r-release-macos-x86_64 | 1.0.1 | 186.00 | OK | |||
r-release-windows-x86_64 | 1.0.1 | 132.00 | 431.00 | 563.00 | OK | |
r-oldrel-macos-arm64 | 1.0.1 | 133.00 | ERROR | |||
r-oldrel-macos-x86_64 | 1.0.1 | 211.00 | ERROR | |||
r-oldrel-windows-ix86+x86_64 | 1.0.1 | 21.00 | 21.00 | ERROR |
Version: 1.0.1
Check: package dependencies
Result: NOTE
Imports includes 32 non-default packages.
Importing from so many packages makes the package vulnerable to any of
them becoming unavailable. Move as many as possible to Suggests and
use conditionally.
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.0.1
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'Air_Stripper.Rmd' using rmarkdown
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-2'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-3'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
trying URL 'https://i.creativecommons.org/l/by-sa/4.0/88x31.png'
Content type 'image/png' length 1515 bytes
==================================================
downloaded 1515 bytes
--- finished re-building 'Air_Stripper.Rmd'
--- re-building 'Comparing_Manningtrap.Rmd' using rmarkdown
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-1'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-2'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-5'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-8'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
trying URL 'https://i.creativecommons.org/l/by-sa/4.0/88x31.png'
Content type 'image/png' length 1515 bytes
==================================================
downloaded 1515 bytes
--- finished re-building 'Comparing_Manningtrap.Rmd'
--- re-building 'Comparing_Saturated_Vapor_Pressures.Rmd' using rmarkdown
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-1'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-2'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-3'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
trying URL 'https://i.creativecommons.org/l/by-sa/4.0/88x31.png'
Content type 'image/png' length 1515 bytes
==================================================
downloaded 1515 bytes
--- finished re-building 'Comparing_Saturated_Vapor_Pressures.Rmd'
--- re-building 'Construction_Measurement_Examples.Rmd' using rmarkdown
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-1'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-2'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-3'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-4'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-5'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-6'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-7'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-8'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-9'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-10'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-11'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-12'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
trying URL 'https://i.creativecommons.org/l/by-sa/4.0/88x31.png'
Content type 'image/png' length 1515 bytes
==================================================
downloaded 1515 bytes
--- finished re-building 'Construction_Measurement_Examples.Rmd'
--- re-building 'Engineering_Survey_Examples.Rmd' using rmarkdown
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-1'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-2'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-3'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-4'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-5'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-6'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-7'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-8'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-9'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-10'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
trying URL 'https://i.creativecommons.org/l/by-sa/4.0/88x31.png'
Content type 'image/png' length 1515 bytes
==================================================
downloaded 1515 bytes
--- finished re-building 'Engineering_Survey_Examples.Rmd'
--- re-building 'Friction_Loss_Calculation_Examples.Rmd' using rmarkdown
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-1'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-2'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-4'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-5'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-6'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-7'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
trying URL 'https://i.creativecommons.org/l/by-sa/4.0/88x31.png'
Content type 'image/png' length 1515 bytes
==================================================
downloaded 1515 bytes
--- finished re-building 'Friction_Loss_Calculation_Examples.Rmd'
--- re-building 'GNU-Octave_Rem_Mod_fractdiff_Examples.Rmd' using rmarkdown
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-1'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
running: octave --eval "
% check against GNU Octave
% Examples from GNU Octave
x = 23.4
y = 20
z = 0
rem(x, y)
rem(y, x)
rem(x, z)
rem(y, z)
rem(z, x)
rem(z, y)
rem(-1, 3)
% Examples from FreeMat
rem(18, 12)
rem(6, 5)
rem(2 * pi, pi)
rem([1, 3, 5, 2], 2)
rem([9 3 2 0], [1 0 2 2])"
Quitting from lines 66-103 (GNU-Octave_Rem_Mod_fractdiff_Examples.Rmd)
Error: processing vignette 'GNU-Octave_Rem_Mod_fractdiff_Examples.Rmd' failed with diagnostics:
'"octave"' not found
--- failed re-building 'GNU-Octave_Rem_Mod_fractdiff_Examples.Rmd'
--- re-building 'GNU-Octave_cosd_Function_Examples.Rmd' using rmarkdown
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-1'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
running: octave --eval "
cosd(90)
cos(pi/2)"
Quitting from lines 65-69 (GNU-Octave_cosd_Function_Examples.Rmd)
Error: processing vignette 'GNU-Octave_cosd_Function_Examples.Rmd' failed with diagnostics:
'"octave"' not found
--- failed re-building 'GNU-Octave_cosd_Function_Examples.Rmd'
--- re-building 'GNU-Octave_size_Function_Examples.Rmd' using rmarkdown
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-1'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
running: octave --eval "
% check against GNU Octave
% Example from GNU Octave ndims function reference
size(ones(4, 1, 2, 1))
% Examples from GNU Octave size function reference
object1 = [1, 2; 3, 4; 5, 6]
size(object1)
[nr, nc] = size([1, 2; 3, 4; 5, 6])
size([1, 2; 3, 4; 5, 6], 2)
size([1 2; 3 4; 5 6])
size([1 2; 3 4; 5 6], 2)
[nr, nc] = size([1, 2; 3, 4; 5, 6])
nr
nc
size(ones(2, 3, 4, 5))
[nr, remainder] = size(ones(2, 3, 4, 5))
nr
remainder
size(ones(4, 3, 4, 8), 4)
size(ones(4, 3, 4, 5), 3)
% Examples from pracma size
size(1:8)
object2 = [1 3 5 7; 2 4 6 8]
size(object2)
size(object2, 2)
size(object2, 3)
ss = 'object'
size(ss)"
Quitting from lines 93-148 (GNU-Octave_size_Function_Examples.Rmd)
Error: processing vignette 'GNU-Octave_size_Function_Examples.Rmd' failed with diagnostics:
'"octave"' not found
--- failed re-building 'GNU-Octave_size_Function_Examples.Rmd'
--- re-building 'Open-Channel-Flow_Examples_Geometric_Shapes.Rmd' using rmarkdown
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-1'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-2'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-3'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
trying URL 'https://i.creativecommons.org/l/by-sa/4.0/88x31.png'
Content type 'image/png' length 1515 bytes
==================================================
downloaded 1515 bytes
--- finished re-building 'Open-Channel-Flow_Examples_Geometric_Shapes.Rmd'
--- re-building 'Reynolds_number_Calculation_Examples.Rmd' using rmarkdown
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-1'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-2'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-3'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-4'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
trying URL 'https://i.creativecommons.org/l/by-sa/4.0/88x31.png'
Content type 'image/png' length 1515 bytes
==================================================
downloaded 1515 bytes
--- finished re-building 'Reynolds_number_Calculation_Examples.Rmd'
--- re-building 'secprop_R_GNU-Octave_Example.Rmd' using rmarkdown
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-1'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
running: octave --eval "%
% Copyright (C) 2008 Colin Caprani - www.colincaprani.com
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
function SP = secprop(outer,inner,plotflag)
% Section Properties Calculator
% outer is a matrix of outer coordinates (x,y)
% inner is a matrix of coordinates for a void
% SP is a vector of A,I,yt and yb properties of the section
[nOC n] = size(outer); [nIC n] = size(inner);
outer(nOC+1,:) = outer(1,:);
inner(nIC+1,:) = inner(1,:);
propsOC = zeros(1,3); propsIC = propsOC;
propsOC = algor(outer);
if(nIC > 2); propsIC = algor(inner); end;
A = propsOC(1) - propsIC(1);
I = propsOC(2) - propsIC(2);
ybar = propsOC(3) - propsIC(3);
ybar = ybar/A;
I = I-A*ybar^2;
A = 2*A; I = 2*I;
yt = max(outer(:,2)) - ybar;
yb = ybar;
SP = [A,I,yt,yb]; SP = SP';
if plotflag == 1
outer(nOC+1:2*nOC-1,1) = -outer(nOC:-1:2,1);
outer(nOC+1:2*nOC-1,2) = outer(nOC:-1:2,2);
inner(nIC+1:2*nIC-1,1) = -inner(nIC:-1:2,1);
inner(nIC+1:2*nIC-1,2) = inner(nIC:-1:2,2);
h = fill(outer(:,1),outer(:,2),'r'); hold on;
fill(inner(:,1),inner(:,2),'w'); axis equal;
s1 = sprintf('Area = %d mm2 | Height to N-A = %3.1f mm',A,round(ybar*10)/10);
s2 = sprintf('Second Moment of Area = %d mm4',I);
s3 = sprintf('Elastic Moduli, t = %d mm3; b = %d mm3',I/yt,I/yb);
annotation1 = annotation('textbox',[0.15 0.12 0.4 0.14],
{s1,s2,s3});
% annotation1 line modified by Irucka Embry to avoid the error message associated with
% set: unknown hggroup property FitHeightToText
end
end
function props = algor(vc)
A = 0; ybar = 0; I = 0;
x = vc(:,1); y = vc(:,2);
n = length(x);
for i = 1:(n-1)
A = A + 0.5*(x(i)-x(i+1))*(y(i)+y(i+1));
ybar = ybar + (1/6)*(x(i)-x(i+1))*(y(i)^2 + y(i)*y(i+1) + y(i+1)^2);
I = I + (1/12)*(x(i)-x(i+1))*(y(i)^3 + y(i)^2*y(i+1)+y(i)*y(i+1)^2 + y(i+1)^3);
end
props = [A,I,ybar];
end
% check against GNU Octave
vo = [0, 0; 600, 0; 630, 580; 1200, 650; 1200, 920; 900, 920; 900, 845; 0, 845];
vi = [0, 300; 300, 300; 300, 695; 0, 695];
SP = secprop(vo, vi, 1)"
Quitting from lines 48-124 (secprop_R_GNU-Octave_Example.Rmd)
Error: processing vignette 'secprop_R_GNU-Octave_Example.Rmd' failed with diagnostics:
'"octave"' not found
--- failed re-building 'secprop_R_GNU-Octave_Example.Rmd'
SUMMARY: processing the following files failed:
'GNU-Octave_Rem_Mod_fractdiff_Examples.Rmd'
'GNU-Octave_cosd_Function_Examples.Rmd'
'GNU-Octave_size_Function_Examples.Rmd'
'secprop_R_GNU-Octave_Example.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-windows-x86_64
Version: 1.0.1
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘tinytest.R’ [1s/1s]
Running the tests in ‘tests/tinytest.R’ failed.
Last 13 lines of output:
----- FAILED[xcpt]: test_frac_to_numeric.R<22--22>
call| test_frac_to_numeric()
call| -->expect_error(frac_to_numeric(xyy))
diff| No error
----- FAILED[xcpt]: test_frac_to_numeric.R<22--22>
call| test_frac_to_numeric()
call| -->expect_error(frac_to_numeric(xft))
diff| No error
----- FAILED[xcpt]: test_frac_to_numeric.R<22--22>
call| test_frac_to_numeric()
call| -->expect_error(frac_to_numeric(xx))
diff| No error
Error: 4 out of 133 tests failed
In addition: There were 12 warnings (use warnings() to see them)
Execution halted
Flavor: r-oldrel-macos-arm64
Version: 1.0.1
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
--- re-building ‘Air_Stripper.Rmd’ using rmarkdown
trying URL 'https://i.creativecommons.org/l/by-sa/4.0/88x31.png'
Content type 'image/png' length 1515 bytes
==================================================
downloaded 1515 bytes
--- finished re-building ‘Air_Stripper.Rmd’
--- re-building ‘Comparing_Manningtrap.Rmd’ using rmarkdown
trying URL 'https://i.creativecommons.org/l/by-sa/4.0/88x31.png'
Content type 'image/png' length 1515 bytes
==================================================
downloaded 1515 bytes
--- finished re-building ‘Comparing_Manningtrap.Rmd’
--- re-building ‘Comparing_Saturated_Vapor_Pressures.Rmd’ using rmarkdown
trying URL 'https://i.creativecommons.org/l/by-sa/4.0/88x31.png'
Content type 'image/png' length 1515 bytes
==================================================
downloaded 1515 bytes
--- finished re-building ‘Comparing_Saturated_Vapor_Pressures.Rmd’
--- re-building ‘Construction_Measurement_Examples.Rmd’ using rmarkdown
trying URL 'https://i.creativecommons.org/l/by-sa/4.0/88x31.png'
Content type 'image/png' length 1515 bytes
==================================================
downloaded 1515 bytes
--- finished re-building ‘Construction_Measurement_Examples.Rmd’
--- re-building ‘Engineering_Survey_Examples.Rmd’ using rmarkdown
trying URL 'https://i.creativecommons.org/l/by-sa/4.0/88x31.png'
Content type 'image/png' length 1515 bytes
==================================================
downloaded 1515 bytes
--- finished re-building ‘Engineering_Survey_Examples.Rmd’
--- re-building ‘Friction_Loss_Calculation_Examples.Rmd’ using rmarkdown
trying URL 'https://i.creativecommons.org/l/by-sa/4.0/88x31.png'
Content type 'image/png' length 1515 bytes
==================================================
downloaded 1515 bytes
--- finished re-building ‘Friction_Loss_Calculation_Examples.Rmd’
--- re-building ‘GNU-Octave_Rem_Mod_fractdiff_Examples.Rmd’ using rmarkdown
running: octave --eval '
% check against GNU Octave
% Examples from GNU Octave
x = 23.4
y = 20
z = 0
rem(x, y)
rem(y, x)
rem(x, z)
rem(y, z)
rem(z, x)
rem(z, y)
rem(-1, 3)
% Examples from FreeMat
rem(18, 12)
rem(6, 5)
rem(2 * pi, pi)
rem([1, 3, 5, 2], 2)
rem([9 3 2 0], [1 0 2 2])'
Quitting from lines 66-103 (GNU-Octave_Rem_Mod_fractdiff_Examples.Rmd)
Error: processing vignette 'GNU-Octave_Rem_Mod_fractdiff_Examples.Rmd' failed with diagnostics:
error in running command
--- failed re-building ‘GNU-Octave_Rem_Mod_fractdiff_Examples.Rmd’
--- re-building ‘GNU-Octave_cosd_Function_Examples.Rmd’ using rmarkdown
running: octave --eval '
cosd(90)
cos(pi/2)'
Quitting from lines 65-69 (GNU-Octave_cosd_Function_Examples.Rmd)
Error: processing vignette 'GNU-Octave_cosd_Function_Examples.Rmd' failed with diagnostics:
error in running command
--- failed re-building ‘GNU-Octave_cosd_Function_Examples.Rmd’
--- re-building ‘GNU-Octave_size_Function_Examples.Rmd’ using rmarkdown
running: octave --eval "
% check against GNU Octave
% Example from GNU Octave ndims function reference
size(ones(4, 1, 2, 1))
% Examples from GNU Octave size function reference
object1 = [1, 2; 3, 4; 5, 6]
size(object1)
[nr, nc] = size([1, 2; 3, 4; 5, 6])
size([1, 2; 3, 4; 5, 6], 2)
size([1 2; 3 4; 5 6])
size([1 2; 3 4; 5 6], 2)
[nr, nc] = size([1, 2; 3, 4; 5, 6])
nr
nc
size(ones(2, 3, 4, 5))
[nr, remainder] = size(ones(2, 3, 4, 5))
nr
remainder
size(ones(4, 3, 4, 8), 4)
size(ones(4, 3, 4, 5), 3)
% Examples from pracma size
size(1:8)
object2 = [1 3 5 7; 2 4 6 8]
size(object2)
size(object2, 2)
size(object2, 3)
ss = 'object'
size(ss)"
Quitting from lines 93-148 (GNU-Octave_size_Function_Examples.Rmd)
Error: processing vignette 'GNU-Octave_size_Function_Examples.Rmd' failed with diagnostics:
error in running command
--- failed re-building ‘GNU-Octave_size_Function_Examples.Rmd’
--- re-building ‘Open-Channel-Flow_Examples_Geometric_Shapes.Rmd’ using rmarkdown
trying URL 'https://i.creativecommons.org/l/by-sa/4.0/88x31.png'
Content type 'image/png' length 1515 bytes
==================================================
downloaded 1515 bytes
--- finished re-building ‘Open-Channel-Flow_Examples_Geometric_Shapes.Rmd’
--- re-building ‘Reynolds_number_Calculation_Examples.Rmd’ using rmarkdown
trying URL 'https://i.creativecommons.org/l/by-sa/4.0/88x31.png'
Content type 'image/png' length 1515 bytes
==================================================
downloaded 1515 bytes
--- finished re-building ‘Reynolds_number_Calculation_Examples.Rmd’
--- re-building ‘secprop_R_GNU-Octave_Example.Rmd’ using rmarkdown
running: octave --eval "%
% Copyright (C) 2008 Colin Caprani - www.colincaprani.com
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
function SP = secprop(outer,inner,plotflag)
% Section Properties Calculator
% outer is a matrix of outer coordinates (x,y)
% inner is a matrix of coordinates for a void
% SP is a vector of A,I,yt and yb properties of the section
[nOC n] = size(outer); [nIC n] = size(inner);
outer(nOC+1,:) = outer(1,:);
inner(nIC+1,:) = inner(1,:);
propsOC = zeros(1,3); propsIC = propsOC;
propsOC = algor(outer);
if(nIC > 2); propsIC = algor(inner); end;
A = propsOC(1) - propsIC(1);
I = propsOC(2) - propsIC(2);
ybar = propsOC(3) - propsIC(3);
ybar = ybar/A;
I = I-A*ybar^2;
A = 2*A; I = 2*I;
yt = max(outer(:,2)) - ybar;
yb = ybar;
SP = [A,I,yt,yb]; SP = SP';
if plotflag == 1
outer(nOC+1:2*nOC-1,1) = -outer(nOC:-1:2,1);
outer(nOC+1:2*nOC-1,2) = outer(nOC:-1:2,2);
inner(nIC+1:2*nIC-1,1) = -inner(nIC:-1:2,1);
inner(nIC+1:2*nIC-1,2) = inner(nIC:-1:2,2);
h = fill(outer(:,1),outer(:,2),'r'); hold on;
fill(inner(:,1),inner(:,2),'w'); axis equal;
s1 = sprintf('Area = %d mm2 | Height to N-A = %3.1f mm',A,round(ybar*10)/10);
s2 = sprintf('Second Moment of Area = %d mm4',I);
s3 = sprintf('Elastic Moduli, t = %d mm3; b = %d mm3',I/yt,I/yb);
annotation1 = annotation('textbox',[0.15 0.12 0.4 0.14],
{s1,s2,s3});
% annotation1 line modified by Irucka Embry to avoid the error message associated with
% set: unknown hggroup property FitHeightToText
end
end
function props = algor(vc)
A = 0; ybar = 0; I = 0;
x = vc(:,1); y = vc(:,2);
n = length(x);
for i = 1:(n-1)
A = A + 0.5*(x(i)-x(i+1))*(y(i)+y(i+1));
ybar = ybar + (1/6)*(x(i)-x(i+1))*(y(i)^2 + y(i)*y(i+1) + y(i+1)^2);
I = I + (1/12)*(x(i)-x(i+1))*(y(i)^3 + y(i)^2*y(i+1)+y(i)*y(i+1)^2 + y(i+1)^3);
end
props = [A,I,ybar];
end
% check against GNU Octave
vo = [0, 0; 600, 0; 630, 580; 1200, 650; 1200, 920; 900, 920; 900, 845; 0, 845];
vi = [0, 300; 300, 300; 300, 695; 0, 695];
SP = secprop(vo, vi, 1)"
Quitting from lines 48-124 (secprop_R_GNU-Octave_Example.Rmd)
Error: processing vignette 'secprop_R_GNU-Octave_Example.Rmd' failed with diagnostics:
error in running command
--- failed re-building ‘secprop_R_GNU-Octave_Example.Rmd’
SUMMARY: processing the following files failed:
‘GNU-Octave_Rem_Mod_fractdiff_Examples.Rmd’
‘GNU-Octave_cosd_Function_Examples.Rmd’
‘GNU-Octave_size_Function_Examples.Rmd’
‘secprop_R_GNU-Octave_Example.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Version: 1.0.1
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘tinytest.R’ [2s/2s]
Running the tests in ‘tests/tinytest.R’ failed.
Last 13 lines of output:
----- FAILED[xcpt]: test_frac_to_numeric.R<22--22>
call| test_frac_to_numeric()
call| -->expect_error(frac_to_numeric(xyy))
diff| No error
----- FAILED[xcpt]: test_frac_to_numeric.R<22--22>
call| test_frac_to_numeric()
call| -->expect_error(frac_to_numeric(xft))
diff| No error
----- FAILED[xcpt]: test_frac_to_numeric.R<22--22>
call| test_frac_to_numeric()
call| -->expect_error(frac_to_numeric(xx))
diff| No error
Error: 4 out of 133 tests failed
In addition: There were 12 warnings (use warnings() to see them)
Execution halted
Flavor: r-oldrel-macos-x86_64
Version: 1.0.1
Check: whether package can be installed
Result: ERROR
install log '' does not exist
Flavor: r-oldrel-windows-ix86+x86_64