Skip to content

Commit ce12601

Browse files
committed
tinytest step five: convert dispatch, embedded, environment
1 parent d3800c2 commit ce12601

18 files changed

+510
-568
lines changed

ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
* inst/tinytest/test_client_package.R: Idem (but inactive for now)
88
* inst/tinytest/test_dataframe.R: Idem
99
* inst/tinytest/test_date.R: Idem (but condition two test sets on TZ)
10+
* inst/tinytest/test_dispatch.R: Idem
11+
* inst/tinytest/test_embedded.R: Idem
12+
* inst/tinytest/test_environments.R: Idem
1013

1114
2019-11-23 Dirk Eddelbuettel <edd@debian.org>
1215

inst/tinytest/test_algorithm.R

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
#!/usr/bin/r -t
2-
#
3-
# Copyright (C) 2010 - 2019 Dirk Eddelbuettel and Romain Francois
4-
#
5-
# This file is part of Rcpp.
6-
#
7-
# Rcpp is free software: you can redistribute it and/or modify it
8-
# under the terms of the GNU General Public License as published by
9-
# the Free Software Foundation, either version 2 of the License, or
10-
# (at your option) any later version.
11-
#
12-
# Rcpp is distributed in the hope that it will be useful, but
13-
# WITHOUT ANY WARRANTY; without even the implied warranty of
14-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
# GNU General Public License for more details.
16-
#
17-
# You should have received a copy of the GNU General Public License
18-
# along with Rcpp. If not, see <http://www.gnu.org/licenses/>.
1+
2+
## Copyright (C) 2010 - 2019 Dirk Eddelbuettel and Romain Francois
3+
##
4+
## This file is part of Rcpp.
5+
##
6+
## Rcpp is free software: you can redistribute it and/or modify it
7+
## under the terms of the GNU General Public License as published by
8+
## the Free Software Foundation, either version 2 of the License, or
9+
## (at your option) any later version.
10+
##
11+
## Rcpp is distributed in the hope that it will be useful, but
12+
## WITHOUT ANY WARRANTY; without even the implied warranty of
13+
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
## GNU General Public License for more details.
15+
##
16+
## You should have received a copy of the GNU General Public License
17+
## along with Rcpp. If not, see <http://www.gnu.org/licenses/>.
1918

2019
.runThisTest <- Sys.getenv("RunAllRcppTests") == "yes"
2120

inst/tinytest/test_as.R

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
#!/usr/bin/env r
2-
#
3-
# Copyright (C) 2010 - 2019 Dirk Eddelbuettel and Romain Francois
4-
#
5-
# This file is part of Rcpp.
6-
#
7-
# Rcpp is free software: you can redistribute it and/or modify it
8-
# under the terms of the GNU General Public License as published by
9-
# the Free Software Foundation, either version 2 of the License, or
10-
# (at your option) any later version.
11-
#
12-
# Rcpp is distributed in the hope that it will be useful, but
13-
# WITHOUT ANY WARRANTY; without even the implied warranty of
14-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
# GNU General Public License for more details.
16-
#
17-
# You should have received a copy of the GNU General Public License
18-
# along with Rcpp. If not, see <http://www.gnu.org/licenses/>.
1+
2+
## Copyright (C) 2010 - 2019 Dirk Eddelbuettel and Romain Francois
3+
##
4+
## This file is part of Rcpp.
5+
##
6+
## Rcpp is free software: you can redistribute it and/or modify it
7+
## under the terms of the GNU General Public License as published by
8+
## the Free Software Foundation, either version 2 of the License, or
9+
## (at your option) any later version.
10+
##
11+
## Rcpp is distributed in the hope that it will be useful, but
12+
## WITHOUT ANY WARRANTY; without even the implied warranty of
13+
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
## GNU General Public License for more details.
15+
##
16+
## You should have received a copy of the GNU General Public License
17+
## along with Rcpp. If not, see <http://www.gnu.org/licenses/>.
1918

2019
.runThisTest <- Sys.getenv("RunAllRcppTests") == "yes"
2120

inst/tinytest/test_attributes.R

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
1-
#!/usr/bin/env r
2-
# -*- mode: R; tab-width: 4; -*-
3-
#
4-
# Copyright (C) 2019 Dirk Eddelbuettel, Romain Francois, and Kevin Ushey
5-
#
6-
# This file is part of Rcpp.
7-
#
8-
# Rcpp is free software: you can redistribute it and/or modify it
9-
# under the terms of the GNU General Public License as published by
10-
# the Free Software Foundation, either version 2 of the License, or
11-
# (at your option) any later version.
12-
#
13-
# Rcpp is distributed in the hope that it will be useful, but
14-
# WITHOUT ANY WARRANTY; without even the implied warranty of
15-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
# GNU General Public License for more details.
17-
#
18-
# You should have received a copy of the GNU General Public License
19-
# along with Rcpp. If not, see <http://www.gnu.org/licenses/>.
1+
2+
## Copyright (C) 2019 Dirk Eddelbuettel, Romain Francois, and Kevin Ushey
3+
##
4+
## This file is part of Rcpp.
5+
##
6+
## Rcpp is free software: you can redistribute it and/or modify it
7+
## under the terms of the GNU General Public License as published by
8+
## the Free Software Foundation, either version 2 of the License, or
9+
## (at your option) any later version.
10+
##
11+
## Rcpp is distributed in the hope that it will be useful, but
12+
## WITHOUT ANY WARRANTY; without even the implied warranty of
13+
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
## GNU General Public License for more details.
15+
##
16+
## You should have received a copy of the GNU General Public License
17+
## along with Rcpp. If not, see <http://www.gnu.org/licenses/>.
2018

2119
.runThisTest <- Sys.getenv("RunAllRcppTests") == "yes"
2220

inst/tinytest/test_binary_package.R

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
#!/usr/bin/env r
2-
#
3-
# Copyright (C) 2014 - 2019 Dirk Eddelbuettel
4-
#
5-
# This file is part of Rcpp.
6-
#
7-
# Rcpp is free software: you can redistribute it and/or modify it
8-
# under the terms of the GNU General Public License as published by
9-
# the Free Software Foundation, either version 2 of the License, or
10-
# (at your option) any later version.
11-
#
12-
# Rcpp is distributed in the hope that it will be useful, but
13-
# WITHOUT ANY WARRANTY; without even the implied warranty of
14-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
# GNU General Public License for more details.
16-
#
17-
# You should have received a copy of the GNU General Public License
18-
# along with Rcpp. If not, see <http://www.gnu.org/licenses/>.
1+
2+
## Copyright (C) 2014 - 2019 Dirk Eddelbuettel
3+
##
4+
## This file is part of Rcpp.
5+
##
6+
## Rcpp is free software: you can redistribute it and/or modify it
7+
## under the terms of the GNU General Public License as published by
8+
## the Free Software Foundation, either version 2 of the License, or
9+
## (at your option) any later version.
10+
##
11+
## Rcpp is distributed in the hope that it will be useful, but
12+
## WITHOUT ANY WARRANTY; without even the implied warranty of
13+
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
## GNU General Public License for more details.
15+
##
16+
## You should have received a copy of the GNU General Public License
17+
## along with Rcpp. If not, see <http://www.gnu.org/licenses/>.
1918

2019
.onLinux <- .Platform$OS.type == "unix" && unname(Sys.info()["sysname"]) == "Linux"
2120

inst/tinytest/test_client_package.R

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
#!/usr/bin/env r
2-
#
3-
# Copyright (C) 2010 - 2019 Dirk Eddelbuettel and Romain Francois
4-
#
5-
# This file is part of Rcpp.
6-
#
7-
# Rcpp is free software: you can redistribute it and/or modify it
8-
# under the terms of the GNU General Public License as published by
9-
# the Free Software Foundation, either version 2 of the License, or
10-
# (at your option) any later version.
11-
#
12-
# Rcpp is distributed in the hope that it will be useful, but
13-
# WITHOUT ANY WARRANTY; without even the implied warranty of
14-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
# GNU General Public License for more details.
16-
#
17-
# You should have received a copy of the GNU General Public License
18-
# along with Rcpp. If not, see <http://www.gnu.org/licenses/>.
1+
2+
## Copyright (C) 2010 - 2019 Dirk Eddelbuettel and Romain Francois
3+
##
4+
## This file is part of Rcpp.
5+
##
6+
## Rcpp is free software: you can redistribute it and/or modify it
7+
## under the terms of the GNU General Public License as published by
8+
## the Free Software Foundation, either version 2 of the License, or
9+
## (at your option) any later version.
10+
##
11+
## Rcpp is distributed in the hope that it will be useful, but
12+
## WITHOUT ANY WARRANTY; without even the implied warranty of
13+
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
## GNU General Public License for more details.
15+
##
16+
## You should have received a copy of the GNU General Public License
17+
## along with Rcpp. If not, see <http://www.gnu.org/licenses/>.
1918

2019
## This now (Dec 2011) appears to fail on Windows
2120
.onWindows <- .Platform$OS.type == "windows"

0 commit comments

Comments
 (0)